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