{-# 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.XavcAdaptiveQuantization
( XavcAdaptiveQuantization
( ..,
XavcAdaptiveQuantization_AUTO,
XavcAdaptiveQuantization_HIGH,
XavcAdaptiveQuantization_HIGHER,
XavcAdaptiveQuantization_LOW,
XavcAdaptiveQuantization_MAX,
XavcAdaptiveQuantization_MEDIUM,
XavcAdaptiveQuantization_OFF
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype XavcAdaptiveQuantization = XavcAdaptiveQuantization'
{ XavcAdaptiveQuantization -> Text
fromXavcAdaptiveQuantization ::
Data.Text
}
deriving stock
( Int -> XavcAdaptiveQuantization -> ShowS
[XavcAdaptiveQuantization] -> ShowS
XavcAdaptiveQuantization -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [XavcAdaptiveQuantization] -> ShowS
$cshowList :: [XavcAdaptiveQuantization] -> ShowS
show :: XavcAdaptiveQuantization -> String
$cshow :: XavcAdaptiveQuantization -> String
showsPrec :: Int -> XavcAdaptiveQuantization -> ShowS
$cshowsPrec :: Int -> XavcAdaptiveQuantization -> ShowS
Prelude.Show,
ReadPrec [XavcAdaptiveQuantization]
ReadPrec XavcAdaptiveQuantization
Int -> ReadS XavcAdaptiveQuantization
ReadS [XavcAdaptiveQuantization]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [XavcAdaptiveQuantization]
$creadListPrec :: ReadPrec [XavcAdaptiveQuantization]
readPrec :: ReadPrec XavcAdaptiveQuantization
$creadPrec :: ReadPrec XavcAdaptiveQuantization
readList :: ReadS [XavcAdaptiveQuantization]
$creadList :: ReadS [XavcAdaptiveQuantization]
readsPrec :: Int -> ReadS XavcAdaptiveQuantization
$creadsPrec :: Int -> ReadS XavcAdaptiveQuantization
Prelude.Read,
XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c/= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
== :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c== :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
Prelude.Eq,
Eq XavcAdaptiveQuantization
XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Ordering
XavcAdaptiveQuantization
-> XavcAdaptiveQuantization -> XavcAdaptiveQuantization
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 :: XavcAdaptiveQuantization
-> XavcAdaptiveQuantization -> XavcAdaptiveQuantization
$cmin :: XavcAdaptiveQuantization
-> XavcAdaptiveQuantization -> XavcAdaptiveQuantization
max :: XavcAdaptiveQuantization
-> XavcAdaptiveQuantization -> XavcAdaptiveQuantization
$cmax :: XavcAdaptiveQuantization
-> XavcAdaptiveQuantization -> XavcAdaptiveQuantization
>= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c>= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
> :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c> :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
<= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c<= :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
< :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
$c< :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Bool
compare :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Ordering
$ccompare :: XavcAdaptiveQuantization -> XavcAdaptiveQuantization -> Ordering
Prelude.Ord,
forall x.
Rep XavcAdaptiveQuantization x -> XavcAdaptiveQuantization
forall x.
XavcAdaptiveQuantization -> Rep XavcAdaptiveQuantization x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep XavcAdaptiveQuantization x -> XavcAdaptiveQuantization
$cfrom :: forall x.
XavcAdaptiveQuantization -> Rep XavcAdaptiveQuantization x
Prelude.Generic
)
deriving newtype
( Eq XavcAdaptiveQuantization
Int -> XavcAdaptiveQuantization -> Int
XavcAdaptiveQuantization -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: XavcAdaptiveQuantization -> Int
$chash :: XavcAdaptiveQuantization -> Int
hashWithSalt :: Int -> XavcAdaptiveQuantization -> Int
$chashWithSalt :: Int -> XavcAdaptiveQuantization -> Int
Prelude.Hashable,
XavcAdaptiveQuantization -> ()
forall a. (a -> ()) -> NFData a
rnf :: XavcAdaptiveQuantization -> ()
$crnf :: XavcAdaptiveQuantization -> ()
Prelude.NFData,
Text -> Either String XavcAdaptiveQuantization
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String XavcAdaptiveQuantization
$cfromText :: Text -> Either String XavcAdaptiveQuantization
Data.FromText,
XavcAdaptiveQuantization -> Text
forall a. (a -> Text) -> ToText a
toText :: XavcAdaptiveQuantization -> Text
$ctoText :: XavcAdaptiveQuantization -> Text
Data.ToText,
XavcAdaptiveQuantization -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: XavcAdaptiveQuantization -> ByteString
$ctoBS :: XavcAdaptiveQuantization -> ByteString
Data.ToByteString,
XavcAdaptiveQuantization -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: XavcAdaptiveQuantization -> ByteStringBuilder
$cbuild :: XavcAdaptiveQuantization -> ByteStringBuilder
Data.ToLog,
HeaderName -> XavcAdaptiveQuantization -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> XavcAdaptiveQuantization -> [Header]
$ctoHeader :: HeaderName -> XavcAdaptiveQuantization -> [Header]
Data.ToHeader,
XavcAdaptiveQuantization -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: XavcAdaptiveQuantization -> QueryString
$ctoQuery :: XavcAdaptiveQuantization -> QueryString
Data.ToQuery,
Value -> Parser [XavcAdaptiveQuantization]
Value -> Parser XavcAdaptiveQuantization
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [XavcAdaptiveQuantization]
$cparseJSONList :: Value -> Parser [XavcAdaptiveQuantization]
parseJSON :: Value -> Parser XavcAdaptiveQuantization
$cparseJSON :: Value -> Parser XavcAdaptiveQuantization
Data.FromJSON,
FromJSONKeyFunction [XavcAdaptiveQuantization]
FromJSONKeyFunction XavcAdaptiveQuantization
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [XavcAdaptiveQuantization]
$cfromJSONKeyList :: FromJSONKeyFunction [XavcAdaptiveQuantization]
fromJSONKey :: FromJSONKeyFunction XavcAdaptiveQuantization
$cfromJSONKey :: FromJSONKeyFunction XavcAdaptiveQuantization
Data.FromJSONKey,
[XavcAdaptiveQuantization] -> Encoding
[XavcAdaptiveQuantization] -> Value
XavcAdaptiveQuantization -> Encoding
XavcAdaptiveQuantization -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [XavcAdaptiveQuantization] -> Encoding
$ctoEncodingList :: [XavcAdaptiveQuantization] -> Encoding
toJSONList :: [XavcAdaptiveQuantization] -> Value
$ctoJSONList :: [XavcAdaptiveQuantization] -> Value
toEncoding :: XavcAdaptiveQuantization -> Encoding
$ctoEncoding :: XavcAdaptiveQuantization -> Encoding
toJSON :: XavcAdaptiveQuantization -> Value
$ctoJSON :: XavcAdaptiveQuantization -> Value
Data.ToJSON,
ToJSONKeyFunction [XavcAdaptiveQuantization]
ToJSONKeyFunction XavcAdaptiveQuantization
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [XavcAdaptiveQuantization]
$ctoJSONKeyList :: ToJSONKeyFunction [XavcAdaptiveQuantization]
toJSONKey :: ToJSONKeyFunction XavcAdaptiveQuantization
$ctoJSONKey :: ToJSONKeyFunction XavcAdaptiveQuantization
Data.ToJSONKey,
[Node] -> Either String XavcAdaptiveQuantization
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String XavcAdaptiveQuantization
$cparseXML :: [Node] -> Either String XavcAdaptiveQuantization
Data.FromXML,
XavcAdaptiveQuantization -> XML
forall a. (a -> XML) -> ToXML a
toXML :: XavcAdaptiveQuantization -> XML
$ctoXML :: XavcAdaptiveQuantization -> XML
Data.ToXML
)
pattern XavcAdaptiveQuantization_AUTO :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_AUTO :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_AUTO :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_AUTO = XavcAdaptiveQuantization' "AUTO"
pattern XavcAdaptiveQuantization_HIGH :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_HIGH :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_HIGH :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_HIGH = XavcAdaptiveQuantization' "HIGH"
pattern XavcAdaptiveQuantization_HIGHER :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_HIGHER :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_HIGHER :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_HIGHER = XavcAdaptiveQuantization' "HIGHER"
pattern XavcAdaptiveQuantization_LOW :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_LOW :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_LOW :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_LOW = XavcAdaptiveQuantization' "LOW"
pattern XavcAdaptiveQuantization_MAX :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_MAX :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_MAX :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_MAX = XavcAdaptiveQuantization' "MAX"
pattern XavcAdaptiveQuantization_MEDIUM :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_MEDIUM :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_MEDIUM :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_MEDIUM = XavcAdaptiveQuantization' "MEDIUM"
pattern XavcAdaptiveQuantization_OFF :: XavcAdaptiveQuantization
pattern $bXavcAdaptiveQuantization_OFF :: XavcAdaptiveQuantization
$mXavcAdaptiveQuantization_OFF :: forall {r}.
XavcAdaptiveQuantization -> ((# #) -> r) -> ((# #) -> r) -> r
XavcAdaptiveQuantization_OFF = XavcAdaptiveQuantization' "OFF"
{-# COMPLETE
XavcAdaptiveQuantization_AUTO,
XavcAdaptiveQuantization_HIGH,
XavcAdaptiveQuantization_HIGHER,
XavcAdaptiveQuantization_LOW,
XavcAdaptiveQuantization_MAX,
XavcAdaptiveQuantization_MEDIUM,
XavcAdaptiveQuantization_OFF,
XavcAdaptiveQuantization'
#-}