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