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