AWS SDK for C++  1.9.20
AWS SDK for C++
ListWorldExportJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace RoboMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "ListWorldExportJobs"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
45  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
46 
55  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 
65  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 
75  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 
85  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
86 
95  inline ListWorldExportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
105  inline ListWorldExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
115  inline ListWorldExportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116 
117 
127  inline int GetMaxResults() const{ return m_maxResults; }
128 
138  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
139 
149  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
150 
160  inline ListWorldExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
161 
162 
167  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
168 
173  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
174 
179  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
180 
185  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
186 
191  inline ListWorldExportJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
192 
197  inline ListWorldExportJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
198 
203  inline ListWorldExportJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
204 
209  inline ListWorldExportJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
210 
211  private:
212 
213  Aws::String m_nextToken;
214  bool m_nextTokenHasBeenSet;
215 
216  int m_maxResults;
217  bool m_maxResultsHasBeenSet;
218 
219  Aws::Vector<Filter> m_filters;
220  bool m_filtersHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace RoboMaker
225 } // namespace Aws
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldExportJobsRequest.h:185
Aws::RoboMaker::Model::ListWorldExportJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListWorldExportJobsRequest.h:173
Aws::RoboMaker::Model::ListWorldExportJobsRequest
Definition: ListWorldExportJobsRequest.h:24
Aws::RoboMaker::Model::ListWorldExportJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWorldExportJobsRequest.h:127
Aws::RoboMaker::Model::ListWorldExportJobsRequest::AddFilters
ListWorldExportJobsRequest & AddFilters(const Filter &value)
Definition: ListWorldExportJobsRequest.h:203
Aws::RoboMaker::Model::ListWorldExportJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWorldExportJobsRequest.h:55
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithFilters
ListWorldExportJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldExportJobsRequest.h:191
RoboMakerRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithMaxResults
ListWorldExportJobsRequest & WithMaxResults(int value)
Definition: ListWorldExportJobsRequest.h:160
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorldExportJobsRequest.h:85
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldExportJobsRequest.h:179
AWSVector.h
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithFilters
ListWorldExportJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldExportJobsRequest.h:197
Aws::RoboMaker::Model::ListWorldExportJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListWorldExportJobsRequest.h:167
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorldExportJobsRequest.h:65
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorldExportJobsRequest.h:75
AWSString.h
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWorldExportJobsRequest.h:149
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithNextToken
ListWorldExportJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListWorldExportJobsRequest.h:95
Aws::RoboMaker::Model::ListWorldExportJobsRequest::AddFilters
ListWorldExportJobsRequest & AddFilters(Filter &&value)
Definition: ListWorldExportJobsRequest.h:209
Aws::RoboMaker::Model::ListWorldExportJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorldExportJobsRequest.h:45
Aws::RoboMaker::Model::ListWorldExportJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListWorldExportJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWorldExportJobsRequest.h:32
Aws::RoboMaker::Model::ListWorldExportJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWorldExportJobsRequest.h:138
Aws::RoboMaker::Model::ListWorldExportJobsRequest::ListWorldExportJobsRequest
ListWorldExportJobsRequest()
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithNextToken
ListWorldExportJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListWorldExportJobsRequest.h:105
Aws::RoboMaker::Model::ListWorldExportJobsRequest::WithNextToken
ListWorldExportJobsRequest & WithNextToken(const char *value)
Definition: ListWorldExportJobsRequest.h:115
Filter.h