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