{-# 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.Scte20Convert608To708
-- 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.Scte20Convert608To708
  ( Scte20Convert608To708
      ( ..,
        Scte20Convert608To708_DISABLED,
        Scte20Convert608To708_UPCONVERT
      ),
  )
where

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

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

pattern Scte20Convert608To708_DISABLED :: Scte20Convert608To708
pattern $bScte20Convert608To708_DISABLED :: Scte20Convert608To708
$mScte20Convert608To708_DISABLED :: forall r.
Scte20Convert608To708 -> (Void# -> r) -> (Void# -> r) -> r
Scte20Convert608To708_DISABLED = Scte20Convert608To708' "DISABLED"

pattern Scte20Convert608To708_UPCONVERT :: Scte20Convert608To708
pattern $bScte20Convert608To708_UPCONVERT :: Scte20Convert608To708
$mScte20Convert608To708_UPCONVERT :: forall r.
Scte20Convert608To708 -> (Void# -> r) -> (Void# -> r) -> r
Scte20Convert608To708_UPCONVERT = Scte20Convert608To708' "UPCONVERT"

{-# COMPLETE
  Scte20Convert608To708_DISABLED,
  Scte20Convert608To708_UPCONVERT,
  Scte20Convert608To708'
  #-}