{-# 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.SmoothGroupStreamManifestBehavior
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.SmoothGroupStreamManifestBehavior
  ( SmoothGroupStreamManifestBehavior
      ( ..,
        SmoothGroupStreamManifestBehavior_DO_NOT_SEND,
        SmoothGroupStreamManifestBehavior_SEND
      ),
  )
where

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

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

pattern SmoothGroupStreamManifestBehavior_DO_NOT_SEND :: SmoothGroupStreamManifestBehavior
pattern $bSmoothGroupStreamManifestBehavior_DO_NOT_SEND :: SmoothGroupStreamManifestBehavior
$mSmoothGroupStreamManifestBehavior_DO_NOT_SEND :: forall r.
SmoothGroupStreamManifestBehavior
-> (Void# -> r) -> (Void# -> r) -> r
SmoothGroupStreamManifestBehavior_DO_NOT_SEND = SmoothGroupStreamManifestBehavior' "DO_NOT_SEND"

pattern SmoothGroupStreamManifestBehavior_SEND :: SmoothGroupStreamManifestBehavior
pattern $bSmoothGroupStreamManifestBehavior_SEND :: SmoothGroupStreamManifestBehavior
$mSmoothGroupStreamManifestBehavior_SEND :: forall r.
SmoothGroupStreamManifestBehavior
-> (Void# -> r) -> (Void# -> r) -> r
SmoothGroupStreamManifestBehavior_SEND = SmoothGroupStreamManifestBehavior' "SEND"

{-# COMPLETE
  SmoothGroupStreamManifestBehavior_DO_NOT_SEND,
  SmoothGroupStreamManifestBehavior_SEND,
  SmoothGroupStreamManifestBehavior'
  #-}