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