{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaLive.Types.Mpeg2ScanType
( Mpeg2ScanType
( ..,
Mpeg2ScanType_INTERLACED,
Mpeg2ScanType_PROGRESSIVE
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype Mpeg2ScanType = Mpeg2ScanType'
{ Mpeg2ScanType -> Text
fromMpeg2ScanType ::
Data.Text
}
deriving stock
( Int -> Mpeg2ScanType -> ShowS
[Mpeg2ScanType] -> ShowS
Mpeg2ScanType -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Mpeg2ScanType] -> ShowS
$cshowList :: [Mpeg2ScanType] -> ShowS
show :: Mpeg2ScanType -> String
$cshow :: Mpeg2ScanType -> String
showsPrec :: Int -> Mpeg2ScanType -> ShowS
$cshowsPrec :: Int -> Mpeg2ScanType -> ShowS
Prelude.Show,
ReadPrec [Mpeg2ScanType]
ReadPrec Mpeg2ScanType
Int -> ReadS Mpeg2ScanType
ReadS [Mpeg2ScanType]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Mpeg2ScanType]
$creadListPrec :: ReadPrec [Mpeg2ScanType]
readPrec :: ReadPrec Mpeg2ScanType
$creadPrec :: ReadPrec Mpeg2ScanType
readList :: ReadS [Mpeg2ScanType]
$creadList :: ReadS [Mpeg2ScanType]
readsPrec :: Int -> ReadS Mpeg2ScanType
$creadsPrec :: Int -> ReadS Mpeg2ScanType
Prelude.Read,
Mpeg2ScanType -> Mpeg2ScanType -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c/= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
== :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c== :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
Prelude.Eq,
Eq Mpeg2ScanType
Mpeg2ScanType -> Mpeg2ScanType -> Bool
Mpeg2ScanType -> Mpeg2ScanType -> Ordering
Mpeg2ScanType -> Mpeg2ScanType -> Mpeg2ScanType
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 :: Mpeg2ScanType -> Mpeg2ScanType -> Mpeg2ScanType
$cmin :: Mpeg2ScanType -> Mpeg2ScanType -> Mpeg2ScanType
max :: Mpeg2ScanType -> Mpeg2ScanType -> Mpeg2ScanType
$cmax :: Mpeg2ScanType -> Mpeg2ScanType -> Mpeg2ScanType
>= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c>= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
> :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c> :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
<= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c<= :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
< :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
$c< :: Mpeg2ScanType -> Mpeg2ScanType -> Bool
compare :: Mpeg2ScanType -> Mpeg2ScanType -> Ordering
$ccompare :: Mpeg2ScanType -> Mpeg2ScanType -> Ordering
Prelude.Ord,
forall x. Rep Mpeg2ScanType x -> Mpeg2ScanType
forall x. Mpeg2ScanType -> Rep Mpeg2ScanType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Mpeg2ScanType x -> Mpeg2ScanType
$cfrom :: forall x. Mpeg2ScanType -> Rep Mpeg2ScanType x
Prelude.Generic
)
deriving newtype
( Eq Mpeg2ScanType
Int -> Mpeg2ScanType -> Int
Mpeg2ScanType -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Mpeg2ScanType -> Int
$chash :: Mpeg2ScanType -> Int
hashWithSalt :: Int -> Mpeg2ScanType -> Int
$chashWithSalt :: Int -> Mpeg2ScanType -> Int
Prelude.Hashable,
Mpeg2ScanType -> ()
forall a. (a -> ()) -> NFData a
rnf :: Mpeg2ScanType -> ()
$crnf :: Mpeg2ScanType -> ()
Prelude.NFData,
Text -> Either String Mpeg2ScanType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Mpeg2ScanType
$cfromText :: Text -> Either String Mpeg2ScanType
Data.FromText,
Mpeg2ScanType -> Text
forall a. (a -> Text) -> ToText a
toText :: Mpeg2ScanType -> Text
$ctoText :: Mpeg2ScanType -> Text
Data.ToText,
Mpeg2ScanType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Mpeg2ScanType -> ByteString
$ctoBS :: Mpeg2ScanType -> ByteString
Data.ToByteString,
Mpeg2ScanType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Mpeg2ScanType -> ByteStringBuilder
$cbuild :: Mpeg2ScanType -> ByteStringBuilder
Data.ToLog,
HeaderName -> Mpeg2ScanType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Mpeg2ScanType -> [Header]
$ctoHeader :: HeaderName -> Mpeg2ScanType -> [Header]
Data.ToHeader,
Mpeg2ScanType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Mpeg2ScanType -> QueryString
$ctoQuery :: Mpeg2ScanType -> QueryString
Data.ToQuery,
Value -> Parser [Mpeg2ScanType]
Value -> Parser Mpeg2ScanType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Mpeg2ScanType]
$cparseJSONList :: Value -> Parser [Mpeg2ScanType]
parseJSON :: Value -> Parser Mpeg2ScanType
$cparseJSON :: Value -> Parser Mpeg2ScanType
Data.FromJSON,
FromJSONKeyFunction [Mpeg2ScanType]
FromJSONKeyFunction Mpeg2ScanType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Mpeg2ScanType]
$cfromJSONKeyList :: FromJSONKeyFunction [Mpeg2ScanType]
fromJSONKey :: FromJSONKeyFunction Mpeg2ScanType
$cfromJSONKey :: FromJSONKeyFunction Mpeg2ScanType
Data.FromJSONKey,
[Mpeg2ScanType] -> Encoding
[Mpeg2ScanType] -> Value
Mpeg2ScanType -> Encoding
Mpeg2ScanType -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Mpeg2ScanType] -> Encoding
$ctoEncodingList :: [Mpeg2ScanType] -> Encoding
toJSONList :: [Mpeg2ScanType] -> Value
$ctoJSONList :: [Mpeg2ScanType] -> Value
toEncoding :: Mpeg2ScanType -> Encoding
$ctoEncoding :: Mpeg2ScanType -> Encoding
toJSON :: Mpeg2ScanType -> Value
$ctoJSON :: Mpeg2ScanType -> Value
Data.ToJSON,
ToJSONKeyFunction [Mpeg2ScanType]
ToJSONKeyFunction Mpeg2ScanType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Mpeg2ScanType]
$ctoJSONKeyList :: ToJSONKeyFunction [Mpeg2ScanType]
toJSONKey :: ToJSONKeyFunction Mpeg2ScanType
$ctoJSONKey :: ToJSONKeyFunction Mpeg2ScanType
Data.ToJSONKey,
[Node] -> Either String Mpeg2ScanType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Mpeg2ScanType
$cparseXML :: [Node] -> Either String Mpeg2ScanType
Data.FromXML,
Mpeg2ScanType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Mpeg2ScanType -> XML
$ctoXML :: Mpeg2ScanType -> XML
Data.ToXML
)
pattern Mpeg2ScanType_INTERLACED :: Mpeg2ScanType
pattern $bMpeg2ScanType_INTERLACED :: Mpeg2ScanType
$mMpeg2ScanType_INTERLACED :: forall {r}. Mpeg2ScanType -> ((# #) -> r) -> ((# #) -> r) -> r
Mpeg2ScanType_INTERLACED = Mpeg2ScanType' "INTERLACED"
pattern Mpeg2ScanType_PROGRESSIVE :: Mpeg2ScanType
pattern $bMpeg2ScanType_PROGRESSIVE :: Mpeg2ScanType
$mMpeg2ScanType_PROGRESSIVE :: forall {r}. Mpeg2ScanType -> ((# #) -> r) -> ((# #) -> r) -> r
Mpeg2ScanType_PROGRESSIVE = Mpeg2ScanType' "PROGRESSIVE"
{-# COMPLETE
Mpeg2ScanType_INTERLACED,
Mpeg2ScanType_PROGRESSIVE,
Mpeg2ScanType'
#-}