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