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