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