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