{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Mpeg2FramerateConversionAlgorithm = Mpeg2FramerateConversionAlgorithm'
{ Mpeg2FramerateConversionAlgorithm -> Text
fromMpeg2FramerateConversionAlgorithm ::
Data.Text
}
deriving stock
( Int -> Mpeg2FramerateConversionAlgorithm -> ShowS
[Mpeg2FramerateConversionAlgorithm] -> ShowS
Mpeg2FramerateConversionAlgorithm -> String
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]
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
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
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
Prelude.Ord,
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
( Eq Mpeg2FramerateConversionAlgorithm
Int -> Mpeg2FramerateConversionAlgorithm -> Int
Mpeg2FramerateConversionAlgorithm -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: Mpeg2FramerateConversionAlgorithm -> ()
$crnf :: Mpeg2FramerateConversionAlgorithm -> ()
Prelude.NFData,
Text -> Either String Mpeg2FramerateConversionAlgorithm
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Mpeg2FramerateConversionAlgorithm
$cfromText :: Text -> Either String Mpeg2FramerateConversionAlgorithm
Data.FromText,
Mpeg2FramerateConversionAlgorithm -> Text
forall a. (a -> Text) -> ToText a
toText :: Mpeg2FramerateConversionAlgorithm -> Text
$ctoText :: Mpeg2FramerateConversionAlgorithm -> Text
Data.ToText,
Mpeg2FramerateConversionAlgorithm -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Mpeg2FramerateConversionAlgorithm -> ByteString
$ctoBS :: Mpeg2FramerateConversionAlgorithm -> ByteString
Data.ToByteString,
Mpeg2FramerateConversionAlgorithm -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Mpeg2FramerateConversionAlgorithm -> ByteStringBuilder
$cbuild :: Mpeg2FramerateConversionAlgorithm -> ByteStringBuilder
Data.ToLog,
HeaderName -> Mpeg2FramerateConversionAlgorithm -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Mpeg2FramerateConversionAlgorithm -> [Header]
$ctoHeader :: HeaderName -> Mpeg2FramerateConversionAlgorithm -> [Header]
Data.ToHeader,
Mpeg2FramerateConversionAlgorithm -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Mpeg2FramerateConversionAlgorithm -> QueryString
$ctoQuery :: Mpeg2FramerateConversionAlgorithm -> QueryString
Data.ToQuery,
Value -> Parser [Mpeg2FramerateConversionAlgorithm]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
FromJSONKeyFunction Mpeg2FramerateConversionAlgorithm
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
$cfromJSONKeyList :: FromJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
fromJSONKey :: FromJSONKeyFunction Mpeg2FramerateConversionAlgorithm
$cfromJSONKey :: FromJSONKeyFunction Mpeg2FramerateConversionAlgorithm
Data.FromJSONKey,
[Mpeg2FramerateConversionAlgorithm] -> Encoding
[Mpeg2FramerateConversionAlgorithm] -> Value
Mpeg2FramerateConversionAlgorithm -> Encoding
Mpeg2FramerateConversionAlgorithm -> Value
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
Data.ToJSON,
ToJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
ToJSONKeyFunction Mpeg2FramerateConversionAlgorithm
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
$ctoJSONKeyList :: ToJSONKeyFunction [Mpeg2FramerateConversionAlgorithm]
toJSONKey :: ToJSONKeyFunction Mpeg2FramerateConversionAlgorithm
$ctoJSONKey :: ToJSONKeyFunction Mpeg2FramerateConversionAlgorithm
Data.ToJSONKey,
[Node] -> Either String Mpeg2FramerateConversionAlgorithm
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Mpeg2FramerateConversionAlgorithm
$cparseXML :: [Node] -> Either String Mpeg2FramerateConversionAlgorithm
Data.FromXML,
Mpeg2FramerateConversionAlgorithm -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Mpeg2FramerateConversionAlgorithm -> XML
$ctoXML :: Mpeg2FramerateConversionAlgorithm -> XML
Data.ToXML
)
pattern Mpeg2FramerateConversionAlgorithm_DUPLICATE_DROP :: Mpeg2FramerateConversionAlgorithm
pattern $bMpeg2FramerateConversionAlgorithm_DUPLICATE_DROP :: Mpeg2FramerateConversionAlgorithm
$mMpeg2FramerateConversionAlgorithm_DUPLICATE_DROP :: forall {r}.
Mpeg2FramerateConversionAlgorithm
-> ((# #) -> r) -> ((# #) -> r) -> r
Mpeg2FramerateConversionAlgorithm_DUPLICATE_DROP = Mpeg2FramerateConversionAlgorithm' "DUPLICATE_DROP"
pattern Mpeg2FramerateConversionAlgorithm_FRAMEFORMER :: Mpeg2FramerateConversionAlgorithm
pattern $bMpeg2FramerateConversionAlgorithm_FRAMEFORMER :: Mpeg2FramerateConversionAlgorithm
$mMpeg2FramerateConversionAlgorithm_FRAMEFORMER :: forall {r}.
Mpeg2FramerateConversionAlgorithm
-> ((# #) -> r) -> ((# #) -> r) -> r
Mpeg2FramerateConversionAlgorithm_FRAMEFORMER = Mpeg2FramerateConversionAlgorithm' "FRAMEFORMER"
pattern Mpeg2FramerateConversionAlgorithm_INTERPOLATE :: Mpeg2FramerateConversionAlgorithm
pattern $bMpeg2FramerateConversionAlgorithm_INTERPOLATE :: Mpeg2FramerateConversionAlgorithm
$mMpeg2FramerateConversionAlgorithm_INTERPOLATE :: forall {r}.
Mpeg2FramerateConversionAlgorithm
-> ((# #) -> r) -> ((# #) -> r) -> r
Mpeg2FramerateConversionAlgorithm_INTERPOLATE = Mpeg2FramerateConversionAlgorithm' "INTERPOLATE"
{-# COMPLETE
Mpeg2FramerateConversionAlgorithm_DUPLICATE_DROP,
Mpeg2FramerateConversionAlgorithm_FRAMEFORMER,
Mpeg2FramerateConversionAlgorithm_INTERPOLATE,
Mpeg2FramerateConversionAlgorithm'
#-}