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