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