/** * 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 DatabaseMigrationService { namespace Model { /** *

Provides information about the source database to analyze and provide target * recommendations according to the specified requirements.

See * Also:

AWS * API Reference

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

The identifier of the source database.

*/ inline const Aws::String& GetDatabaseId() const{ return m_databaseId; } /** *

The identifier of the source database.

*/ inline bool DatabaseIdHasBeenSet() const { return m_databaseIdHasBeenSet; } /** *

The identifier of the source database.

*/ inline void SetDatabaseId(const Aws::String& value) { m_databaseIdHasBeenSet = true; m_databaseId = value; } /** *

The identifier of the source database.

*/ inline void SetDatabaseId(Aws::String&& value) { m_databaseIdHasBeenSet = true; m_databaseId = std::move(value); } /** *

The identifier of the source database.

*/ inline void SetDatabaseId(const char* value) { m_databaseIdHasBeenSet = true; m_databaseId.assign(value); } /** *

The identifier of the source database.

*/ inline StartRecommendationsRequestEntry& WithDatabaseId(const Aws::String& value) { SetDatabaseId(value); return *this;} /** *

The identifier of the source database.

*/ inline StartRecommendationsRequestEntry& WithDatabaseId(Aws::String&& value) { SetDatabaseId(std::move(value)); return *this;} /** *

The identifier of the source database.

*/ inline StartRecommendationsRequestEntry& WithDatabaseId(const char* value) { SetDatabaseId(value); return *this;} /** *

The required target engine settings.

*/ inline const RecommendationSettings& GetSettings() const{ return m_settings; } /** *

The required target engine settings.

*/ inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; } /** *

The required target engine settings.

*/ inline void SetSettings(const RecommendationSettings& value) { m_settingsHasBeenSet = true; m_settings = value; } /** *

The required target engine settings.

*/ inline void SetSettings(RecommendationSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); } /** *

The required target engine settings.

*/ inline StartRecommendationsRequestEntry& WithSettings(const RecommendationSettings& value) { SetSettings(value); return *this;} /** *

The required target engine settings.

*/ inline StartRecommendationsRequestEntry& WithSettings(RecommendationSettings&& value) { SetSettings(std::move(value)); return *this;} private: Aws::String m_databaseId; bool m_databaseIdHasBeenSet = false; RecommendationSettings m_settings; bool m_settingsHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws