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