{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype H264ForceFieldPictures = H264ForceFieldPictures'
{ H264ForceFieldPictures -> Text
fromH264ForceFieldPictures ::
Data.Text
}
deriving stock
( Int -> H264ForceFieldPictures -> ShowS
[H264ForceFieldPictures] -> ShowS
H264ForceFieldPictures -> String
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]
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
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
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
Prelude.Ord,
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
( Eq H264ForceFieldPictures
Int -> H264ForceFieldPictures -> Int
H264ForceFieldPictures -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: H264ForceFieldPictures -> ()
$crnf :: H264ForceFieldPictures -> ()
Prelude.NFData,
Text -> Either String H264ForceFieldPictures
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264ForceFieldPictures
$cfromText :: Text -> Either String H264ForceFieldPictures
Data.FromText,
H264ForceFieldPictures -> Text
forall a. (a -> Text) -> ToText a
toText :: H264ForceFieldPictures -> Text
$ctoText :: H264ForceFieldPictures -> Text
Data.ToText,
H264ForceFieldPictures -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264ForceFieldPictures -> ByteString
$ctoBS :: H264ForceFieldPictures -> ByteString
Data.ToByteString,
H264ForceFieldPictures -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264ForceFieldPictures -> ByteStringBuilder
$cbuild :: H264ForceFieldPictures -> ByteStringBuilder
Data.ToLog,
HeaderName -> H264ForceFieldPictures -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264ForceFieldPictures -> [Header]
$ctoHeader :: HeaderName -> H264ForceFieldPictures -> [Header]
Data.ToHeader,
H264ForceFieldPictures -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264ForceFieldPictures -> QueryString
$ctoQuery :: H264ForceFieldPictures -> QueryString
Data.ToQuery,
Value -> Parser [H264ForceFieldPictures]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [H264ForceFieldPictures]
FromJSONKeyFunction H264ForceFieldPictures
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264ForceFieldPictures]
$cfromJSONKeyList :: FromJSONKeyFunction [H264ForceFieldPictures]
fromJSONKey :: FromJSONKeyFunction H264ForceFieldPictures
$cfromJSONKey :: FromJSONKeyFunction H264ForceFieldPictures
Data.FromJSONKey,
[H264ForceFieldPictures] -> Encoding
[H264ForceFieldPictures] -> Value
H264ForceFieldPictures -> Encoding
H264ForceFieldPictures -> Value
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
Data.ToJSON,
ToJSONKeyFunction [H264ForceFieldPictures]
ToJSONKeyFunction H264ForceFieldPictures
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264ForceFieldPictures]
$ctoJSONKeyList :: ToJSONKeyFunction [H264ForceFieldPictures]
toJSONKey :: ToJSONKeyFunction H264ForceFieldPictures
$ctoJSONKey :: ToJSONKeyFunction H264ForceFieldPictures
Data.ToJSONKey,
[Node] -> Either String H264ForceFieldPictures
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264ForceFieldPictures
$cparseXML :: [Node] -> Either String H264ForceFieldPictures
Data.FromXML,
H264ForceFieldPictures -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H264ForceFieldPictures -> XML
$ctoXML :: H264ForceFieldPictures -> XML
Data.ToXML
)
pattern H264ForceFieldPictures_DISABLED :: H264ForceFieldPictures
pattern $bH264ForceFieldPictures_DISABLED :: H264ForceFieldPictures
$mH264ForceFieldPictures_DISABLED :: forall {r}.
H264ForceFieldPictures -> ((# #) -> r) -> ((# #) -> r) -> r
H264ForceFieldPictures_DISABLED = H264ForceFieldPictures' "DISABLED"
pattern H264ForceFieldPictures_ENABLED :: H264ForceFieldPictures
pattern $bH264ForceFieldPictures_ENABLED :: H264ForceFieldPictures
$mH264ForceFieldPictures_ENABLED :: forall {r}.
H264ForceFieldPictures -> ((# #) -> r) -> ((# #) -> r) -> r
H264ForceFieldPictures_ENABLED = H264ForceFieldPictures' "ENABLED"
{-# COMPLETE
H264ForceFieldPictures_DISABLED,
H264ForceFieldPictures_ENABLED,
H264ForceFieldPictures'
#-}