AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartRecommendationReportGenerationRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/migrationhubstrategy/model/OutputFormat.h>
11#include <aws/migrationhubstrategy/model/Group.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MigrationHubStrategyRecommendations
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartRecommendationReportGenerationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartRecommendationReportGeneration"; }
33
34 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Vector<Group>& GetGroupIdFilter() const{ return m_groupIdFilter; }
42 inline bool GroupIdFilterHasBeenSet() const { return m_groupIdFilterHasBeenSet; }
43 inline void SetGroupIdFilter(const Aws::Vector<Group>& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = value; }
44 inline void SetGroupIdFilter(Aws::Vector<Group>&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = std::move(value); }
47 inline StartRecommendationReportGenerationRequest& AddGroupIdFilter(const Group& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(value); return *this; }
48 inline StartRecommendationReportGenerationRequest& AddGroupIdFilter(Group&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(std::move(value)); return *this; }
50
52
56 inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
57 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
58 inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
59 inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
63 private:
64
65 Aws::Vector<Group> m_groupIdFilter;
66 bool m_groupIdFilterHasBeenSet = false;
67
68 OutputFormat m_outputFormat;
69 bool m_outputFormatHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MigrationHubStrategyRecommendations
74} // namespace Aws
StartRecommendationReportGenerationRequest & WithGroupIdFilter(const Aws::Vector< Group > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector