AWS SDK for C++  1.9.19
AWS SDK for C++
ListSimulationJobBatchesRequest.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 "ListSimulationJobBatches"; }
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 ListSimulationJobBatchesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
105  inline ListSimulationJobBatchesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
115  inline ListSimulationJobBatchesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116 
117 
125  inline int GetMaxResults() const{ return m_maxResults; }
126 
134  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
135 
143  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
144 
152  inline ListSimulationJobBatchesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
153 
154 
158  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
159 
163  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
164 
168  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
169 
173  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
174 
178  inline ListSimulationJobBatchesRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
179 
183  inline ListSimulationJobBatchesRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
184 
188  inline ListSimulationJobBatchesRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
189 
193  inline ListSimulationJobBatchesRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
194 
195  private:
196 
197  Aws::String m_nextToken;
198  bool m_nextTokenHasBeenSet;
199 
200  int m_maxResults;
201  bool m_maxResultsHasBeenSet;
202 
203  Aws::Vector<Filter> m_filters;
204  bool m_filtersHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace RoboMaker
209 } // namespace Aws
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithMaxResults
ListSimulationJobBatchesRequest & WithMaxResults(int value)
Definition: ListSimulationJobBatchesRequest.h:152
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::ListSimulationJobBatchesRequest
ListSimulationJobBatchesRequest()
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSimulationJobBatchesRequest.h:125
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListSimulationJobBatchesRequest.h:168
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSimulationJobBatchesRequest.h:75
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListSimulationJobBatchesRequest.h:158
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SerializePayload
Aws::String SerializePayload() const override
RoboMakerRequest.h
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithNextToken
ListSimulationJobBatchesRequest & WithNextToken(const char *value)
Definition: ListSimulationJobBatchesRequest.h:115
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSimulationJobBatchesRequest.h:143
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListSimulationJobBatchesRequest.h:163
AWSVector.h
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithNextToken
ListSimulationJobBatchesRequest & WithNextToken(Aws::String &&value)
Definition: ListSimulationJobBatchesRequest.h:105
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithFilters
ListSimulationJobBatchesRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListSimulationJobBatchesRequest.h:183
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithFilters
ListSimulationJobBatchesRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListSimulationJobBatchesRequest.h:178
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSimulationJobBatchesRequest.h:55
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSimulationJobBatchesRequest.h:85
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSimulationJobBatchesRequest.h:134
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListSimulationJobBatchesRequest.h:173
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::AddFilters
ListSimulationJobBatchesRequest & AddFilters(Filter &&value)
Definition: ListSimulationJobBatchesRequest.h:193
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::WithNextToken
ListSimulationJobBatchesRequest & WithNextToken(const Aws::String &value)
Definition: ListSimulationJobBatchesRequest.h:95
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSimulationJobBatchesRequest.h:45
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSimulationJobBatchesRequest.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest
Definition: ListSimulationJobBatchesRequest.h:24
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::AddFilters
ListSimulationJobBatchesRequest & AddFilters(const Filter &value)
Definition: ListSimulationJobBatchesRequest.h:188
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Filter.h
Aws::RoboMaker::Model::ListSimulationJobBatchesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSimulationJobBatchesRequest.h:65