{-# 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.H264SubGopLength
( H264SubGopLength
( ..,
H264SubGopLength_DYNAMIC,
H264SubGopLength_FIXED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype H264SubGopLength = H264SubGopLength'
{ H264SubGopLength -> Text
fromH264SubGopLength ::
Data.Text
}
deriving stock
( Int -> H264SubGopLength -> ShowS
[H264SubGopLength] -> ShowS
H264SubGopLength -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [H264SubGopLength] -> ShowS
$cshowList :: [H264SubGopLength] -> ShowS
show :: H264SubGopLength -> String
$cshow :: H264SubGopLength -> String
showsPrec :: Int -> H264SubGopLength -> ShowS
$cshowsPrec :: Int -> H264SubGopLength -> ShowS
Prelude.Show,
ReadPrec [H264SubGopLength]
ReadPrec H264SubGopLength
Int -> ReadS H264SubGopLength
ReadS [H264SubGopLength]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [H264SubGopLength]
$creadListPrec :: ReadPrec [H264SubGopLength]
readPrec :: ReadPrec H264SubGopLength
$creadPrec :: ReadPrec H264SubGopLength
readList :: ReadS [H264SubGopLength]
$creadList :: ReadS [H264SubGopLength]
readsPrec :: Int -> ReadS H264SubGopLength
$creadsPrec :: Int -> ReadS H264SubGopLength
Prelude.Read,
H264SubGopLength -> H264SubGopLength -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: H264SubGopLength -> H264SubGopLength -> Bool
$c/= :: H264SubGopLength -> H264SubGopLength -> Bool
== :: H264SubGopLength -> H264SubGopLength -> Bool
$c== :: H264SubGopLength -> H264SubGopLength -> Bool
Prelude.Eq,
Eq H264SubGopLength
H264SubGopLength -> H264SubGopLength -> Bool
H264SubGopLength -> H264SubGopLength -> Ordering
H264SubGopLength -> H264SubGopLength -> H264SubGopLength
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 :: H264SubGopLength -> H264SubGopLength -> H264SubGopLength
$cmin :: H264SubGopLength -> H264SubGopLength -> H264SubGopLength
max :: H264SubGopLength -> H264SubGopLength -> H264SubGopLength
$cmax :: H264SubGopLength -> H264SubGopLength -> H264SubGopLength
>= :: H264SubGopLength -> H264SubGopLength -> Bool
$c>= :: H264SubGopLength -> H264SubGopLength -> Bool
> :: H264SubGopLength -> H264SubGopLength -> Bool
$c> :: H264SubGopLength -> H264SubGopLength -> Bool
<= :: H264SubGopLength -> H264SubGopLength -> Bool
$c<= :: H264SubGopLength -> H264SubGopLength -> Bool
< :: H264SubGopLength -> H264SubGopLength -> Bool
$c< :: H264SubGopLength -> H264SubGopLength -> Bool
compare :: H264SubGopLength -> H264SubGopLength -> Ordering
$ccompare :: H264SubGopLength -> H264SubGopLength -> Ordering
Prelude.Ord,
forall x. Rep H264SubGopLength x -> H264SubGopLength
forall x. H264SubGopLength -> Rep H264SubGopLength x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep H264SubGopLength x -> H264SubGopLength
$cfrom :: forall x. H264SubGopLength -> Rep H264SubGopLength x
Prelude.Generic
)
deriving newtype
( Eq H264SubGopLength
Int -> H264SubGopLength -> Int
H264SubGopLength -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: H264SubGopLength -> Int
$chash :: H264SubGopLength -> Int
hashWithSalt :: Int -> H264SubGopLength -> Int
$chashWithSalt :: Int -> H264SubGopLength -> Int
Prelude.Hashable,
H264SubGopLength -> ()
forall a. (a -> ()) -> NFData a
rnf :: H264SubGopLength -> ()
$crnf :: H264SubGopLength -> ()
Prelude.NFData,
Text -> Either String H264SubGopLength
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264SubGopLength
$cfromText :: Text -> Either String H264SubGopLength
Data.FromText,
H264SubGopLength -> Text
forall a. (a -> Text) -> ToText a
toText :: H264SubGopLength -> Text
$ctoText :: H264SubGopLength -> Text
Data.ToText,
H264SubGopLength -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264SubGopLength -> ByteString
$ctoBS :: H264SubGopLength -> ByteString
Data.ToByteString,
H264SubGopLength -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264SubGopLength -> ByteStringBuilder
$cbuild :: H264SubGopLength -> ByteStringBuilder
Data.ToLog,
HeaderName -> H264SubGopLength -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264SubGopLength -> [Header]
$ctoHeader :: HeaderName -> H264SubGopLength -> [Header]
Data.ToHeader,
H264SubGopLength -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264SubGopLength -> QueryString
$ctoQuery :: H264SubGopLength -> QueryString
Data.ToQuery,
Value -> Parser [H264SubGopLength]
Value -> Parser H264SubGopLength
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [H264SubGopLength]
$cparseJSONList :: Value -> Parser [H264SubGopLength]
parseJSON :: Value -> Parser H264SubGopLength
$cparseJSON :: Value -> Parser H264SubGopLength
Data.FromJSON,
FromJSONKeyFunction [H264SubGopLength]
FromJSONKeyFunction H264SubGopLength
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264SubGopLength]
$cfromJSONKeyList :: FromJSONKeyFunction [H264SubGopLength]
fromJSONKey :: FromJSONKeyFunction H264SubGopLength
$cfromJSONKey :: FromJSONKeyFunction H264SubGopLength
Data.FromJSONKey,
[H264SubGopLength] -> Encoding
[H264SubGopLength] -> Value
H264SubGopLength -> Encoding
H264SubGopLength -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [H264SubGopLength] -> Encoding
$ctoEncodingList :: [H264SubGopLength] -> Encoding
toJSONList :: [H264SubGopLength] -> Value
$ctoJSONList :: [H264SubGopLength] -> Value
toEncoding :: H264SubGopLength -> Encoding
$ctoEncoding :: H264SubGopLength -> Encoding
toJSON :: H264SubGopLength -> Value
$ctoJSON :: H264SubGopLength -> Value
Data.ToJSON,
ToJSONKeyFunction [H264SubGopLength]
ToJSONKeyFunction H264SubGopLength
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264SubGopLength]
$ctoJSONKeyList :: ToJSONKeyFunction [H264SubGopLength]
toJSONKey :: ToJSONKeyFunction H264SubGopLength
$ctoJSONKey :: ToJSONKeyFunction H264SubGopLength
Data.ToJSONKey,
[Node] -> Either String H264SubGopLength
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264SubGopLength
$cparseXML :: [Node] -> Either String H264SubGopLength
Data.FromXML,
H264SubGopLength -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H264SubGopLength -> XML
$ctoXML :: H264SubGopLength -> XML
Data.ToXML
)
pattern H264SubGopLength_DYNAMIC :: H264SubGopLength
pattern $bH264SubGopLength_DYNAMIC :: H264SubGopLength
$mH264SubGopLength_DYNAMIC :: forall {r}. H264SubGopLength -> ((# #) -> r) -> ((# #) -> r) -> r
H264SubGopLength_DYNAMIC = H264SubGopLength' "DYNAMIC"
pattern H264SubGopLength_FIXED :: H264SubGopLength
pattern $bH264SubGopLength_FIXED :: H264SubGopLength
$mH264SubGopLength_FIXED :: forall {r}. H264SubGopLength -> ((# #) -> r) -> ((# #) -> r) -> r
H264SubGopLength_FIXED = H264SubGopLength' "FIXED"
{-# COMPLETE
H264SubGopLength_DYNAMIC,
H264SubGopLength_FIXED,
H264SubGopLength'
#-}