/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace DatabaseMigrationService { namespace Model { /** */ class BatchStartRecommendationsRequest : public DatabaseMigrationServiceRequest { public: AWS_DATABASEMIGRATIONSERVICE_API BatchStartRecommendationsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchStartRecommendations"; } AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override; AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline const Aws::Vector& GetData() const{ return m_data; } /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline void SetData(const Aws::Vector& value) { m_dataHasBeenSet = true; m_data = value; } /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline void SetData(Aws::Vector&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline BatchStartRecommendationsRequest& WithData(const Aws::Vector& value) { SetData(value); return *this;} /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline BatchStartRecommendationsRequest& WithData(Aws::Vector&& value) { SetData(std::move(value)); return *this;} /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline BatchStartRecommendationsRequest& AddData(const StartRecommendationsRequestEntry& value) { m_dataHasBeenSet = true; m_data.push_back(value); return *this; } /** *

Provides information about source databases to analyze. After this analysis, * Fleet Advisor recommends target engines for each source database.

*/ inline BatchStartRecommendationsRequest& AddData(StartRecommendationsRequestEntry&& value) { m_dataHasBeenSet = true; m_data.push_back(std::move(value)); return *this; } private: Aws::Vector m_data; bool m_dataHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws