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