{-# 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.H264SceneChangeDetect
( H264SceneChangeDetect
( ..,
H264SceneChangeDetect_DISABLED,
H264SceneChangeDetect_ENABLED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype H264SceneChangeDetect = H264SceneChangeDetect'
{ H264SceneChangeDetect -> Text
fromH264SceneChangeDetect ::
Data.Text
}
deriving stock
( Int -> H264SceneChangeDetect -> ShowS
[H264SceneChangeDetect] -> ShowS
H264SceneChangeDetect -> String
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]
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
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
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
Prelude.Ord,
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
( Eq H264SceneChangeDetect
Int -> H264SceneChangeDetect -> Int
H264SceneChangeDetect -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: H264SceneChangeDetect -> ()
$crnf :: H264SceneChangeDetect -> ()
Prelude.NFData,
Text -> Either String H264SceneChangeDetect
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String H264SceneChangeDetect
$cfromText :: Text -> Either String H264SceneChangeDetect
Data.FromText,
H264SceneChangeDetect -> Text
forall a. (a -> Text) -> ToText a
toText :: H264SceneChangeDetect -> Text
$ctoText :: H264SceneChangeDetect -> Text
Data.ToText,
H264SceneChangeDetect -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: H264SceneChangeDetect -> ByteString
$ctoBS :: H264SceneChangeDetect -> ByteString
Data.ToByteString,
H264SceneChangeDetect -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: H264SceneChangeDetect -> ByteStringBuilder
$cbuild :: H264SceneChangeDetect -> ByteStringBuilder
Data.ToLog,
HeaderName -> H264SceneChangeDetect -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> H264SceneChangeDetect -> [Header]
$ctoHeader :: HeaderName -> H264SceneChangeDetect -> [Header]
Data.ToHeader,
H264SceneChangeDetect -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: H264SceneChangeDetect -> QueryString
$ctoQuery :: H264SceneChangeDetect -> QueryString
Data.ToQuery,
Value -> Parser [H264SceneChangeDetect]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [H264SceneChangeDetect]
FromJSONKeyFunction H264SceneChangeDetect
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [H264SceneChangeDetect]
$cfromJSONKeyList :: FromJSONKeyFunction [H264SceneChangeDetect]
fromJSONKey :: FromJSONKeyFunction H264SceneChangeDetect
$cfromJSONKey :: FromJSONKeyFunction H264SceneChangeDetect
Data.FromJSONKey,
[H264SceneChangeDetect] -> Encoding
[H264SceneChangeDetect] -> Value
H264SceneChangeDetect -> Encoding
H264SceneChangeDetect -> Value
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
Data.ToJSON,
ToJSONKeyFunction [H264SceneChangeDetect]
ToJSONKeyFunction H264SceneChangeDetect
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [H264SceneChangeDetect]
$ctoJSONKeyList :: ToJSONKeyFunction [H264SceneChangeDetect]
toJSONKey :: ToJSONKeyFunction H264SceneChangeDetect
$ctoJSONKey :: ToJSONKeyFunction H264SceneChangeDetect
Data.ToJSONKey,
[Node] -> Either String H264SceneChangeDetect
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String H264SceneChangeDetect
$cparseXML :: [Node] -> Either String H264SceneChangeDetect
Data.FromXML,
H264SceneChangeDetect -> XML
forall a. (a -> XML) -> ToXML a
toXML :: H264SceneChangeDetect -> XML
$ctoXML :: H264SceneChangeDetect -> XML
Data.ToXML
)
pattern H264SceneChangeDetect_DISABLED :: H264SceneChangeDetect
pattern $bH264SceneChangeDetect_DISABLED :: H264SceneChangeDetect
$mH264SceneChangeDetect_DISABLED :: forall {r}.
H264SceneChangeDetect -> ((# #) -> r) -> ((# #) -> r) -> r
H264SceneChangeDetect_DISABLED = H264SceneChangeDetect' "DISABLED"
pattern H264SceneChangeDetect_ENABLED :: H264SceneChangeDetect
pattern $bH264SceneChangeDetect_ENABLED :: H264SceneChangeDetect
$mH264SceneChangeDetect_ENABLED :: forall {r}.
H264SceneChangeDetect -> ((# #) -> r) -> ((# #) -> r) -> r
H264SceneChangeDetect_ENABLED = H264SceneChangeDetect' "ENABLED"
{-# COMPLETE
H264SceneChangeDetect_DISABLED,
H264SceneChangeDetect_ENABLED,
H264SceneChangeDetect'
#-}