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