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