{-# 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.MediaConvert.Types.Eac3AtmosDialogueIntelligence
-- 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.MediaConvert.Types.Eac3AtmosDialogueIntelligence
  ( Eac3AtmosDialogueIntelligence
      ( ..,
        Eac3AtmosDialogueIntelligence_DISABLED,
        Eac3AtmosDialogueIntelligence_ENABLED
      ),
  )
where

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

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

pattern Eac3AtmosDialogueIntelligence_DISABLED :: Eac3AtmosDialogueIntelligence
pattern $bEac3AtmosDialogueIntelligence_DISABLED :: Eac3AtmosDialogueIntelligence
$mEac3AtmosDialogueIntelligence_DISABLED :: forall {r}.
Eac3AtmosDialogueIntelligence -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDialogueIntelligence_DISABLED = Eac3AtmosDialogueIntelligence' "DISABLED"

pattern Eac3AtmosDialogueIntelligence_ENABLED :: Eac3AtmosDialogueIntelligence
pattern $bEac3AtmosDialogueIntelligence_ENABLED :: Eac3AtmosDialogueIntelligence
$mEac3AtmosDialogueIntelligence_ENABLED :: forall {r}.
Eac3AtmosDialogueIntelligence -> ((# #) -> r) -> ((# #) -> r) -> r
Eac3AtmosDialogueIntelligence_ENABLED = Eac3AtmosDialogueIntelligence' "ENABLED"

{-# COMPLETE
  Eac3AtmosDialogueIntelligence_DISABLED,
  Eac3AtmosDialogueIntelligence_ENABLED,
  Eac3AtmosDialogueIntelligence'
  #-}