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