{-# 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.AacRawFormat
-- 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.AacRawFormat
  ( AacRawFormat
      ( ..,
        AacRawFormat_LATM_LOAS,
        AacRawFormat_NONE
      ),
  )
where

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

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

pattern AacRawFormat_LATM_LOAS :: AacRawFormat
pattern $bAacRawFormat_LATM_LOAS :: AacRawFormat
$mAacRawFormat_LATM_LOAS :: forall {r}. AacRawFormat -> ((# #) -> r) -> ((# #) -> r) -> r
AacRawFormat_LATM_LOAS = AacRawFormat' "LATM_LOAS"

pattern AacRawFormat_NONE :: AacRawFormat
pattern $bAacRawFormat_NONE :: AacRawFormat
$mAacRawFormat_NONE :: forall {r}. AacRawFormat -> ((# #) -> r) -> ((# #) -> r) -> r
AacRawFormat_NONE = AacRawFormat' "NONE"

{-# COMPLETE
  AacRawFormat_LATM_LOAS,
  AacRawFormat_NONE,
  AacRawFormat'
  #-}