{-# 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.PowerDrawKva
-- 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.PowerDrawKva
  ( PowerDrawKva
      ( ..,
        PowerDrawKva_POWER_10_KVA,
        PowerDrawKva_POWER_15_KVA,
        PowerDrawKva_POWER_5_KVA
      ),
  )
where

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

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

pattern PowerDrawKva_POWER_10_KVA :: PowerDrawKva
pattern $bPowerDrawKva_POWER_10_KVA :: PowerDrawKva
$mPowerDrawKva_POWER_10_KVA :: forall {r}. PowerDrawKva -> ((# #) -> r) -> ((# #) -> r) -> r
PowerDrawKva_POWER_10_KVA = PowerDrawKva' "POWER_10_KVA"

pattern PowerDrawKva_POWER_15_KVA :: PowerDrawKva
pattern $bPowerDrawKva_POWER_15_KVA :: PowerDrawKva
$mPowerDrawKva_POWER_15_KVA :: forall {r}. PowerDrawKva -> ((# #) -> r) -> ((# #) -> r) -> r
PowerDrawKva_POWER_15_KVA = PowerDrawKva' "POWER_15_KVA"

pattern PowerDrawKva_POWER_5_KVA :: PowerDrawKva
pattern $bPowerDrawKva_POWER_5_KVA :: PowerDrawKva
$mPowerDrawKva_POWER_5_KVA :: forall {r}. PowerDrawKva -> ((# #) -> r) -> ((# #) -> r) -> r
PowerDrawKva_POWER_5_KVA = PowerDrawKva' "POWER_5_KVA"

{-# COMPLETE
  PowerDrawKva_POWER_10_KVA,
  PowerDrawKva_POWER_15_KVA,
  PowerDrawKva_POWER_5_KVA,
  PowerDrawKva'
  #-}