/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

The object containing details about database migration preferences, when you * have no particular preference.

See Also:

AWS * API Reference

*/ class NoDatabaseMigrationPreference { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NoDatabaseMigrationPreference(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NoDatabaseMigrationPreference(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API NoDatabaseMigrationPreference& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The target database engine for database migration preference that you * specify.

*/ inline const Aws::Vector& GetTargetDatabaseEngine() const{ return m_targetDatabaseEngine; } /** *

The target database engine for database migration preference that you * specify.

*/ inline bool TargetDatabaseEngineHasBeenSet() const { return m_targetDatabaseEngineHasBeenSet; } /** *

The target database engine for database migration preference that you * specify.

*/ inline void SetTargetDatabaseEngine(const Aws::Vector& value) { m_targetDatabaseEngineHasBeenSet = true; m_targetDatabaseEngine = value; } /** *

The target database engine for database migration preference that you * specify.

*/ inline void SetTargetDatabaseEngine(Aws::Vector&& value) { m_targetDatabaseEngineHasBeenSet = true; m_targetDatabaseEngine = std::move(value); } /** *

The target database engine for database migration preference that you * specify.

*/ inline NoDatabaseMigrationPreference& WithTargetDatabaseEngine(const Aws::Vector& value) { SetTargetDatabaseEngine(value); return *this;} /** *

The target database engine for database migration preference that you * specify.

*/ inline NoDatabaseMigrationPreference& WithTargetDatabaseEngine(Aws::Vector&& value) { SetTargetDatabaseEngine(std::move(value)); return *this;} /** *

The target database engine for database migration preference that you * specify.

*/ inline NoDatabaseMigrationPreference& AddTargetDatabaseEngine(const TargetDatabaseEngine& value) { m_targetDatabaseEngineHasBeenSet = true; m_targetDatabaseEngine.push_back(value); return *this; } /** *

The target database engine for database migration preference that you * specify.

*/ inline NoDatabaseMigrationPreference& AddTargetDatabaseEngine(TargetDatabaseEngine&& value) { m_targetDatabaseEngineHasBeenSet = true; m_targetDatabaseEngine.push_back(std::move(value)); return *this; } private: Aws::Vector m_targetDatabaseEngine; bool m_targetDatabaseEngineHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws