{-# 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.M2tsSegmentationMarkers
-- 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.M2tsSegmentationMarkers
  ( M2tsSegmentationMarkers
      ( ..,
        M2tsSegmentationMarkers_EBP,
        M2tsSegmentationMarkers_EBP_LEGACY,
        M2tsSegmentationMarkers_NONE,
        M2tsSegmentationMarkers_PSI_SEGSTART,
        M2tsSegmentationMarkers_RAI_ADAPT,
        M2tsSegmentationMarkers_RAI_SEGSTART
      ),
  )
where

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

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

pattern M2tsSegmentationMarkers_EBP :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_EBP :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_EBP :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_EBP = M2tsSegmentationMarkers' "EBP"

pattern M2tsSegmentationMarkers_EBP_LEGACY :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_EBP_LEGACY :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_EBP_LEGACY :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_EBP_LEGACY = M2tsSegmentationMarkers' "EBP_LEGACY"

pattern M2tsSegmentationMarkers_NONE :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_NONE :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_NONE :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_NONE = M2tsSegmentationMarkers' "NONE"

pattern M2tsSegmentationMarkers_PSI_SEGSTART :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_PSI_SEGSTART :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_PSI_SEGSTART :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_PSI_SEGSTART = M2tsSegmentationMarkers' "PSI_SEGSTART"

pattern M2tsSegmentationMarkers_RAI_ADAPT :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_RAI_ADAPT :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_RAI_ADAPT :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_RAI_ADAPT = M2tsSegmentationMarkers' "RAI_ADAPT"

pattern M2tsSegmentationMarkers_RAI_SEGSTART :: M2tsSegmentationMarkers
pattern $bM2tsSegmentationMarkers_RAI_SEGSTART :: M2tsSegmentationMarkers
$mM2tsSegmentationMarkers_RAI_SEGSTART :: forall {r}.
M2tsSegmentationMarkers -> ((# #) -> r) -> ((# #) -> r) -> r
M2tsSegmentationMarkers_RAI_SEGSTART = M2tsSegmentationMarkers' "RAI_SEGSTART"

{-# COMPLETE
  M2tsSegmentationMarkers_EBP,
  M2tsSegmentationMarkers_EBP_LEGACY,
  M2tsSegmentationMarkers_NONE,
  M2tsSegmentationMarkers_PSI_SEGSTART,
  M2tsSegmentationMarkers_RAI_ADAPT,
  M2tsSegmentationMarkers_RAI_SEGSTART,
  M2tsSegmentationMarkers'
  #-}