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