/** * 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 { namespace MigrationHubStrategyRecommendations { namespace Model { /** */ class StartRecommendationReportGenerationRequest : public MigrationHubStrategyRecommendationsRequest { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartRecommendationReportGenerationRequest(); // 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 "StartRecommendationReportGeneration"; } AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override; /** *

Groups the resources in the recommendation report with a unique name.

*/ inline const Aws::Vector& GetGroupIdFilter() const{ return m_groupIdFilter; } /** *

Groups the resources in the recommendation report with a unique name.

*/ inline bool GroupIdFilterHasBeenSet() const { return m_groupIdFilterHasBeenSet; } /** *

Groups the resources in the recommendation report with a unique name.

*/ inline void SetGroupIdFilter(const Aws::Vector& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = value; } /** *

Groups the resources in the recommendation report with a unique name.

*/ inline void SetGroupIdFilter(Aws::Vector&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = std::move(value); } /** *

Groups the resources in the recommendation report with a unique name.

*/ inline StartRecommendationReportGenerationRequest& WithGroupIdFilter(const Aws::Vector& value) { SetGroupIdFilter(value); return *this;} /** *

Groups the resources in the recommendation report with a unique name.

*/ inline StartRecommendationReportGenerationRequest& WithGroupIdFilter(Aws::Vector&& value) { SetGroupIdFilter(std::move(value)); return *this;} /** *

Groups the resources in the recommendation report with a unique name.

*/ inline StartRecommendationReportGenerationRequest& AddGroupIdFilter(const Group& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(value); return *this; } /** *

Groups the resources in the recommendation report with a unique name.

*/ inline StartRecommendationReportGenerationRequest& AddGroupIdFilter(Group&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(std::move(value)); return *this; } /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; } /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; } /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); } /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline StartRecommendationReportGenerationRequest& WithOutputFormat(const OutputFormat& value) { SetOutputFormat(value); return *this;} /** *

The output format for the recommendation report file. The default format is * Microsoft Excel.

*/ inline StartRecommendationReportGenerationRequest& WithOutputFormat(OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;} private: Aws::Vector m_groupIdFilter; bool m_groupIdFilterHasBeenSet = false; OutputFormat m_outputFormat; bool m_outputFormatHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws