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