{-# 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-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.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.Prelude as Prelude

-- | Eac3 Drc Rf
newtype Eac3DrcRf = Eac3DrcRf'
  { Eac3DrcRf -> Text
fromEac3DrcRf ::
      Core.Text
  }
  deriving stock
    ( Int -> Eac3DrcRf -> ShowS
[Eac3DrcRf] -> ShowS
Eac3DrcRf -> String
(Int -> Eac3DrcRf -> ShowS)
-> (Eac3DrcRf -> String)
-> ([Eac3DrcRf] -> ShowS)
-> Show Eac3DrcRf
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]
(Int -> ReadS Eac3DrcRf)
-> ReadS [Eac3DrcRf]
-> ReadPrec Eac3DrcRf
-> ReadPrec [Eac3DrcRf]
-> Read 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
(Eac3DrcRf -> Eac3DrcRf -> Bool)
-> (Eac3DrcRf -> Eac3DrcRf -> Bool) -> Eq Eac3DrcRf
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
Eq Eac3DrcRf
-> (Eac3DrcRf -> Eac3DrcRf -> Ordering)
-> (Eac3DrcRf -> Eac3DrcRf -> Bool)
-> (Eac3DrcRf -> Eac3DrcRf -> Bool)
-> (Eac3DrcRf -> Eac3DrcRf -> Bool)
-> (Eac3DrcRf -> Eac3DrcRf -> Bool)
-> (Eac3DrcRf -> Eac3DrcRf -> Eac3DrcRf)
-> (Eac3DrcRf -> Eac3DrcRf -> Eac3DrcRf)
-> Ord 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
$cp1Ord :: Eq Eac3DrcRf
Prelude.Ord,
      (forall x. Eac3DrcRf -> Rep Eac3DrcRf x)
-> (forall x. Rep Eac3DrcRf x -> Eac3DrcRf) -> Generic Eac3DrcRf
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
    ( Int -> Eac3DrcRf -> Int
Eac3DrcRf -> Int
(Int -> Eac3DrcRf -> Int)
-> (Eac3DrcRf -> Int) -> Hashable Eac3DrcRf
forall 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 -> ()
(Eac3DrcRf -> ()) -> NFData Eac3DrcRf
forall a. (a -> ()) -> NFData a
rnf :: Eac3DrcRf -> ()
$crnf :: Eac3DrcRf -> ()
Prelude.NFData,
      Text -> Either String Eac3DrcRf
(Text -> Either String Eac3DrcRf) -> FromText Eac3DrcRf
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Eac3DrcRf
$cfromText :: Text -> Either String Eac3DrcRf
Core.FromText,
      Eac3DrcRf -> Text
(Eac3DrcRf -> Text) -> ToText Eac3DrcRf
forall a. (a -> Text) -> ToText a
toText :: Eac3DrcRf -> Text
$ctoText :: Eac3DrcRf -> Text
Core.ToText,
      Eac3DrcRf -> ByteString
(Eac3DrcRf -> ByteString) -> ToByteString Eac3DrcRf
forall a. (a -> ByteString) -> ToByteString a
toBS :: Eac3DrcRf -> ByteString
$ctoBS :: Eac3DrcRf -> ByteString
Core.ToByteString,
      Eac3DrcRf -> ByteStringBuilder
(Eac3DrcRf -> ByteStringBuilder) -> ToLog Eac3DrcRf
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Eac3DrcRf -> ByteStringBuilder
$cbuild :: Eac3DrcRf -> ByteStringBuilder
Core.ToLog,
      HeaderName -> Eac3DrcRf -> [Header]
(HeaderName -> Eac3DrcRf -> [Header]) -> ToHeader Eac3DrcRf
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Eac3DrcRf -> [Header]
$ctoHeader :: HeaderName -> Eac3DrcRf -> [Header]
Core.ToHeader,
      Eac3DrcRf -> QueryString
(Eac3DrcRf -> QueryString) -> ToQuery Eac3DrcRf
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Eac3DrcRf -> QueryString
$ctoQuery :: Eac3DrcRf -> QueryString
Core.ToQuery,
      Value -> Parser [Eac3DrcRf]
Value -> Parser Eac3DrcRf
(Value -> Parser Eac3DrcRf)
-> (Value -> Parser [Eac3DrcRf]) -> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [Eac3DrcRf]
FromJSONKeyFunction Eac3DrcRf
FromJSONKeyFunction Eac3DrcRf
-> FromJSONKeyFunction [Eac3DrcRf] -> FromJSONKey Eac3DrcRf
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Eac3DrcRf]
$cfromJSONKeyList :: FromJSONKeyFunction [Eac3DrcRf]
fromJSONKey :: FromJSONKeyFunction Eac3DrcRf
$cfromJSONKey :: FromJSONKeyFunction Eac3DrcRf
Core.FromJSONKey,
      [Eac3DrcRf] -> Encoding
[Eac3DrcRf] -> Value
Eac3DrcRf -> Encoding
Eac3DrcRf -> Value
(Eac3DrcRf -> Value)
-> (Eac3DrcRf -> Encoding)
-> ([Eac3DrcRf] -> Value)
-> ([Eac3DrcRf] -> Encoding)
-> ToJSON Eac3DrcRf
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
Core.ToJSON,
      ToJSONKeyFunction [Eac3DrcRf]
ToJSONKeyFunction Eac3DrcRf
ToJSONKeyFunction Eac3DrcRf
-> ToJSONKeyFunction [Eac3DrcRf] -> ToJSONKey Eac3DrcRf
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Eac3DrcRf]
$ctoJSONKeyList :: ToJSONKeyFunction [Eac3DrcRf]
toJSONKey :: ToJSONKeyFunction Eac3DrcRf
$ctoJSONKey :: ToJSONKeyFunction Eac3DrcRf
Core.ToJSONKey,
      [Node] -> Either String Eac3DrcRf
([Node] -> Either String Eac3DrcRf) -> FromXML Eac3DrcRf
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Eac3DrcRf
$cparseXML :: [Node] -> Either String Eac3DrcRf
Core.FromXML,
      Eac3DrcRf -> XML
(Eac3DrcRf -> XML) -> ToXML Eac3DrcRf
forall a. (a -> XML) -> ToXML a
toXML :: Eac3DrcRf -> XML
$ctoXML :: Eac3DrcRf -> XML
Core.ToXML
    )

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

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

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

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

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

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

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