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