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