{-# 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.AacCodecProfile
-- 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.AacCodecProfile
  ( AacCodecProfile
      ( ..,
        AacCodecProfile_HEV1,
        AacCodecProfile_HEV2,
        AacCodecProfile_LC
      ),
  )
where

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

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

pattern AacCodecProfile_HEV1 :: AacCodecProfile
pattern $bAacCodecProfile_HEV1 :: AacCodecProfile
$mAacCodecProfile_HEV1 :: forall {r}. AacCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
AacCodecProfile_HEV1 = AacCodecProfile' "HEV1"

pattern AacCodecProfile_HEV2 :: AacCodecProfile
pattern $bAacCodecProfile_HEV2 :: AacCodecProfile
$mAacCodecProfile_HEV2 :: forall {r}. AacCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
AacCodecProfile_HEV2 = AacCodecProfile' "HEV2"

pattern AacCodecProfile_LC :: AacCodecProfile
pattern $bAacCodecProfile_LC :: AacCodecProfile
$mAacCodecProfile_LC :: forall {r}. AacCodecProfile -> ((# #) -> r) -> ((# #) -> r) -> r
AacCodecProfile_LC = AacCodecProfile' "LC"

{-# COMPLETE
  AacCodecProfile_HEV1,
  AacCodecProfile_HEV2,
  AacCodecProfile_LC,
  AacCodecProfile'
  #-}