/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelBuildingService { namespace Model { class StartMigrationResult { public: AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult(); AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELBUILDINGSERVICE_API StartMigrationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline const Aws::String& GetV1BotName() const{ return m_v1BotName; } /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline void SetV1BotName(const Aws::String& value) { m_v1BotName = value; } /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline void SetV1BotName(Aws::String&& value) { m_v1BotName = std::move(value); } /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline void SetV1BotName(const char* value) { m_v1BotName.assign(value); } /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline StartMigrationResult& WithV1BotName(const Aws::String& value) { SetV1BotName(value); return *this;} /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline StartMigrationResult& WithV1BotName(Aws::String&& value) { SetV1BotName(std::move(value)); return *this;} /** *

The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex * V2.

*/ inline StartMigrationResult& WithV1BotName(const char* value) { SetV1BotName(value); return *this;} /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline const Aws::String& GetV1BotVersion() const{ return m_v1BotVersion; } /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline void SetV1BotVersion(const Aws::String& value) { m_v1BotVersion = value; } /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline void SetV1BotVersion(Aws::String&& value) { m_v1BotVersion = std::move(value); } /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline void SetV1BotVersion(const char* value) { m_v1BotVersion.assign(value); } /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline StartMigrationResult& WithV1BotVersion(const Aws::String& value) { SetV1BotVersion(value); return *this;} /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline StartMigrationResult& WithV1BotVersion(Aws::String&& value) { SetV1BotVersion(std::move(value)); return *this;} /** *

The version of the bot to migrate to Amazon Lex V2.

*/ inline StartMigrationResult& WithV1BotVersion(const char* value) { SetV1BotVersion(value); return *this;} /** *

The locale used for the Amazon Lex V1 bot.

*/ inline const Locale& GetV1BotLocale() const{ return m_v1BotLocale; } /** *

The locale used for the Amazon Lex V1 bot.

*/ inline void SetV1BotLocale(const Locale& value) { m_v1BotLocale = value; } /** *

The locale used for the Amazon Lex V1 bot.

*/ inline void SetV1BotLocale(Locale&& value) { m_v1BotLocale = std::move(value); } /** *

The locale used for the Amazon Lex V1 bot.

*/ inline StartMigrationResult& WithV1BotLocale(const Locale& value) { SetV1BotLocale(value); return *this;} /** *

The locale used for the Amazon Lex V1 bot.

*/ inline StartMigrationResult& WithV1BotLocale(Locale&& value) { SetV1BotLocale(std::move(value)); return *this;} /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline const Aws::String& GetV2BotId() const{ return m_v2BotId; } /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline void SetV2BotId(const Aws::String& value) { m_v2BotId = value; } /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline void SetV2BotId(Aws::String&& value) { m_v2BotId = std::move(value); } /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline void SetV2BotId(const char* value) { m_v2BotId.assign(value); } /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotId(const Aws::String& value) { SetV2BotId(value); return *this;} /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotId(Aws::String&& value) { SetV2BotId(std::move(value)); return *this;} /** *

The unique identifier for the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotId(const char* value) { SetV2BotId(value); return *this;} /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline const Aws::String& GetV2BotRole() const{ return m_v2BotRole; } /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline void SetV2BotRole(const Aws::String& value) { m_v2BotRole = value; } /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline void SetV2BotRole(Aws::String&& value) { m_v2BotRole = std::move(value); } /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline void SetV2BotRole(const char* value) { m_v2BotRole.assign(value); } /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotRole(const Aws::String& value) { SetV2BotRole(value); return *this;} /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotRole(Aws::String&& value) { SetV2BotRole(std::move(value)); return *this;} /** *

The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

*/ inline StartMigrationResult& WithV2BotRole(const char* value) { SetV2BotRole(value); return *this;} /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline const Aws::String& GetMigrationId() const{ return m_migrationId; } /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline void SetMigrationId(const Aws::String& value) { m_migrationId = value; } /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline void SetMigrationId(Aws::String&& value) { m_migrationId = std::move(value); } /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline void SetMigrationId(const char* value) { m_migrationId.assign(value); } /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline StartMigrationResult& WithMigrationId(const Aws::String& value) { SetMigrationId(value); return *this;} /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline StartMigrationResult& WithMigrationId(Aws::String&& value) { SetMigrationId(std::move(value)); return *this;} /** *

The unique identifier that Amazon Lex assigned to the migration.

*/ inline StartMigrationResult& WithMigrationId(const char* value) { SetMigrationId(value); return *this;} /** *

The strategy used to conduct the migration.

*/ inline const MigrationStrategy& GetMigrationStrategy() const{ return m_migrationStrategy; } /** *

The strategy used to conduct the migration.

*/ inline void SetMigrationStrategy(const MigrationStrategy& value) { m_migrationStrategy = value; } /** *

The strategy used to conduct the migration.

*/ inline void SetMigrationStrategy(MigrationStrategy&& value) { m_migrationStrategy = std::move(value); } /** *

The strategy used to conduct the migration.

*/ inline StartMigrationResult& WithMigrationStrategy(const MigrationStrategy& value) { SetMigrationStrategy(value); return *this;} /** *

The strategy used to conduct the migration.

*/ inline StartMigrationResult& WithMigrationStrategy(MigrationStrategy&& value) { SetMigrationStrategy(std::move(value)); return *this;} /** *

The date and time that the migration started.

*/ inline const Aws::Utils::DateTime& GetMigrationTimestamp() const{ return m_migrationTimestamp; } /** *

The date and time that the migration started.

*/ inline void SetMigrationTimestamp(const Aws::Utils::DateTime& value) { m_migrationTimestamp = value; } /** *

The date and time that the migration started.

*/ inline void SetMigrationTimestamp(Aws::Utils::DateTime&& value) { m_migrationTimestamp = std::move(value); } /** *

The date and time that the migration started.

*/ inline StartMigrationResult& WithMigrationTimestamp(const Aws::Utils::DateTime& value) { SetMigrationTimestamp(value); return *this;} /** *

The date and time that the migration started.

*/ inline StartMigrationResult& WithMigrationTimestamp(Aws::Utils::DateTime&& value) { SetMigrationTimestamp(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartMigrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartMigrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartMigrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_v1BotName; Aws::String m_v1BotVersion; Locale m_v1BotLocale; Aws::String m_v2BotId; Aws::String m_v2BotRole; Aws::String m_migrationId; MigrationStrategy m_migrationStrategy; Aws::Utils::DateTime m_migrationTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws