{-# 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.Scte35SpliceInsertNoRegionalBlackoutBehavior
-- 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.Scte35SpliceInsertNoRegionalBlackoutBehavior
  ( Scte35SpliceInsertNoRegionalBlackoutBehavior
      ( ..,
        Scte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW,
        Scte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE
      ),
  )
where

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

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

pattern Scte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW :: Scte35SpliceInsertNoRegionalBlackoutBehavior
pattern $bScte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW :: Scte35SpliceInsertNoRegionalBlackoutBehavior
$mScte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW :: forall r.
Scte35SpliceInsertNoRegionalBlackoutBehavior
-> (Void# -> r) -> (Void# -> r) -> r
Scte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW = Scte35SpliceInsertNoRegionalBlackoutBehavior' "FOLLOW"

pattern Scte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE :: Scte35SpliceInsertNoRegionalBlackoutBehavior
pattern $bScte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE :: Scte35SpliceInsertNoRegionalBlackoutBehavior
$mScte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE :: forall r.
Scte35SpliceInsertNoRegionalBlackoutBehavior
-> (Void# -> r) -> (Void# -> r) -> r
Scte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE = Scte35SpliceInsertNoRegionalBlackoutBehavior' "IGNORE"

{-# COMPLETE
  Scte35SpliceInsertNoRegionalBlackoutBehavior_FOLLOW,
  Scte35SpliceInsertNoRegionalBlackoutBehavior_IGNORE,
  Scte35SpliceInsertNoRegionalBlackoutBehavior'
  #-}