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