{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.RobOMaker.Types.RobotSoftwareSuiteType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.RobOMaker.Types.RobotSoftwareSuiteType
  ( RobotSoftwareSuiteType
      ( ..,
        RobotSoftwareSuiteType_General,
        RobotSoftwareSuiteType_ROS,
        RobotSoftwareSuiteType_ROS2
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype RobotSoftwareSuiteType = RobotSoftwareSuiteType'
  { RobotSoftwareSuiteType -> Text
fromRobotSoftwareSuiteType ::
      Data.Text
  }
  deriving stock
    ( Int -> RobotSoftwareSuiteType -> ShowS
[RobotSoftwareSuiteType] -> ShowS
RobotSoftwareSuiteType -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq RobotSoftwareSuiteType
Int -> RobotSoftwareSuiteType -> Int
RobotSoftwareSuiteType -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: RobotSoftwareSuiteType -> ()
$crnf :: RobotSoftwareSuiteType -> ()
Prelude.NFData,
      Text -> Either String RobotSoftwareSuiteType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String RobotSoftwareSuiteType
$cfromText :: Text -> Either String RobotSoftwareSuiteType
Data.FromText,
      RobotSoftwareSuiteType -> Text
forall a. (a -> Text) -> ToText a
toText :: RobotSoftwareSuiteType -> Text
$ctoText :: RobotSoftwareSuiteType -> Text
Data.ToText,
      RobotSoftwareSuiteType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: RobotSoftwareSuiteType -> ByteString
$ctoBS :: RobotSoftwareSuiteType -> ByteString
Data.ToByteString,
      RobotSoftwareSuiteType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: RobotSoftwareSuiteType -> ByteStringBuilder
$cbuild :: RobotSoftwareSuiteType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> RobotSoftwareSuiteType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> RobotSoftwareSuiteType -> [Header]
$ctoHeader :: HeaderName -> RobotSoftwareSuiteType -> [Header]
Data.ToHeader,
      RobotSoftwareSuiteType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: RobotSoftwareSuiteType -> QueryString
$ctoQuery :: RobotSoftwareSuiteType -> QueryString
Data.ToQuery,
      Value -> Parser [RobotSoftwareSuiteType]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [RobotSoftwareSuiteType]
FromJSONKeyFunction RobotSoftwareSuiteType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [RobotSoftwareSuiteType]
$cfromJSONKeyList :: FromJSONKeyFunction [RobotSoftwareSuiteType]
fromJSONKey :: FromJSONKeyFunction RobotSoftwareSuiteType
$cfromJSONKey :: FromJSONKeyFunction RobotSoftwareSuiteType
Data.FromJSONKey,
      [RobotSoftwareSuiteType] -> Encoding
[RobotSoftwareSuiteType] -> Value
RobotSoftwareSuiteType -> Encoding
RobotSoftwareSuiteType -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [RobotSoftwareSuiteType]
ToJSONKeyFunction RobotSoftwareSuiteType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [RobotSoftwareSuiteType]
$ctoJSONKeyList :: ToJSONKeyFunction [RobotSoftwareSuiteType]
toJSONKey :: ToJSONKeyFunction RobotSoftwareSuiteType
$ctoJSONKey :: ToJSONKeyFunction RobotSoftwareSuiteType
Data.ToJSONKey,
      [Node] -> Either String RobotSoftwareSuiteType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String RobotSoftwareSuiteType
$cparseXML :: [Node] -> Either String RobotSoftwareSuiteType
Data.FromXML,
      RobotSoftwareSuiteType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: RobotSoftwareSuiteType -> XML
$ctoXML :: RobotSoftwareSuiteType -> XML
Data.ToXML
    )

pattern RobotSoftwareSuiteType_General :: RobotSoftwareSuiteType
pattern $bRobotSoftwareSuiteType_General :: RobotSoftwareSuiteType
$mRobotSoftwareSuiteType_General :: forall {r}.
RobotSoftwareSuiteType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteType_General = RobotSoftwareSuiteType' "General"

pattern RobotSoftwareSuiteType_ROS :: RobotSoftwareSuiteType
pattern $bRobotSoftwareSuiteType_ROS :: RobotSoftwareSuiteType
$mRobotSoftwareSuiteType_ROS :: forall {r}.
RobotSoftwareSuiteType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteType_ROS = RobotSoftwareSuiteType' "ROS"

pattern RobotSoftwareSuiteType_ROS2 :: RobotSoftwareSuiteType
pattern $bRobotSoftwareSuiteType_ROS2 :: RobotSoftwareSuiteType
$mRobotSoftwareSuiteType_ROS2 :: forall {r}.
RobotSoftwareSuiteType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteType_ROS2 = RobotSoftwareSuiteType' "ROS2"

{-# COMPLETE
  RobotSoftwareSuiteType_General,
  RobotSoftwareSuiteType_ROS,
  RobotSoftwareSuiteType_ROS2,
  RobotSoftwareSuiteType'
  #-}