{-# 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.RobotSoftwareSuiteVersionType
-- 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.RobotSoftwareSuiteVersionType
  ( RobotSoftwareSuiteVersionType
      ( ..,
        RobotSoftwareSuiteVersionType_Dashing,
        RobotSoftwareSuiteVersionType_Foxy,
        RobotSoftwareSuiteVersionType_Kinetic,
        RobotSoftwareSuiteVersionType_Melodic
      ),
  )
where

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

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

pattern RobotSoftwareSuiteVersionType_Dashing :: RobotSoftwareSuiteVersionType
pattern $bRobotSoftwareSuiteVersionType_Dashing :: RobotSoftwareSuiteVersionType
$mRobotSoftwareSuiteVersionType_Dashing :: forall {r}.
RobotSoftwareSuiteVersionType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteVersionType_Dashing = RobotSoftwareSuiteVersionType' "Dashing"

pattern RobotSoftwareSuiteVersionType_Foxy :: RobotSoftwareSuiteVersionType
pattern $bRobotSoftwareSuiteVersionType_Foxy :: RobotSoftwareSuiteVersionType
$mRobotSoftwareSuiteVersionType_Foxy :: forall {r}.
RobotSoftwareSuiteVersionType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteVersionType_Foxy = RobotSoftwareSuiteVersionType' "Foxy"

pattern RobotSoftwareSuiteVersionType_Kinetic :: RobotSoftwareSuiteVersionType
pattern $bRobotSoftwareSuiteVersionType_Kinetic :: RobotSoftwareSuiteVersionType
$mRobotSoftwareSuiteVersionType_Kinetic :: forall {r}.
RobotSoftwareSuiteVersionType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteVersionType_Kinetic = RobotSoftwareSuiteVersionType' "Kinetic"

pattern RobotSoftwareSuiteVersionType_Melodic :: RobotSoftwareSuiteVersionType
pattern $bRobotSoftwareSuiteVersionType_Melodic :: RobotSoftwareSuiteVersionType
$mRobotSoftwareSuiteVersionType_Melodic :: forall {r}.
RobotSoftwareSuiteVersionType -> ((# #) -> r) -> ((# #) -> r) -> r
RobotSoftwareSuiteVersionType_Melodic = RobotSoftwareSuiteVersionType' "Melodic"

{-# COMPLETE
  RobotSoftwareSuiteVersionType_Dashing,
  RobotSoftwareSuiteVersionType_Foxy,
  RobotSoftwareSuiteVersionType_Kinetic,
  RobotSoftwareSuiteVersionType_Melodic,
  RobotSoftwareSuiteVersionType'
  #-}