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