{-# 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.Eac3DrcRf
-- 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.Eac3DrcRf
  ( Eac3DrcRf
      ( ..,
        Eac3DrcRf_FILM_LIGHT,
        Eac3DrcRf_FILM_STANDARD,
        Eac3DrcRf_MUSIC_LIGHT,
        Eac3DrcRf_MUSIC_STANDARD,
        Eac3DrcRf_NONE,
        Eac3DrcRf_SPEECH
      ),
  )
where

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

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

pattern Eac3DrcRf_FILM_LIGHT :: Eac3DrcRf
pattern $bEac3DrcRf_FILM_LIGHT :: Eac3DrcRf
$mEac3DrcRf_FILM_LIGHT :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_FILM_LIGHT = Eac3DrcRf' "FILM_LIGHT"

pattern Eac3DrcRf_FILM_STANDARD :: Eac3DrcRf
pattern $bEac3DrcRf_FILM_STANDARD :: Eac3DrcRf
$mEac3DrcRf_FILM_STANDARD :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_FILM_STANDARD = Eac3DrcRf' "FILM_STANDARD"

pattern Eac3DrcRf_MUSIC_LIGHT :: Eac3DrcRf
pattern $bEac3DrcRf_MUSIC_LIGHT :: Eac3DrcRf
$mEac3DrcRf_MUSIC_LIGHT :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_MUSIC_LIGHT = Eac3DrcRf' "MUSIC_LIGHT"

pattern Eac3DrcRf_MUSIC_STANDARD :: Eac3DrcRf
pattern $bEac3DrcRf_MUSIC_STANDARD :: Eac3DrcRf
$mEac3DrcRf_MUSIC_STANDARD :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_MUSIC_STANDARD = Eac3DrcRf' "MUSIC_STANDARD"

pattern Eac3DrcRf_NONE :: Eac3DrcRf
pattern $bEac3DrcRf_NONE :: Eac3DrcRf
$mEac3DrcRf_NONE :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_NONE = Eac3DrcRf' "NONE"

pattern Eac3DrcRf_SPEECH :: Eac3DrcRf
pattern $bEac3DrcRf_SPEECH :: Eac3DrcRf
$mEac3DrcRf_SPEECH :: forall {r}. Eac3DrcRf -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3DrcRf_SPEECH = Eac3DrcRf' "SPEECH"

{-# COMPLETE
  Eac3DrcRf_FILM_LIGHT,
  Eac3DrcRf_FILM_STANDARD,
  Eac3DrcRf_MUSIC_LIGHT,
  Eac3DrcRf_MUSIC_STANDARD,
  Eac3DrcRf_NONE,
  Eac3DrcRf_SPEECH,
  Eac3DrcRf'
  #-}