{-# 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.MediaPackageVOD.Types.ScteMarkersSource
-- 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.MediaPackageVOD.Types.ScteMarkersSource
  ( ScteMarkersSource
      ( ..,
        ScteMarkersSource_MANIFEST,
        ScteMarkersSource_SEGMENTS
      ),
  )
where

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

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

pattern ScteMarkersSource_MANIFEST :: ScteMarkersSource
pattern $bScteMarkersSource_MANIFEST :: ScteMarkersSource
$mScteMarkersSource_MANIFEST :: forall {r}. ScteMarkersSource -> ((# #) -> r) -> ((# #) -> r) -> r
ScteMarkersSource_MANIFEST = ScteMarkersSource' "MANIFEST"

pattern ScteMarkersSource_SEGMENTS :: ScteMarkersSource
pattern $bScteMarkersSource_SEGMENTS :: ScteMarkersSource
$mScteMarkersSource_SEGMENTS :: forall {r}. ScteMarkersSource -> ((# #) -> r) -> ((# #) -> r) -> r
ScteMarkersSource_SEGMENTS = ScteMarkersSource' "SEGMENTS"

{-# COMPLETE
  ScteMarkersSource_MANIFEST,
  ScteMarkersSource_SEGMENTS,
  ScteMarkersSource'
  #-}