{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.H264Syntax
( H264Syntax
( ..,
H264Syntax_DEFAULT,
H264Syntax_RP2027
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype H264Syntax = H264Syntax'
{ H264Syntax -> Text
fromH264Syntax ::
Data.Text
}
deriving stock
( Int -> H264Syntax -> ShowS
[H264Syntax] -> ShowS
H264Syntax -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H264Syntax] -> ShowS
$cshowList :: [H264Syntax] -> ShowS
show :: H264Syntax -> String
$cshow :: H264Syntax -> String
showsPrec :: Int -> H264Syntax -> ShowS
$cshowsPrec :: Int -> H264Syntax -> ShowS
Prelude.Show,
ReadPrec [H264Syntax]
ReadPrec H264Syntax
Int -> ReadS H264Syntax
ReadS [H264Syntax]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H264Syntax]
$creadListPrec :: ReadPrec [H264Syntax]
readPrec :: ReadPrec H264Syntax
$creadPrec :: ReadPrec H264Syntax
readList :: ReadS [H264Syntax]
$creadList :: ReadS [H264Syntax]
readsPrec :: Int -> ReadS H264Syntax
$creadsPrec :: Int -> ReadS H264Syntax
Prelude.Read,
H264Syntax -> H264Syntax -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H264Syntax -> H264Syntax -> Bool
$c/= :: H264Syntax -> H264Syntax -> Bool
== :: H264Syntax -> H264Syntax -> Bool
$c== :: H264Syntax -> H264Syntax -> Bool
Prelude.Eq,
Eq H264Syntax
H264Syntax -> H264Syntax -> Bool
H264Syntax -> H264Syntax -> Ordering
H264Syntax -> H264Syntax -> H264Syntax
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: H264Syntax -> H264Syntax -> H264Syntax
$cmin :: H264Syntax -> H264Syntax -> H264Syntax
max :: H264Syntax -> H264Syntax -> H264Syntax
$cmax :: H264Syntax -> H264Syntax -> H264Syntax
>= :: H264Syntax -> H264Syntax -> Bool
$c>= :: H264Syntax -> H264Syntax -> Bool
> :: H264Syntax -> H264Syntax -> Bool
$c> :: H264Syntax -> H264Syntax -> Bool
<= :: H264Syntax -> H264Syntax -> Bool
$c<= :: H264Syntax -> H264Syntax -> Bool
< :: H264Syntax -> H264Syntax -> Bool
$c< :: H264Syntax -> H264Syntax -> Bool
compare :: H264Syntax -> H264Syntax -> Ordering
$ccompare :: H264Syntax -> H264Syntax -> Ordering
Prelude.Ord,
forall x. Rep H264Syntax x -> H264Syntax
forall x. H264Syntax -> Rep H264Syntax x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H264Syntax x -> H264Syntax
$cfrom :: forall x. H264Syntax -> Rep H264Syntax x
Prelude.Generic
)
deriving newtype
( Eq H264Syntax
Int -> H264Syntax -> Int
H264Syntax -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H264Syntax -> Int
$chash :: H264Syntax -> Int
hashWithSalt :: Int -> H264Syntax -> Int
$chashWithSalt :: Int -> H264Syntax -> Int
Prelude.Hashable,
H264Syntax -> ()
forall a. (a -> ()) -> NFData a
rnf :: H264Syntax -> ()
$crnf :: H264Syntax -> ()
Prelude.NFData,
Text -> Either String H264Syntax
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264Syntax
$cfromText :: Text -> Either String H264Syntax
Data.FromText,
H264Syntax -> Text
forall a. (a -> Text) -> ToText a
toText :: H264Syntax -> Text
$ctoText :: H264Syntax -> Text
Data.ToText,
H264Syntax -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264Syntax -> ByteString
$ctoBS :: H264Syntax -> ByteString
Data.ToByteString,
H264Syntax -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264Syntax -> ByteStringBuilder
$cbuild :: H264Syntax -> ByteStringBuilder
Data.ToLog,
HeaderName -> H264Syntax -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264Syntax -> [Header]
$ctoHeader :: HeaderName -> H264Syntax -> [Header]
Data.ToHeader,
H264Syntax -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264Syntax -> QueryString
$ctoQuery :: H264Syntax -> QueryString
Data.ToQuery,
Value -> Parser [H264Syntax]
Value -> Parser H264Syntax
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H264Syntax]
$cparseJSONList :: Value -> Parser [H264Syntax]
parseJSON :: Value -> Parser H264Syntax
$cparseJSON :: Value -> Parser H264Syntax
Data.FromJSON,
FromJSONKeyFunction [H264Syntax]
FromJSONKeyFunction H264Syntax
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264Syntax]
$cfromJSONKeyList :: FromJSONKeyFunction [H264Syntax]
fromJSONKey :: FromJSONKeyFunction H264Syntax
$cfromJSONKey :: FromJSONKeyFunction H264Syntax
Data.FromJSONKey,
[H264Syntax] -> Encoding
[H264Syntax] -> Value
H264Syntax -> Encoding
H264Syntax -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H264Syntax] -> Encoding
$ctoEncodingList :: [H264Syntax] -> Encoding
toJSONList :: [H264Syntax] -> Value
$ctoJSONList :: [H264Syntax] -> Value
toEncoding :: H264Syntax -> Encoding
$ctoEncoding :: H264Syntax -> Encoding
toJSON :: H264Syntax -> Value
$ctoJSON :: H264Syntax -> Value
Data.ToJSON,
ToJSONKeyFunction [H264Syntax]
ToJSONKeyFunction H264Syntax
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264Syntax]
$ctoJSONKeyList :: ToJSONKeyFunction [H264Syntax]
toJSONKey :: ToJSONKeyFunction H264Syntax
$ctoJSONKey :: ToJSONKeyFunction H264Syntax
Data.ToJSONKey,
[Node] -> Either String H264Syntax
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264Syntax
$cparseXML :: [Node] -> Either String H264Syntax
Data.FromXML,
H264Syntax -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H264Syntax -> XML
$ctoXML :: H264Syntax -> XML
Data.ToXML
)
pattern H264Syntax_DEFAULT :: H264Syntax
pattern $bH264Syntax_DEFAULT :: H264Syntax
$mH264Syntax_DEFAULT :: forall {r}. H264Syntax -> ((# #) -> r) -> ((# #) -> r) -> r
H264Syntax_DEFAULT = H264Syntax' "DEFAULT"
pattern H264Syntax_RP2027 :: H264Syntax
pattern $bH264Syntax_RP2027 :: H264Syntax
$mH264Syntax_RP2027 :: forall {r}. H264Syntax -> ((# #) -> r) -> ((# #) -> r) -> r
H264Syntax_RP2027 = H264Syntax' "RP2027"
{-# COMPLETE
H264Syntax_DEFAULT,
H264Syntax_RP2027,
H264Syntax'
#-}