AWS SDK for C++  1.8.129
AWS SDK for C++
ListWorldsRequest.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 "ListWorlds"; }
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 ListWorldsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
105  inline ListWorldsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
115  inline ListWorldsRequest& 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 ListWorldsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
161 
162 
166  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
167 
171  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
172 
176  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
177 
181  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
182 
186  inline ListWorldsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
187 
191  inline ListWorldsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
192 
196  inline ListWorldsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
197 
201  inline ListWorldsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
202 
203  private:
204 
205  Aws::String m_nextToken;
206  bool m_nextTokenHasBeenSet;
207 
208  int m_maxResults;
209  bool m_maxResultsHasBeenSet;
210 
211  Aws::Vector<Filter> m_filters;
212  bool m_filtersHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace RoboMaker
217 } // namespace Aws
Aws::RoboMaker::Model::ListWorldsRequest::WithNextToken
ListWorldsRequest & WithNextToken(Aws::String &&value)
Definition: ListWorldsRequest.h:105
Aws::RoboMaker::Model::ListWorldsRequest::AddFilters
ListWorldsRequest & AddFilters(Filter &&value)
Definition: ListWorldsRequest.h:201
Aws::RoboMaker::Model::ListWorldsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWorldsRequest.h:127
Aws::RoboMaker::Model::ListWorldsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorldsRequest.h:85
Aws::RoboMaker::Model::ListWorldsRequest::WithMaxResults
ListWorldsRequest & WithMaxResults(int value)
Definition: ListWorldsRequest.h:160
RoboMakerRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::ListWorldsRequest
Definition: ListWorldsRequest.h:24
Aws::RoboMaker::Model::ListWorldsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWorldsRequest.h:138
Aws::RoboMaker::Model::ListWorldsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListWorldsRequest.h:166
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListWorldsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorldsRequest.h:75
Aws::RoboMaker::Model::ListWorldsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldsRequest.h:181
Aws::RoboMaker::Model::ListWorldsRequest::AddFilters
ListWorldsRequest & AddFilters(const Filter &value)
Definition: ListWorldsRequest.h:196
Aws::RoboMaker::Model::ListWorldsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::ListWorldsRequest::WithFilters
ListWorldsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldsRequest.h:186
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListWorldsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorldsRequest.h:65
Aws::RoboMaker::Model::ListWorldsRequest::WithNextToken
ListWorldsRequest & WithNextToken(const Aws::String &value)
Definition: ListWorldsRequest.h:95
Aws::RoboMaker::Model::ListWorldsRequest::WithFilters
ListWorldsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListWorldsRequest.h:191
AWSString.h
Aws::RoboMaker::Model::ListWorldsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListWorldsRequest.h:176
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListWorldsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWorldsRequest.h:55
Aws::RoboMaker::Model::ListWorldsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWorldsRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListWorldsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWorldsRequest.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListWorldsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorldsRequest.h:45
Aws::RoboMaker::Model::ListWorldsRequest::ListWorldsRequest
ListWorldsRequest()
Filter.h
Aws::RoboMaker::Model::ListWorldsRequest::WithNextToken
ListWorldsRequest & WithNextToken(const char *value)
Definition: ListWorldsRequest.h:115
Aws::RoboMaker::Model::ListWorldsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListWorldsRequest.h:171