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