{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.MediaConvert.Types.WavFormat
( WavFormat
( ..,
WavFormat_RF64,
WavFormat_RIFF
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype WavFormat = WavFormat'
{ WavFormat -> Text
fromWavFormat ::
Core.Text
}
deriving stock
( Int -> WavFormat -> ShowS
[WavFormat] -> ShowS
WavFormat -> String
(Int -> WavFormat -> ShowS)
-> (WavFormat -> String)
-> ([WavFormat] -> ShowS)
-> Show WavFormat
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [WavFormat] -> ShowS
$cshowList :: [WavFormat] -> ShowS
show :: WavFormat -> String
$cshow :: WavFormat -> String
showsPrec :: Int -> WavFormat -> ShowS
$cshowsPrec :: Int -> WavFormat -> ShowS
Prelude.Show,
ReadPrec [WavFormat]
ReadPrec WavFormat
Int -> ReadS WavFormat
ReadS [WavFormat]
(Int -> ReadS WavFormat)
-> ReadS [WavFormat]
-> ReadPrec WavFormat
-> ReadPrec [WavFormat]
-> Read WavFormat
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [WavFormat]
$creadListPrec :: ReadPrec [WavFormat]
readPrec :: ReadPrec WavFormat
$creadPrec :: ReadPrec WavFormat
readList :: ReadS [WavFormat]
$creadList :: ReadS [WavFormat]
readsPrec :: Int -> ReadS WavFormat
$creadsPrec :: Int -> ReadS WavFormat
Prelude.Read,
WavFormat -> WavFormat -> Bool
(WavFormat -> WavFormat -> Bool)
-> (WavFormat -> WavFormat -> Bool) -> Eq WavFormat
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: WavFormat -> WavFormat -> Bool
$c/= :: WavFormat -> WavFormat -> Bool
== :: WavFormat -> WavFormat -> Bool
$c== :: WavFormat -> WavFormat -> Bool
Prelude.Eq,
Eq WavFormat
Eq WavFormat
-> (WavFormat -> WavFormat -> Ordering)
-> (WavFormat -> WavFormat -> Bool)
-> (WavFormat -> WavFormat -> Bool)
-> (WavFormat -> WavFormat -> Bool)
-> (WavFormat -> WavFormat -> Bool)
-> (WavFormat -> WavFormat -> WavFormat)
-> (WavFormat -> WavFormat -> WavFormat)
-> Ord WavFormat
WavFormat -> WavFormat -> Bool
WavFormat -> WavFormat -> Ordering
WavFormat -> WavFormat -> WavFormat
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 :: WavFormat -> WavFormat -> WavFormat
$cmin :: WavFormat -> WavFormat -> WavFormat
max :: WavFormat -> WavFormat -> WavFormat
$cmax :: WavFormat -> WavFormat -> WavFormat
>= :: WavFormat -> WavFormat -> Bool
$c>= :: WavFormat -> WavFormat -> Bool
> :: WavFormat -> WavFormat -> Bool
$c> :: WavFormat -> WavFormat -> Bool
<= :: WavFormat -> WavFormat -> Bool
$c<= :: WavFormat -> WavFormat -> Bool
< :: WavFormat -> WavFormat -> Bool
$c< :: WavFormat -> WavFormat -> Bool
compare :: WavFormat -> WavFormat -> Ordering
$ccompare :: WavFormat -> WavFormat -> Ordering
$cp1Ord :: Eq WavFormat
Prelude.Ord,
(forall x. WavFormat -> Rep WavFormat x)
-> (forall x. Rep WavFormat x -> WavFormat) -> Generic WavFormat
forall x. Rep WavFormat x -> WavFormat
forall x. WavFormat -> Rep WavFormat x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep WavFormat x -> WavFormat
$cfrom :: forall x. WavFormat -> Rep WavFormat x
Prelude.Generic
)
deriving newtype
( Int -> WavFormat -> Int
WavFormat -> Int
(Int -> WavFormat -> Int)
-> (WavFormat -> Int) -> Hashable WavFormat
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: WavFormat -> Int
$chash :: WavFormat -> Int
hashWithSalt :: Int -> WavFormat -> Int
$chashWithSalt :: Int -> WavFormat -> Int
Prelude.Hashable,
WavFormat -> ()
(WavFormat -> ()) -> NFData WavFormat
forall a. (a -> ()) -> NFData a
rnf :: WavFormat -> ()
$crnf :: WavFormat -> ()
Prelude.NFData,
Text -> Either String WavFormat
(Text -> Either String WavFormat) -> FromText WavFormat
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String WavFormat
$cfromText :: Text -> Either String WavFormat
Core.FromText,
WavFormat -> Text
(WavFormat -> Text) -> ToText WavFormat
forall a. (a -> Text) -> ToText a
toText :: WavFormat -> Text
$ctoText :: WavFormat -> Text
Core.ToText,
WavFormat -> ByteString
(WavFormat -> ByteString) -> ToByteString WavFormat
forall a. (a -> ByteString) -> ToByteString a
toBS :: WavFormat -> ByteString
$ctoBS :: WavFormat -> ByteString
Core.ToByteString,
WavFormat -> ByteStringBuilder
(WavFormat -> ByteStringBuilder) -> ToLog WavFormat
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: WavFormat -> ByteStringBuilder
$cbuild :: WavFormat -> ByteStringBuilder
Core.ToLog,
HeaderName -> WavFormat -> [Header]
(HeaderName -> WavFormat -> [Header]) -> ToHeader WavFormat
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> WavFormat -> [Header]
$ctoHeader :: HeaderName -> WavFormat -> [Header]
Core.ToHeader,
WavFormat -> QueryString
(WavFormat -> QueryString) -> ToQuery WavFormat
forall a. (a -> QueryString) -> ToQuery a
toQuery :: WavFormat -> QueryString
$ctoQuery :: WavFormat -> QueryString
Core.ToQuery,
Value -> Parser [WavFormat]
Value -> Parser WavFormat
(Value -> Parser WavFormat)
-> (Value -> Parser [WavFormat]) -> FromJSON WavFormat
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [WavFormat]
$cparseJSONList :: Value -> Parser [WavFormat]
parseJSON :: Value -> Parser WavFormat
$cparseJSON :: Value -> Parser WavFormat
Core.FromJSON,
FromJSONKeyFunction [WavFormat]
FromJSONKeyFunction WavFormat
FromJSONKeyFunction WavFormat
-> FromJSONKeyFunction [WavFormat] -> FromJSONKey WavFormat
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [WavFormat]
$cfromJSONKeyList :: FromJSONKeyFunction [WavFormat]
fromJSONKey :: FromJSONKeyFunction WavFormat
$cfromJSONKey :: FromJSONKeyFunction WavFormat
Core.FromJSONKey,
[WavFormat] -> Encoding
[WavFormat] -> Value
WavFormat -> Encoding
WavFormat -> Value
(WavFormat -> Value)
-> (WavFormat -> Encoding)
-> ([WavFormat] -> Value)
-> ([WavFormat] -> Encoding)
-> ToJSON WavFormat
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [WavFormat] -> Encoding
$ctoEncodingList :: [WavFormat] -> Encoding
toJSONList :: [WavFormat] -> Value
$ctoJSONList :: [WavFormat] -> Value
toEncoding :: WavFormat -> Encoding
$ctoEncoding :: WavFormat -> Encoding
toJSON :: WavFormat -> Value
$ctoJSON :: WavFormat -> Value
Core.ToJSON,
ToJSONKeyFunction [WavFormat]
ToJSONKeyFunction WavFormat
ToJSONKeyFunction WavFormat
-> ToJSONKeyFunction [WavFormat] -> ToJSONKey WavFormat
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [WavFormat]
$ctoJSONKeyList :: ToJSONKeyFunction [WavFormat]
toJSONKey :: ToJSONKeyFunction WavFormat
$ctoJSONKey :: ToJSONKeyFunction WavFormat
Core.ToJSONKey,
[Node] -> Either String WavFormat
([Node] -> Either String WavFormat) -> FromXML WavFormat
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String WavFormat
$cparseXML :: [Node] -> Either String WavFormat
Core.FromXML,
WavFormat -> XML
(WavFormat -> XML) -> ToXML WavFormat
forall a. (a -> XML) -> ToXML a
toXML :: WavFormat -> XML
$ctoXML :: WavFormat -> XML
Core.ToXML
)
pattern WavFormat_RF64 :: WavFormat
pattern $bWavFormat_RF64 :: WavFormat
$mWavFormat_RF64 :: forall r. WavFormat -> (Void# -> r) -> (Void# -> r) -> r
WavFormat_RF64 = WavFormat' "RF64"
pattern WavFormat_RIFF :: WavFormat
pattern $bWavFormat_RIFF :: WavFormat
$mWavFormat_RIFF :: forall r. WavFormat -> (Void# -> r) -> (Void# -> r) -> r
WavFormat_RIFF = WavFormat' "RIFF"
{-# COMPLETE
WavFormat_RF64,
WavFormat_RIFF,
WavFormat'
#-}