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