AWS SDK for C++  1.9.45
AWS SDK for C++
ListSimulationJobsRequest.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 "ListSimulationJobs"; }
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 ListSimulationJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
96 
105  inline ListSimulationJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
115  inline ListSimulationJobsRequest& 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 ListSimulationJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
165 
166 
175  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
176 
185  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
186 
195  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
196 
205  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
206 
215  inline ListSimulationJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
216 
225  inline ListSimulationJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
226 
235  inline ListSimulationJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
236 
245  inline ListSimulationJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
246 
247  private:
248 
249  Aws::String m_nextToken;
250  bool m_nextTokenHasBeenSet;
251 
252  int m_maxResults;
253  bool m_maxResultsHasBeenSet;
254 
255  Aws::Vector<Filter> m_filters;
256  bool m_filtersHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace RoboMaker
261 } // namespace Aws
Aws::RoboMaker::Model::ListSimulationJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSimulationJobsRequest.h:128
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSimulationJobsRequest.h:85
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithNextToken
ListSimulationJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListSimulationJobsRequest.h:95
RoboMakerRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithFilters
ListSimulationJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListSimulationJobsRequest.h:215
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListSimulationJobsRequest.h:205
Aws::RoboMaker::Model::ListSimulationJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSimulationJobsRequest.h:45
AWSVector.h
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithFilters
ListSimulationJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListSimulationJobsRequest.h:225
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListSimulationJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSimulationJobsRequest.h:55
Aws::RoboMaker::Model::ListSimulationJobsRequest::AddFilters
ListSimulationJobsRequest & AddFilters(Filter &&value)
Definition: ListSimulationJobsRequest.h:245
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListSimulationJobsRequest.h:195
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithNextToken
ListSimulationJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListSimulationJobsRequest.h:105
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListSimulationJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSimulationJobsRequest.h:140
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSimulationJobsRequest.h:75
AWSString.h
Aws::RoboMaker::Model::ListSimulationJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListSimulationJobsRequest.h:175
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithMaxResults
ListSimulationJobsRequest & WithMaxResults(int value)
Definition: ListSimulationJobsRequest.h:164
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSimulationJobsRequest.h:152
Aws::RoboMaker::Model::ListSimulationJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSimulationJobsRequest.h:32
Aws::RoboMaker::Model::ListSimulationJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListSimulationJobsRequest.h:185
Aws::RoboMaker::Model::ListSimulationJobsRequest::AddFilters
ListSimulationJobsRequest & AddFilters(const Filter &value)
Definition: ListSimulationJobsRequest.h:235
Aws::RoboMaker::Model::ListSimulationJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListSimulationJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSimulationJobsRequest.h:65
Aws::RoboMaker::Model::ListSimulationJobsRequest::WithNextToken
ListSimulationJobsRequest & WithNextToken(const char *value)
Definition: ListSimulationJobsRequest.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListSimulationJobsRequest
Definition: ListSimulationJobsRequest.h:24
Filter.h
Aws::RoboMaker::Model::ListSimulationJobsRequest::ListSimulationJobsRequest
ListSimulationJobsRequest()