{-# 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.MigrationHubStrategy.Types.AppType
-- 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.MigrationHubStrategy.Types.AppType
  ( AppType
      ( ..,
        AppType_Cassandra,
        AppType_DB2,
        AppType_DotNetFramework,
        AppType_Dotnet,
        AppType_DotnetCore,
        AppType_IBM_WebSphere,
        AppType_IIS,
        AppType_JBoss,
        AppType_Java,
        AppType_Maria_DB,
        AppType_Mongo_DB,
        AppType_MySQL,
        AppType_Oracle,
        AppType_Oracle_WebLogic,
        AppType_Other,
        AppType_PostgreSQLServer,
        AppType_SQLServer,
        AppType_Spring,
        AppType_Sybase,
        AppType_Tomcat,
        AppType_Unknown,
        AppType_Visual_Basic
      ),
  )
where

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

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

pattern AppType_Cassandra :: AppType
pattern $bAppType_Cassandra :: AppType
$mAppType_Cassandra :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Cassandra = AppType' "Cassandra"

pattern AppType_DB2 :: AppType
pattern $bAppType_DB2 :: AppType
$mAppType_DB2 :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_DB2 = AppType' "DB2"

pattern AppType_DotNetFramework :: AppType
pattern $bAppType_DotNetFramework :: AppType
$mAppType_DotNetFramework :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_DotNetFramework = AppType' "DotNetFramework"

pattern AppType_Dotnet :: AppType
pattern $bAppType_Dotnet :: AppType
$mAppType_Dotnet :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Dotnet = AppType' "Dotnet"

pattern AppType_DotnetCore :: AppType
pattern $bAppType_DotnetCore :: AppType
$mAppType_DotnetCore :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_DotnetCore = AppType' "DotnetCore"

pattern AppType_IBM_WebSphere :: AppType
pattern $bAppType_IBM_WebSphere :: AppType
$mAppType_IBM_WebSphere :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_IBM_WebSphere = AppType' "IBM WebSphere"

pattern AppType_IIS :: AppType
pattern $bAppType_IIS :: AppType
$mAppType_IIS :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_IIS = AppType' "IIS"

pattern AppType_JBoss :: AppType
pattern $bAppType_JBoss :: AppType
$mAppType_JBoss :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_JBoss = AppType' "JBoss"

pattern AppType_Java :: AppType
pattern $bAppType_Java :: AppType
$mAppType_Java :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Java = AppType' "Java"

pattern AppType_Maria_DB :: AppType
pattern $bAppType_Maria_DB :: AppType
$mAppType_Maria_DB :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Maria_DB = AppType' "Maria DB"

pattern AppType_Mongo_DB :: AppType
pattern $bAppType_Mongo_DB :: AppType
$mAppType_Mongo_DB :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Mongo_DB = AppType' "Mongo DB"

pattern AppType_MySQL :: AppType
pattern $bAppType_MySQL :: AppType
$mAppType_MySQL :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_MySQL = AppType' "MySQL"

pattern AppType_Oracle :: AppType
pattern $bAppType_Oracle :: AppType
$mAppType_Oracle :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Oracle = AppType' "Oracle"

pattern AppType_Oracle_WebLogic :: AppType
pattern $bAppType_Oracle_WebLogic :: AppType
$mAppType_Oracle_WebLogic :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Oracle_WebLogic = AppType' "Oracle WebLogic"

pattern AppType_Other :: AppType
pattern $bAppType_Other :: AppType
$mAppType_Other :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Other = AppType' "Other"

pattern AppType_PostgreSQLServer :: AppType
pattern $bAppType_PostgreSQLServer :: AppType
$mAppType_PostgreSQLServer :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_PostgreSQLServer = AppType' "PostgreSQLServer"

pattern AppType_SQLServer :: AppType
pattern $bAppType_SQLServer :: AppType
$mAppType_SQLServer :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_SQLServer = AppType' "SQLServer"

pattern AppType_Spring :: AppType
pattern $bAppType_Spring :: AppType
$mAppType_Spring :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Spring = AppType' "Spring"

pattern AppType_Sybase :: AppType
pattern $bAppType_Sybase :: AppType
$mAppType_Sybase :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Sybase = AppType' "Sybase"

pattern AppType_Tomcat :: AppType
pattern $bAppType_Tomcat :: AppType
$mAppType_Tomcat :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Tomcat = AppType' "Tomcat"

pattern AppType_Unknown :: AppType
pattern $bAppType_Unknown :: AppType
$mAppType_Unknown :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Unknown = AppType' "Unknown"

pattern AppType_Visual_Basic :: AppType
pattern $bAppType_Visual_Basic :: AppType
$mAppType_Visual_Basic :: forall {r}. AppType -> ((# #) -> r) -> ((# #) -> r) -> r
AppType_Visual_Basic = AppType' "Visual Basic"

{-# COMPLETE
  AppType_Cassandra,
  AppType_DB2,
  AppType_DotNetFramework,
  AppType_Dotnet,
  AppType_DotnetCore,
  AppType_IBM_WebSphere,
  AppType_IIS,
  AppType_JBoss,
  AppType_Java,
  AppType_Maria_DB,
  AppType_Mongo_DB,
  AppType_MySQL,
  AppType_Oracle,
  AppType_Oracle_WebLogic,
  AppType_Other,
  AppType_PostgreSQLServer,
  AppType_SQLServer,
  AppType_Spring,
  AppType_Sybase,
  AppType_Tomcat,
  AppType_Unknown,
  AppType_Visual_Basic,
  AppType'
  #-}