{-# 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.MediaLive.Types.RtmpAdMarkers
-- 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.MediaLive.Types.RtmpAdMarkers
  ( RtmpAdMarkers
      ( ..,
        RtmpAdMarkers_ON_CUE_POINT_SCTE35
      ),
  )
where

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

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

pattern RtmpAdMarkers_ON_CUE_POINT_SCTE35 :: RtmpAdMarkers
pattern $bRtmpAdMarkers_ON_CUE_POINT_SCTE35 :: RtmpAdMarkers
$mRtmpAdMarkers_ON_CUE_POINT_SCTE35 :: forall {r}. RtmpAdMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
RtmpAdMarkers_ON_CUE_POINT_SCTE35 = RtmpAdMarkers' "ON_CUE_POINT_SCTE35"

{-# COMPLETE
  RtmpAdMarkers_ON_CUE_POINT_SCTE35,
  RtmpAdMarkers'
  #-}