AWS SDK for C++  1.9.21
AWS SDK for C++
ListDeploymentJobsRequest.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 "ListDeploymentJobs"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
45  inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
46 
55  inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
56 
65  inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 
75  inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
76 
85  inline ListDeploymentJobsRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
86 
95  inline ListDeploymentJobsRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
96 
105  inline ListDeploymentJobsRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
106 
115  inline ListDeploymentJobsRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
116 
117 
126  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
127 
136  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
137 
146  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
147 
156  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
157 
166  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
167 
176  inline ListDeploymentJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
177 
186  inline ListDeploymentJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
187 
196  inline ListDeploymentJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
197 
198 
208  inline int GetMaxResults() const{ return m_maxResults; }
209 
219  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
220 
230  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
231 
241  inline ListDeploymentJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
242 
243  private:
244 
245  Aws::Vector<Filter> m_filters;
246  bool m_filtersHasBeenSet;
247 
248  Aws::String m_nextToken;
249  bool m_nextTokenHasBeenSet;
250 
251  int m_maxResults;
252  bool m_maxResultsHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace RoboMaker
257 } // namespace Aws
Aws::RoboMaker::Model::ListDeploymentJobsRequest
Definition: ListDeploymentJobsRequest.h:24
Aws::RoboMaker::Model::ListDeploymentJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDeploymentJobsRequest.h:208
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeploymentJobsRequest.h:156
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetFilters
void SetFilters(Aws::Vector< Filter > &&value)
Definition: ListDeploymentJobsRequest.h:75
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithFilters
ListDeploymentJobsRequest & WithFilters(Aws::Vector< Filter > &&value)
Definition: ListDeploymentJobsRequest.h:95
Aws::RoboMaker::Model::ListDeploymentJobsRequest::ListDeploymentJobsRequest
ListDeploymentJobsRequest()
Aws::RoboMaker::Model::ListDeploymentJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDeploymentJobsRequest.h:32
RoboMakerRequest.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListDeploymentJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDeploymentJobsRequest.h:219
AWSVector.h
Aws::RoboMaker::Model::ListDeploymentJobsRequest::FiltersHasBeenSet
bool FiltersHasBeenSet() const
Definition: ListDeploymentJobsRequest.h:55
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithMaxResults
ListDeploymentJobsRequest & WithMaxResults(int value)
Definition: ListDeploymentJobsRequest.h:241
Aws::RoboMaker::Model::ListDeploymentJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeploymentJobsRequest.h:126
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeploymentJobsRequest.h:146
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListDeploymentJobsRequest::AddFilters
ListDeploymentJobsRequest & AddFilters(Filter &&value)
Definition: ListDeploymentJobsRequest.h:115
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDeploymentJobsRequest.h:230
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListDeploymentJobsRequest::GetFilters
const Aws::Vector< Filter > & GetFilters() const
Definition: ListDeploymentJobsRequest.h:45
AWSString.h
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetFilters
void SetFilters(const Aws::Vector< Filter > &value)
Definition: ListDeploymentJobsRequest.h:65
Aws::RoboMaker::Model::ListDeploymentJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDeploymentJobsRequest.h:136
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::Filter
Definition: Filter.h:33
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithFilters
ListDeploymentJobsRequest & WithFilters(const Aws::Vector< Filter > &value)
Definition: ListDeploymentJobsRequest.h:85
Aws::RoboMaker::Model::ListDeploymentJobsRequest::AddFilters
ListDeploymentJobsRequest & AddFilters(const Filter &value)
Definition: ListDeploymentJobsRequest.h:105
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithNextToken
ListDeploymentJobsRequest & WithNextToken(const char *value)
Definition: ListDeploymentJobsRequest.h:196
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithNextToken
ListDeploymentJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListDeploymentJobsRequest.h:176
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::ListDeploymentJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeploymentJobsRequest.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListDeploymentJobsRequest::WithNextToken
ListDeploymentJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListDeploymentJobsRequest.h:186
Filter.h