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