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