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