{-# 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.ChimeSdkMediaPipelines.Types.ConcatenationSourceType
-- 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.ChimeSdkMediaPipelines.Types.ConcatenationSourceType
  ( ConcatenationSourceType
      ( ..,
        ConcatenationSourceType_MediaCapturePipeline
      ),
  )
where

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

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

pattern ConcatenationSourceType_MediaCapturePipeline :: ConcatenationSourceType
pattern $bConcatenationSourceType_MediaCapturePipeline :: ConcatenationSourceType
$mConcatenationSourceType_MediaCapturePipeline :: forall {r}.
ConcatenationSourceType -> ((# #) -> r) -> ((# #) -> r) -> r
ConcatenationSourceType_MediaCapturePipeline = ConcatenationSourceType' "MediaCapturePipeline"

{-# COMPLETE
  ConcatenationSourceType_MediaCapturePipeline,
  ConcatenationSourceType'
  #-}