{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Outposts.Types.MaximumSupportedWeightLbs
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Outposts.Types.MaximumSupportedWeightLbs
  ( MaximumSupportedWeightLbs
      ( ..,
        MaximumSupportedWeightLbs_MAX_1400_LBS,
        MaximumSupportedWeightLbs_MAX_1600_LBS,
        MaximumSupportedWeightLbs_MAX_1800_LBS,
        MaximumSupportedWeightLbs_MAX_2000_LBS,
        MaximumSupportedWeightLbs_NO_LIMIT
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype MaximumSupportedWeightLbs = MaximumSupportedWeightLbs'
  { MaximumSupportedWeightLbs -> Text
fromMaximumSupportedWeightLbs ::
      Data.Text
  }
  deriving stock
    ( Int -> MaximumSupportedWeightLbs -> ShowS
[MaximumSupportedWeightLbs] -> ShowS
MaximumSupportedWeightLbs -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MaximumSupportedWeightLbs] -> ShowS
$cshowList :: [MaximumSupportedWeightLbs] -> ShowS
show :: MaximumSupportedWeightLbs -> String
$cshow :: MaximumSupportedWeightLbs -> String
showsPrec :: Int -> MaximumSupportedWeightLbs -> ShowS
$cshowsPrec :: Int -> MaximumSupportedWeightLbs -> ShowS
Prelude.Show,
      ReadPrec [MaximumSupportedWeightLbs]
ReadPrec MaximumSupportedWeightLbs
Int -> ReadS MaximumSupportedWeightLbs
ReadS [MaximumSupportedWeightLbs]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MaximumSupportedWeightLbs]
$creadListPrec :: ReadPrec [MaximumSupportedWeightLbs]
readPrec :: ReadPrec MaximumSupportedWeightLbs
$creadPrec :: ReadPrec MaximumSupportedWeightLbs
readList :: ReadS [MaximumSupportedWeightLbs]
$creadList :: ReadS [MaximumSupportedWeightLbs]
readsPrec :: Int -> ReadS MaximumSupportedWeightLbs
$creadsPrec :: Int -> ReadS MaximumSupportedWeightLbs
Prelude.Read,
      MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c/= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
== :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c== :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
Prelude.Eq,
      Eq MaximumSupportedWeightLbs
MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Ordering
MaximumSupportedWeightLbs
-> MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs
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 :: MaximumSupportedWeightLbs
-> MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs
$cmin :: MaximumSupportedWeightLbs
-> MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs
max :: MaximumSupportedWeightLbs
-> MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs
$cmax :: MaximumSupportedWeightLbs
-> MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs
>= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c>= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
> :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c> :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
<= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c<= :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
< :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
$c< :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Bool
compare :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Ordering
$ccompare :: MaximumSupportedWeightLbs -> MaximumSupportedWeightLbs -> Ordering
Prelude.Ord,
      forall x.
Rep MaximumSupportedWeightLbs x -> MaximumSupportedWeightLbs
forall x.
MaximumSupportedWeightLbs -> Rep MaximumSupportedWeightLbs x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MaximumSupportedWeightLbs x -> MaximumSupportedWeightLbs
$cfrom :: forall x.
MaximumSupportedWeightLbs -> Rep MaximumSupportedWeightLbs x
Prelude.Generic
    )
  deriving newtype
    ( Eq MaximumSupportedWeightLbs
Int -> MaximumSupportedWeightLbs -> Int
MaximumSupportedWeightLbs -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: MaximumSupportedWeightLbs -> Int
$chash :: MaximumSupportedWeightLbs -> Int
hashWithSalt :: Int -> MaximumSupportedWeightLbs -> Int
$chashWithSalt :: Int -> MaximumSupportedWeightLbs -> Int
Prelude.Hashable,
      MaximumSupportedWeightLbs -> ()
forall a. (a -> ()) -> NFData a
rnf :: MaximumSupportedWeightLbs -> ()
$crnf :: MaximumSupportedWeightLbs -> ()
Prelude.NFData,
      Text -> Either String MaximumSupportedWeightLbs
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String MaximumSupportedWeightLbs
$cfromText :: Text -> Either String MaximumSupportedWeightLbs
Data.FromText,
      MaximumSupportedWeightLbs -> Text
forall a. (a -> Text) -> ToText a
toText :: MaximumSupportedWeightLbs -> Text
$ctoText :: MaximumSupportedWeightLbs -> Text
Data.ToText,
      MaximumSupportedWeightLbs -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: MaximumSupportedWeightLbs -> ByteString
$ctoBS :: MaximumSupportedWeightLbs -> ByteString
Data.ToByteString,
      MaximumSupportedWeightLbs -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: MaximumSupportedWeightLbs -> ByteStringBuilder
$cbuild :: MaximumSupportedWeightLbs -> ByteStringBuilder
Data.ToLog,
      HeaderName -> MaximumSupportedWeightLbs -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> MaximumSupportedWeightLbs -> [Header]
$ctoHeader :: HeaderName -> MaximumSupportedWeightLbs -> [Header]
Data.ToHeader,
      MaximumSupportedWeightLbs -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: MaximumSupportedWeightLbs -> QueryString
$ctoQuery :: MaximumSupportedWeightLbs -> QueryString
Data.ToQuery,
      Value -> Parser [MaximumSupportedWeightLbs]
Value -> Parser MaximumSupportedWeightLbs
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [MaximumSupportedWeightLbs]
$cparseJSONList :: Value -> Parser [MaximumSupportedWeightLbs]
parseJSON :: Value -> Parser MaximumSupportedWeightLbs
$cparseJSON :: Value -> Parser MaximumSupportedWeightLbs
Data.FromJSON,
      FromJSONKeyFunction [MaximumSupportedWeightLbs]
FromJSONKeyFunction MaximumSupportedWeightLbs
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [MaximumSupportedWeightLbs]
$cfromJSONKeyList :: FromJSONKeyFunction [MaximumSupportedWeightLbs]
fromJSONKey :: FromJSONKeyFunction MaximumSupportedWeightLbs
$cfromJSONKey :: FromJSONKeyFunction MaximumSupportedWeightLbs
Data.FromJSONKey,
      [MaximumSupportedWeightLbs] -> Encoding
[MaximumSupportedWeightLbs] -> Value
MaximumSupportedWeightLbs -> Encoding
MaximumSupportedWeightLbs -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [MaximumSupportedWeightLbs] -> Encoding
$ctoEncodingList :: [MaximumSupportedWeightLbs] -> Encoding
toJSONList :: [MaximumSupportedWeightLbs] -> Value
$ctoJSONList :: [MaximumSupportedWeightLbs] -> Value
toEncoding :: MaximumSupportedWeightLbs -> Encoding
$ctoEncoding :: MaximumSupportedWeightLbs -> Encoding
toJSON :: MaximumSupportedWeightLbs -> Value
$ctoJSON :: MaximumSupportedWeightLbs -> Value
Data.ToJSON,
      ToJSONKeyFunction [MaximumSupportedWeightLbs]
ToJSONKeyFunction MaximumSupportedWeightLbs
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [MaximumSupportedWeightLbs]
$ctoJSONKeyList :: ToJSONKeyFunction [MaximumSupportedWeightLbs]
toJSONKey :: ToJSONKeyFunction MaximumSupportedWeightLbs
$ctoJSONKey :: ToJSONKeyFunction MaximumSupportedWeightLbs
Data.ToJSONKey,
      [Node] -> Either String MaximumSupportedWeightLbs
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String MaximumSupportedWeightLbs
$cparseXML :: [Node] -> Either String MaximumSupportedWeightLbs
Data.FromXML,
      MaximumSupportedWeightLbs -> XML
forall a. (a -> XML) -> ToXML a
toXML :: MaximumSupportedWeightLbs -> XML
$ctoXML :: MaximumSupportedWeightLbs -> XML
Data.ToXML
    )

pattern MaximumSupportedWeightLbs_MAX_1400_LBS :: MaximumSupportedWeightLbs
pattern $bMaximumSupportedWeightLbs_MAX_1400_LBS :: MaximumSupportedWeightLbs
$mMaximumSupportedWeightLbs_MAX_1400_LBS :: forall {r}.
MaximumSupportedWeightLbs -> ((# #) -> r) -> ((# #) -> r) -> r
MaximumSupportedWeightLbs_MAX_1400_LBS = MaximumSupportedWeightLbs' "MAX_1400_LBS"

pattern MaximumSupportedWeightLbs_MAX_1600_LBS :: MaximumSupportedWeightLbs
pattern $bMaximumSupportedWeightLbs_MAX_1600_LBS :: MaximumSupportedWeightLbs
$mMaximumSupportedWeightLbs_MAX_1600_LBS :: forall {r}.
MaximumSupportedWeightLbs -> ((# #) -> r) -> ((# #) -> r) -> r
MaximumSupportedWeightLbs_MAX_1600_LBS = MaximumSupportedWeightLbs' "MAX_1600_LBS"

pattern MaximumSupportedWeightLbs_MAX_1800_LBS :: MaximumSupportedWeightLbs
pattern $bMaximumSupportedWeightLbs_MAX_1800_LBS :: MaximumSupportedWeightLbs
$mMaximumSupportedWeightLbs_MAX_1800_LBS :: forall {r}.
MaximumSupportedWeightLbs -> ((# #) -> r) -> ((# #) -> r) -> r
MaximumSupportedWeightLbs_MAX_1800_LBS = MaximumSupportedWeightLbs' "MAX_1800_LBS"

pattern MaximumSupportedWeightLbs_MAX_2000_LBS :: MaximumSupportedWeightLbs
pattern $bMaximumSupportedWeightLbs_MAX_2000_LBS :: MaximumSupportedWeightLbs
$mMaximumSupportedWeightLbs_MAX_2000_LBS :: forall {r}.
MaximumSupportedWeightLbs -> ((# #) -> r) -> ((# #) -> r) -> r
MaximumSupportedWeightLbs_MAX_2000_LBS = MaximumSupportedWeightLbs' "MAX_2000_LBS"

pattern MaximumSupportedWeightLbs_NO_LIMIT :: MaximumSupportedWeightLbs
pattern $bMaximumSupportedWeightLbs_NO_LIMIT :: MaximumSupportedWeightLbs
$mMaximumSupportedWeightLbs_NO_LIMIT :: forall {r}.
MaximumSupportedWeightLbs -> ((# #) -> r) -> ((# #) -> r) -> r
MaximumSupportedWeightLbs_NO_LIMIT = MaximumSupportedWeightLbs' "NO_LIMIT"

{-# COMPLETE
  MaximumSupportedWeightLbs_MAX_1400_LBS,
  MaximumSupportedWeightLbs_MAX_1600_LBS,
  MaximumSupportedWeightLbs_MAX_1800_LBS,
  MaximumSupportedWeightLbs_MAX_2000_LBS,
  MaximumSupportedWeightLbs_NO_LIMIT,
  MaximumSupportedWeightLbs'
  #-}