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