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

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

-- | Scte35 Splice Insert No Regional Blackout Behavior
newtype Scte35SpliceInsertNoRegionalBlackoutBehavior = Scte35SpliceInsertNoRegionalBlackoutBehavior'
  { Scte35SpliceInsertNoRegionalBlackoutBehavior -> Text
fromScte35SpliceInsertNoRegionalBlackoutBehavior ::
      Data.Text
  }
  deriving stock
    ( Int -> Scte35SpliceInsertNoRegionalBlackoutBehavior -> ShowS
[Scte35SpliceInsertNoRegionalBlackoutBehavior] -> ShowS
Scte35SpliceInsertNoRegionalBlackoutBehavior -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq Scte35SpliceInsertNoRegionalBlackoutBehavior
Int -> Scte35SpliceInsertNoRegionalBlackoutBehavior -> Int
Scte35SpliceInsertNoRegionalBlackoutBehavior -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ()
$crnf :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ()
Prelude.NFData,
      Text -> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
$cfromText :: Text -> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
Data.FromText,
      Scte35SpliceInsertNoRegionalBlackoutBehavior -> Text
forall a. (a -> Text) -> ToText a
toText :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> Text
$ctoText :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> Text
Data.ToText,
      Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteString
$ctoBS :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteString
Data.ToByteString,
      Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteStringBuilder
$cbuild :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> ByteStringBuilder
Data.ToLog,
      HeaderName
-> Scte35SpliceInsertNoRegionalBlackoutBehavior -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName
-> Scte35SpliceInsertNoRegionalBlackoutBehavior -> [Header]
$ctoHeader :: HeaderName
-> Scte35SpliceInsertNoRegionalBlackoutBehavior -> [Header]
Data.ToHeader,
      Scte35SpliceInsertNoRegionalBlackoutBehavior -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> QueryString
$ctoQuery :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> QueryString
Data.ToQuery,
      Value -> Parser [Scte35SpliceInsertNoRegionalBlackoutBehavior]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
FromJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
$cfromJSONKeyList :: FromJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
fromJSONKey :: FromJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
$cfromJSONKey :: FromJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
Data.FromJSONKey,
      [Scte35SpliceInsertNoRegionalBlackoutBehavior] -> Encoding
[Scte35SpliceInsertNoRegionalBlackoutBehavior] -> Value
Scte35SpliceInsertNoRegionalBlackoutBehavior -> Encoding
Scte35SpliceInsertNoRegionalBlackoutBehavior -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
ToJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
$ctoJSONKeyList :: ToJSONKeyFunction [Scte35SpliceInsertNoRegionalBlackoutBehavior]
toJSONKey :: ToJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
$ctoJSONKey :: ToJSONKeyFunction Scte35SpliceInsertNoRegionalBlackoutBehavior
Data.ToJSONKey,
      [Node]
-> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node]
-> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
$cparseXML :: [Node]
-> Either String Scte35SpliceInsertNoRegionalBlackoutBehavior
Data.FromXML,
      Scte35SpliceInsertNoRegionalBlackoutBehavior -> XML
forall a. (a -> XML) -> ToXML a
toXML :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> XML
$ctoXML :: Scte35SpliceInsertNoRegionalBlackoutBehavior -> XML
Data.ToXML
    )

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

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

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