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