{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaConvert.Types.CmfcManifestMetadataSignaling
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaConvert.Types.CmfcManifestMetadataSignaling
  ( CmfcManifestMetadataSignaling
      ( ..,
        CmfcManifestMetadataSignaling_DISABLED,
        CmfcManifestMetadataSignaling_ENABLED
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | To add an InbandEventStream element in your output MPD manifest for each
-- type of event message, set Manifest metadata signaling to Enabled. For
-- ID3 event messages, the InbandEventStream element schemeIdUri will be
-- same value that you specify for ID3 metadata scheme ID URI. For SCTE35
-- event messages, the InbandEventStream element schemeIdUri will be
-- \"urn:scte:scte35:2013:bin\". To leave these elements out of your output
-- MPD manifest, set Manifest metadata signaling to Disabled.
newtype CmfcManifestMetadataSignaling = CmfcManifestMetadataSignaling'
  { CmfcManifestMetadataSignaling -> Text
fromCmfcManifestMetadataSignaling ::
      Data.Text
  }
  deriving stock
    ( Int -> CmfcManifestMetadataSignaling -> ShowS
[CmfcManifestMetadataSignaling] -> ShowS
CmfcManifestMetadataSignaling -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CmfcManifestMetadataSignaling] -> ShowS
$cshowList :: [CmfcManifestMetadataSignaling] -> ShowS
show :: CmfcManifestMetadataSignaling -> String
$cshow :: CmfcManifestMetadataSignaling -> String
showsPrec :: Int -> CmfcManifestMetadataSignaling -> ShowS
$cshowsPrec :: Int -> CmfcManifestMetadataSignaling -> ShowS
Prelude.Show,
      ReadPrec [CmfcManifestMetadataSignaling]
ReadPrec CmfcManifestMetadataSignaling
Int -> ReadS CmfcManifestMetadataSignaling
ReadS [CmfcManifestMetadataSignaling]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CmfcManifestMetadataSignaling]
$creadListPrec :: ReadPrec [CmfcManifestMetadataSignaling]
readPrec :: ReadPrec CmfcManifestMetadataSignaling
$creadPrec :: ReadPrec CmfcManifestMetadataSignaling
readList :: ReadS [CmfcManifestMetadataSignaling]
$creadList :: ReadS [CmfcManifestMetadataSignaling]
readsPrec :: Int -> ReadS CmfcManifestMetadataSignaling
$creadsPrec :: Int -> ReadS CmfcManifestMetadataSignaling
Prelude.Read,
      CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c/= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
== :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c== :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
Prelude.Eq,
      Eq CmfcManifestMetadataSignaling
CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Ordering
CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> CmfcManifestMetadataSignaling
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 :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> CmfcManifestMetadataSignaling
$cmin :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> CmfcManifestMetadataSignaling
max :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> CmfcManifestMetadataSignaling
$cmax :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> CmfcManifestMetadataSignaling
>= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c>= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
> :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c> :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
<= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c<= :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
< :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
$c< :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Bool
compare :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Ordering
$ccompare :: CmfcManifestMetadataSignaling
-> CmfcManifestMetadataSignaling -> Ordering
Prelude.Ord,
      forall x.
Rep CmfcManifestMetadataSignaling x
-> CmfcManifestMetadataSignaling
forall x.
CmfcManifestMetadataSignaling
-> Rep CmfcManifestMetadataSignaling x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CmfcManifestMetadataSignaling x
-> CmfcManifestMetadataSignaling
$cfrom :: forall x.
CmfcManifestMetadataSignaling
-> Rep CmfcManifestMetadataSignaling x
Prelude.Generic
    )
  deriving newtype
    ( Eq CmfcManifestMetadataSignaling
Int -> CmfcManifestMetadataSignaling -> Int
CmfcManifestMetadataSignaling -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: CmfcManifestMetadataSignaling -> Int
$chash :: CmfcManifestMetadataSignaling -> Int
hashWithSalt :: Int -> CmfcManifestMetadataSignaling -> Int
$chashWithSalt :: Int -> CmfcManifestMetadataSignaling -> Int
Prelude.Hashable,
      CmfcManifestMetadataSignaling -> ()
forall a. (a -> ()) -> NFData a
rnf :: CmfcManifestMetadataSignaling -> ()
$crnf :: CmfcManifestMetadataSignaling -> ()
Prelude.NFData,
      Text -> Either String CmfcManifestMetadataSignaling
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String CmfcManifestMetadataSignaling
$cfromText :: Text -> Either String CmfcManifestMetadataSignaling
Data.FromText,
      CmfcManifestMetadataSignaling -> Text
forall a. (a -> Text) -> ToText a
toText :: CmfcManifestMetadataSignaling -> Text
$ctoText :: CmfcManifestMetadataSignaling -> Text
Data.ToText,
      CmfcManifestMetadataSignaling -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: CmfcManifestMetadataSignaling -> ByteString
$ctoBS :: CmfcManifestMetadataSignaling -> ByteString
Data.ToByteString,
      CmfcManifestMetadataSignaling -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: CmfcManifestMetadataSignaling -> ByteStringBuilder
$cbuild :: CmfcManifestMetadataSignaling -> ByteStringBuilder
Data.ToLog,
      HeaderName -> CmfcManifestMetadataSignaling -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> CmfcManifestMetadataSignaling -> [Header]
$ctoHeader :: HeaderName -> CmfcManifestMetadataSignaling -> [Header]
Data.ToHeader,
      CmfcManifestMetadataSignaling -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: CmfcManifestMetadataSignaling -> QueryString
$ctoQuery :: CmfcManifestMetadataSignaling -> QueryString
Data.ToQuery,
      Value -> Parser [CmfcManifestMetadataSignaling]
Value -> Parser CmfcManifestMetadataSignaling
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [CmfcManifestMetadataSignaling]
$cparseJSONList :: Value -> Parser [CmfcManifestMetadataSignaling]
parseJSON :: Value -> Parser CmfcManifestMetadataSignaling
$cparseJSON :: Value -> Parser CmfcManifestMetadataSignaling
Data.FromJSON,
      FromJSONKeyFunction [CmfcManifestMetadataSignaling]
FromJSONKeyFunction CmfcManifestMetadataSignaling
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [CmfcManifestMetadataSignaling]
$cfromJSONKeyList :: FromJSONKeyFunction [CmfcManifestMetadataSignaling]
fromJSONKey :: FromJSONKeyFunction CmfcManifestMetadataSignaling
$cfromJSONKey :: FromJSONKeyFunction CmfcManifestMetadataSignaling
Data.FromJSONKey,
      [CmfcManifestMetadataSignaling] -> Encoding
[CmfcManifestMetadataSignaling] -> Value
CmfcManifestMetadataSignaling -> Encoding
CmfcManifestMetadataSignaling -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [CmfcManifestMetadataSignaling] -> Encoding
$ctoEncodingList :: [CmfcManifestMetadataSignaling] -> Encoding
toJSONList :: [CmfcManifestMetadataSignaling] -> Value
$ctoJSONList :: [CmfcManifestMetadataSignaling] -> Value
toEncoding :: CmfcManifestMetadataSignaling -> Encoding
$ctoEncoding :: CmfcManifestMetadataSignaling -> Encoding
toJSON :: CmfcManifestMetadataSignaling -> Value
$ctoJSON :: CmfcManifestMetadataSignaling -> Value
Data.ToJSON,
      ToJSONKeyFunction [CmfcManifestMetadataSignaling]
ToJSONKeyFunction CmfcManifestMetadataSignaling
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [CmfcManifestMetadataSignaling]
$ctoJSONKeyList :: ToJSONKeyFunction [CmfcManifestMetadataSignaling]
toJSONKey :: ToJSONKeyFunction CmfcManifestMetadataSignaling
$ctoJSONKey :: ToJSONKeyFunction CmfcManifestMetadataSignaling
Data.ToJSONKey,
      [Node] -> Either String CmfcManifestMetadataSignaling
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String CmfcManifestMetadataSignaling
$cparseXML :: [Node] -> Either String CmfcManifestMetadataSignaling
Data.FromXML,
      CmfcManifestMetadataSignaling -> XML
forall a. (a -> XML) -> ToXML a
toXML :: CmfcManifestMetadataSignaling -> XML
$ctoXML :: CmfcManifestMetadataSignaling -> XML
Data.ToXML
    )

pattern CmfcManifestMetadataSignaling_DISABLED :: CmfcManifestMetadataSignaling
pattern $bCmfcManifestMetadataSignaling_DISABLED :: CmfcManifestMetadataSignaling
$mCmfcManifestMetadataSignaling_DISABLED :: forall {r}.
CmfcManifestMetadataSignaling -> ((# #) -> r) -> ((# #) -> r) -> r
CmfcManifestMetadataSignaling_DISABLED = CmfcManifestMetadataSignaling' "DISABLED"

pattern CmfcManifestMetadataSignaling_ENABLED :: CmfcManifestMetadataSignaling
pattern $bCmfcManifestMetadataSignaling_ENABLED :: CmfcManifestMetadataSignaling
$mCmfcManifestMetadataSignaling_ENABLED :: forall {r}.
CmfcManifestMetadataSignaling -> ((# #) -> r) -> ((# #) -> r) -> r
CmfcManifestMetadataSignaling_ENABLED = CmfcManifestMetadataSignaling' "ENABLED"

{-# COMPLETE
  CmfcManifestMetadataSignaling_DISABLED,
  CmfcManifestMetadataSignaling_ENABLED,
  CmfcManifestMetadataSignaling'
  #-}