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