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