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