AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListApplicationComponentsRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/migrationhubstrategy/model/ApplicationComponentCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/migrationhubstrategy/model/SortOrder.h>
13#include <aws/migrationhubstrategy/model/Group.h>
14#include <utility>
15
16namespace Aws
17{
18namespace MigrationHubStrategyRecommendations
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListApplicationComponentsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListApplicationComponents"; }
35
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const ApplicationComponentCriteria& GetApplicationComponentCriteria() const{ return m_applicationComponentCriteria; }
44 inline bool ApplicationComponentCriteriaHasBeenSet() const { return m_applicationComponentCriteriaHasBeenSet; }
45 inline void SetApplicationComponentCriteria(const ApplicationComponentCriteria& value) { m_applicationComponentCriteriaHasBeenSet = true; m_applicationComponentCriteria = value; }
46 inline void SetApplicationComponentCriteria(ApplicationComponentCriteria&& value) { m_applicationComponentCriteriaHasBeenSet = true; m_applicationComponentCriteria = std::move(value); }
50
52
59 inline const Aws::String& GetFilterValue() const{ return m_filterValue; }
60 inline bool FilterValueHasBeenSet() const { return m_filterValueHasBeenSet; }
61 inline void SetFilterValue(const Aws::String& value) { m_filterValueHasBeenSet = true; m_filterValue = value; }
62 inline void SetFilterValue(Aws::String&& value) { m_filterValueHasBeenSet = true; m_filterValue = std::move(value); }
63 inline void SetFilterValue(const char* value) { m_filterValueHasBeenSet = true; m_filterValue.assign(value); }
64 inline ListApplicationComponentsRequest& WithFilterValue(const Aws::String& value) { SetFilterValue(value); return *this;}
65 inline ListApplicationComponentsRequest& WithFilterValue(Aws::String&& value) { SetFilterValue(std::move(value)); return *this;}
66 inline ListApplicationComponentsRequest& WithFilterValue(const char* value) { SetFilterValue(value); return *this;}
68
70
73 inline const Aws::Vector<Group>& GetGroupIdFilter() const{ return m_groupIdFilter; }
74 inline bool GroupIdFilterHasBeenSet() const { return m_groupIdFilterHasBeenSet; }
75 inline void SetGroupIdFilter(const Aws::Vector<Group>& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = value; }
76 inline void SetGroupIdFilter(Aws::Vector<Group>&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter = std::move(value); }
79 inline ListApplicationComponentsRequest& AddGroupIdFilter(const Group& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(value); return *this; }
80 inline ListApplicationComponentsRequest& AddGroupIdFilter(Group&& value) { m_groupIdFilterHasBeenSet = true; m_groupIdFilter.push_back(std::move(value)); return *this; }
82
84
88 inline int GetMaxResults() const{ return m_maxResults; }
89 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
90 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
91 inline ListApplicationComponentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
93
95
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
104 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
106 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 inline ListApplicationComponentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 inline ListApplicationComponentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 inline ListApplicationComponentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111
113
117 inline const SortOrder& GetSort() const{ return m_sort; }
118 inline bool SortHasBeenSet() const { return m_sortHasBeenSet; }
119 inline void SetSort(const SortOrder& value) { m_sortHasBeenSet = true; m_sort = value; }
120 inline void SetSort(SortOrder&& value) { m_sortHasBeenSet = true; m_sort = std::move(value); }
121 inline ListApplicationComponentsRequest& WithSort(const SortOrder& value) { SetSort(value); return *this;}
122 inline ListApplicationComponentsRequest& WithSort(SortOrder&& value) { SetSort(std::move(value)); return *this;}
124 private:
125
126 ApplicationComponentCriteria m_applicationComponentCriteria;
127 bool m_applicationComponentCriteriaHasBeenSet = false;
128
129 Aws::String m_filterValue;
130 bool m_filterValueHasBeenSet = false;
131
132 Aws::Vector<Group> m_groupIdFilter;
133 bool m_groupIdFilterHasBeenSet = false;
134
135 int m_maxResults;
136 bool m_maxResultsHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 SortOrder m_sort;
142 bool m_sortHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MigrationHubStrategyRecommendations
147} // namespace Aws
ListApplicationComponentsRequest & WithApplicationComponentCriteria(const ApplicationComponentCriteria &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
ListApplicationComponentsRequest & WithApplicationComponentCriteria(ApplicationComponentCriteria &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ListApplicationComponentsRequest()
ListApplicationComponentsRequest & WithGroupIdFilter(Aws::Vector< Group > &&value)
ListApplicationComponentsRequest & WithGroupIdFilter(const Aws::Vector< Group > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector