{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype WavFormat = WavFormat'
{ WavFormat -> Text
fromWavFormat ::
Data.Text
}
deriving stock
( Int -> WavFormat -> ShowS
[WavFormat] -> ShowS
WavFormat -> String
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]
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
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
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
Prelude.Ord,
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
( Eq WavFormat
Int -> WavFormat -> Int
WavFormat -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: WavFormat -> ()
$crnf :: WavFormat -> ()
Prelude.NFData,
Text -> Either String WavFormat
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String WavFormat
$cfromText :: Text -> Either String WavFormat
Data.FromText,
WavFormat -> Text
forall a. (a -> Text) -> ToText a
toText :: WavFormat -> Text
$ctoText :: WavFormat -> Text
Data.ToText,
WavFormat -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: WavFormat -> ByteString
$ctoBS :: WavFormat -> ByteString
Data.ToByteString,
WavFormat -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: WavFormat -> ByteStringBuilder
$cbuild :: WavFormat -> ByteStringBuilder
Data.ToLog,
HeaderName -> WavFormat -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> WavFormat -> [Header]
$ctoHeader :: HeaderName -> WavFormat -> [Header]
Data.ToHeader,
WavFormat -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: WavFormat -> QueryString
$ctoQuery :: WavFormat -> QueryString
Data.ToQuery,
Value -> Parser [WavFormat]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [WavFormat]
FromJSONKeyFunction WavFormat
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [WavFormat]
$cfromJSONKeyList :: FromJSONKeyFunction [WavFormat]
fromJSONKey :: FromJSONKeyFunction WavFormat
$cfromJSONKey :: FromJSONKeyFunction WavFormat
Data.FromJSONKey,
[WavFormat] -> Encoding
[WavFormat] -> Value
WavFormat -> Encoding
WavFormat -> Value
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
Data.ToJSON,
ToJSONKeyFunction [WavFormat]
ToJSONKeyFunction WavFormat
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [WavFormat]
$ctoJSONKeyList :: ToJSONKeyFunction [WavFormat]
toJSONKey :: ToJSONKeyFunction WavFormat
$ctoJSONKey :: ToJSONKeyFunction WavFormat
Data.ToJSONKey,
[Node] -> Either String WavFormat
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String WavFormat
$cparseXML :: [Node] -> Either String WavFormat
Data.FromXML,
WavFormat -> XML
forall a. (a -> XML) -> ToXML a
toXML :: WavFormat -> XML
$ctoXML :: WavFormat -> XML
Data.ToXML
)
pattern WavFormat_RF64 :: WavFormat
pattern $bWavFormat_RF64 :: WavFormat
$mWavFormat_RF64 :: forall {r}. WavFormat -> ((# #) -> r) -> ((# #) -> r) -> r
WavFormat_RF64 = WavFormat' "RF64"
pattern WavFormat_RIFF :: WavFormat
pattern $bWavFormat_RIFF :: WavFormat
$mWavFormat_RIFF :: forall {r}. WavFormat -> ((# #) -> r) -> ((# #) -> r) -> r
WavFormat_RIFF = WavFormat' "RIFF"
{-# COMPLETE
WavFormat_RF64,
WavFormat_RIFF,
WavFormat'
#-}