{-# 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.HlsAdMarkers
-- 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.HlsAdMarkers
  ( HlsAdMarkers
      ( ..,
        HlsAdMarkers_ADOBE,
        HlsAdMarkers_ELEMENTAL,
        HlsAdMarkers_ELEMENTAL_SCTE35
      ),
  )
where

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

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

pattern HlsAdMarkers_ADOBE :: HlsAdMarkers
pattern $bHlsAdMarkers_ADOBE :: HlsAdMarkers
$mHlsAdMarkers_ADOBE :: forall {r}. HlsAdMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
HlsAdMarkers_ADOBE = HlsAdMarkers' "ADOBE"

pattern HlsAdMarkers_ELEMENTAL :: HlsAdMarkers
pattern $bHlsAdMarkers_ELEMENTAL :: HlsAdMarkers
$mHlsAdMarkers_ELEMENTAL :: forall {r}. HlsAdMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
HlsAdMarkers_ELEMENTAL = HlsAdMarkers' "ELEMENTAL"

pattern HlsAdMarkers_ELEMENTAL_SCTE35 :: HlsAdMarkers
pattern $bHlsAdMarkers_ELEMENTAL_SCTE35 :: HlsAdMarkers
$mHlsAdMarkers_ELEMENTAL_SCTE35 :: forall {r}. HlsAdMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
HlsAdMarkers_ELEMENTAL_SCTE35 = HlsAdMarkers' "ELEMENTAL_SCTE35"

{-# COMPLETE
  HlsAdMarkers_ADOBE,
  HlsAdMarkers_ELEMENTAL,
  HlsAdMarkers_ELEMENTAL_SCTE35,
  HlsAdMarkers'
  #-}