{-# 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.Eac3AtmosDrcRf
-- 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.Eac3AtmosDrcRf
  ( Eac3AtmosDrcRf
      ( ..,
        Eac3AtmosDrcRf_FILM_LIGHT,
        Eac3AtmosDrcRf_FILM_STANDARD,
        Eac3AtmosDrcRf_MUSIC_LIGHT,
        Eac3AtmosDrcRf_MUSIC_STANDARD,
        Eac3AtmosDrcRf_NONE,
        Eac3AtmosDrcRf_SPEECH
      ),
  )
where

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

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

pattern Eac3AtmosDrcRf_FILM_LIGHT :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_FILM_LIGHT :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_FILM_LIGHT :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_FILM_LIGHT = Eac3AtmosDrcRf' "FILM_LIGHT"

pattern Eac3AtmosDrcRf_FILM_STANDARD :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_FILM_STANDARD :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_FILM_STANDARD :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_FILM_STANDARD = Eac3AtmosDrcRf' "FILM_STANDARD"

pattern Eac3AtmosDrcRf_MUSIC_LIGHT :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_MUSIC_LIGHT :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_MUSIC_LIGHT :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_MUSIC_LIGHT = Eac3AtmosDrcRf' "MUSIC_LIGHT"

pattern Eac3AtmosDrcRf_MUSIC_STANDARD :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_MUSIC_STANDARD :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_MUSIC_STANDARD :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_MUSIC_STANDARD = Eac3AtmosDrcRf' "MUSIC_STANDARD"

pattern Eac3AtmosDrcRf_NONE :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_NONE :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_NONE :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_NONE = Eac3AtmosDrcRf' "NONE"

pattern Eac3AtmosDrcRf_SPEECH :: Eac3AtmosDrcRf
pattern $bEac3AtmosDrcRf_SPEECH :: Eac3AtmosDrcRf
$mEac3AtmosDrcRf_SPEECH :: forall {r}. Eac3AtmosDrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDrcRf_SPEECH = Eac3AtmosDrcRf' "SPEECH"

{-# COMPLETE
  Eac3AtmosDrcRf_FILM_LIGHT,
  Eac3AtmosDrcRf_FILM_STANDARD,
  Eac3AtmosDrcRf_MUSIC_LIGHT,
  Eac3AtmosDrcRf_MUSIC_STANDARD,
  Eac3AtmosDrcRf_NONE,
  Eac3AtmosDrcRf_SPEECH,
  Eac3AtmosDrcRf'
  #-}