{-# 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.TransformationToolName
-- 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.TransformationToolName
  ( TransformationToolName
      ( ..,
        TransformationToolName_App2Container,
        TransformationToolName_Application_Migration_Service,
        TransformationToolName_Database_Migration_Service,
        TransformationToolName_End_of_Support_Migration,
        TransformationToolName_In_Place_Operating_System_Upgrade,
        TransformationToolName_Native_SQL_Server_Backup_Restore,
        TransformationToolName_Porting_Assistant_For__NET,
        TransformationToolName_Schema_Conversion_Tool,
        TransformationToolName_Strategy_Recommendation_Support,
        TransformationToolName_Windows_Web_Application_Migration_Assistant
      ),
  )
where

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

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

pattern TransformationToolName_App2Container :: TransformationToolName
pattern $bTransformationToolName_App2Container :: TransformationToolName
$mTransformationToolName_App2Container :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_App2Container = TransformationToolName' "App2Container"

pattern TransformationToolName_Application_Migration_Service :: TransformationToolName
pattern $bTransformationToolName_Application_Migration_Service :: TransformationToolName
$mTransformationToolName_Application_Migration_Service :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Application_Migration_Service = TransformationToolName' "Application Migration Service"

pattern TransformationToolName_Database_Migration_Service :: TransformationToolName
pattern $bTransformationToolName_Database_Migration_Service :: TransformationToolName
$mTransformationToolName_Database_Migration_Service :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Database_Migration_Service = TransformationToolName' "Database Migration Service"

pattern TransformationToolName_End_of_Support_Migration :: TransformationToolName
pattern $bTransformationToolName_End_of_Support_Migration :: TransformationToolName
$mTransformationToolName_End_of_Support_Migration :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_End_of_Support_Migration = TransformationToolName' "End of Support Migration"

pattern TransformationToolName_In_Place_Operating_System_Upgrade :: TransformationToolName
pattern $bTransformationToolName_In_Place_Operating_System_Upgrade :: TransformationToolName
$mTransformationToolName_In_Place_Operating_System_Upgrade :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_In_Place_Operating_System_Upgrade = TransformationToolName' "In Place Operating System Upgrade"

pattern TransformationToolName_Native_SQL_Server_Backup_Restore :: TransformationToolName
pattern $bTransformationToolName_Native_SQL_Server_Backup_Restore :: TransformationToolName
$mTransformationToolName_Native_SQL_Server_Backup_Restore :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Native_SQL_Server_Backup_Restore = TransformationToolName' "Native SQL Server Backup/Restore"

pattern TransformationToolName_Porting_Assistant_For__NET :: TransformationToolName
pattern $bTransformationToolName_Porting_Assistant_For__NET :: TransformationToolName
$mTransformationToolName_Porting_Assistant_For__NET :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Porting_Assistant_For__NET = TransformationToolName' "Porting Assistant For .NET"

pattern TransformationToolName_Schema_Conversion_Tool :: TransformationToolName
pattern $bTransformationToolName_Schema_Conversion_Tool :: TransformationToolName
$mTransformationToolName_Schema_Conversion_Tool :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Schema_Conversion_Tool = TransformationToolName' "Schema Conversion Tool"

pattern TransformationToolName_Strategy_Recommendation_Support :: TransformationToolName
pattern $bTransformationToolName_Strategy_Recommendation_Support :: TransformationToolName
$mTransformationToolName_Strategy_Recommendation_Support :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Strategy_Recommendation_Support = TransformationToolName' "Strategy Recommendation Support"

pattern TransformationToolName_Windows_Web_Application_Migration_Assistant :: TransformationToolName
pattern $bTransformationToolName_Windows_Web_Application_Migration_Assistant :: TransformationToolName
$mTransformationToolName_Windows_Web_Application_Migration_Assistant :: forall {r}.
TransformationToolName -> ((# #) -> r) -> ((# #) -> r) -> r
TransformationToolName_Windows_Web_Application_Migration_Assistant = TransformationToolName' "Windows Web Application Migration Assistant"

{-# COMPLETE
  TransformationToolName_App2Container,
  TransformationToolName_Application_Migration_Service,
  TransformationToolName_Database_Migration_Service,
  TransformationToolName_End_of_Support_Migration,
  TransformationToolName_In_Place_Operating_System_Upgrade,
  TransformationToolName_Native_SQL_Server_Backup_Restore,
  TransformationToolName_Porting_Assistant_For__NET,
  TransformationToolName_Schema_Conversion_Tool,
  TransformationToolName_Strategy_Recommendation_Support,
  TransformationToolName_Windows_Web_Application_Migration_Assistant,
  TransformationToolName'
  #-}