AWS SDK for C++  1.9.19
AWS SDK for C++
ListWorldGenerationJobsRequest.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 "ListWorldGenerationJobs"; }
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 ListWorldGenerationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
105  inline ListWorldGenerationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
115  inline ListWorldGenerationJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116 
117 
128  inline int GetMaxResults() const{ return m_maxResults; }
129 
140  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
141 
152  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 
164  inline ListWorldGenerationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
165 
166 
171  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
172 
177  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
178 
183  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
184 
189  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
190 
195  inline ListWorldGenerationJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
196 
201  inline ListWorldGenerationJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
202 
207  inline ListWorldGenerationJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
208 
213  inline ListWorldGenerationJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
214 
215  private:
216 
217  Aws::String m_nextToken;
218  bool m_nextTokenHasBeenSet;
219 
220  int m_maxResults;
221  bool m_maxResultsHasBeenSet;
222 
223  Aws::Vector<Filter> m_filters;
224  bool m_filtersHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace RoboMaker
229 } // namespace Aws
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWorldGenerationJobsRequest.h:55
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithNextToken
ListWorldGenerationJobsRequest & WithNextToken(const char *value)
Definition: ListWorldGenerationJobsRequest.h:115
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWorldGenerationJobsRequest.h:140
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListWorldGenerationJobsRequest.h:171
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithFilters
ListWorldGenerationJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldGenerationJobsRequest.h:195
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithFilters
ListWorldGenerationJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldGenerationJobsRequest.h:201
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SerializePayload
Aws::String SerializePayload() const override
RoboMakerRequest.h
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldGenerationJobsRequest.h:183
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorldGenerationJobsRequest.h:75
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest
Definition: ListWorldGenerationJobsRequest.h:24
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWorldGenerationJobsRequest.h:128
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorldGenerationJobsRequest.h:85
AWSString.h
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::AddFilters
ListWorldGenerationJobsRequest & AddFilters(Filter &&value)
Definition: ListWorldGenerationJobsRequest.h:213
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWorldGenerationJobsRequest.h:152
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorldGenerationJobsRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWorldGenerationJobsRequest.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListWorldGenerationJobsRequest.h:177
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorldGenerationJobsRequest.h:65
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::AddFilters
ListWorldGenerationJobsRequest & AddFilters(const Filter &value)
Definition: ListWorldGenerationJobsRequest.h:207
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldGenerationJobsRequest.h:189
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithNextToken
ListWorldGenerationJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListWorldGenerationJobsRequest.h:105
Filter.h
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithMaxResults
ListWorldGenerationJobsRequest & WithMaxResults(int value)
Definition: ListWorldGenerationJobsRequest.h:164
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::ListWorldGenerationJobsRequest
ListWorldGenerationJobsRequest()
Aws::RoboMaker::Model::ListWorldGenerationJobsRequest::WithNextToken
ListWorldGenerationJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListWorldGenerationJobsRequest.h:95