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