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