{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- 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.Prelude as Prelude

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

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

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

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

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

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