AWS SDK for C++  1.9.158
AWS SDK for C++
ListJobsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace MediaConvert
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListJobs"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
46  inline int GetMaxResults() const{ return m_maxResults; }
47 
51  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
52 
56  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
57 
61  inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
62 
63 
68  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 
74  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 
80  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 
86  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 
92  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 
98  inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 
104  inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
105 
110  inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
111 
112 
117  inline const Order& GetOrder() const{ return m_order; }
118 
123  inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
124 
129  inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
130 
135  inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
136 
141  inline ListJobsRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
142 
147  inline ListJobsRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
148 
149 
153  inline const Aws::String& GetQueue() const{ return m_queue; }
154 
158  inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
159 
163  inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
164 
168  inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
169 
173  inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
174 
178  inline ListJobsRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
179 
183  inline ListJobsRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
184 
188  inline ListJobsRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
189 
190 
195  inline const JobStatus& GetStatus() const{ return m_status; }
196 
201  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
202 
207  inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
208 
213  inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
214 
219  inline ListJobsRequest& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
220 
225  inline ListJobsRequest& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
226 
227  private:
228 
229  int m_maxResults;
230  bool m_maxResultsHasBeenSet;
231 
232  Aws::String m_nextToken;
233  bool m_nextTokenHasBeenSet;
234 
235  Order m_order;
236  bool m_orderHasBeenSet;
237 
238  Aws::String m_queue;
239  bool m_queueHasBeenSet;
240 
241  JobStatus m_status;
242  bool m_statusHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace MediaConvert
247 } // namespace Aws
Aws::MediaConvert::Model::ListJobsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Aws::MediaConvert::Model::ListJobsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobsRequest.h:92
Aws::MediaConvert::Model::ListJobsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListJobsRequest.h:74
Aws::MediaConvert::Model::ListJobsRequest::SetStatus
void SetStatus(JobStatus &&value)
Definition: ListJobsRequest.h:213
JobStatus.h
Aws::MediaConvert::Model::ListJobsRequest::WithOrder
ListJobsRequest & WithOrder(const Order &value)
Definition: ListJobsRequest.h:141
MediaConvertRequest.h
Aws::MediaConvert::Model::ListJobsRequest::WithStatus
ListJobsRequest & WithStatus(JobStatus &&value)
Definition: ListJobsRequest.h:225
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::ListJobsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListJobsRequest.h:36
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListJobsRequest::WithOrder
ListJobsRequest & WithOrder(Order &&value)
Definition: ListJobsRequest.h:147
Aws::MediaConvert::Model::ListJobsRequest::ListJobsRequest
ListJobsRequest()
Aws::MediaConvert::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::MediaConvert::Model::ListJobsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListJobsRequest.h:51
Aws::MediaConvert::Model::ListJobsRequest::OrderHasBeenSet
bool OrderHasBeenSet() const
Definition: ListJobsRequest.h:123
Aws::MediaConvert::Model::ListJobsRequest::SetQueue
void SetQueue(const char *value)
Definition: ListJobsRequest.h:173
Aws::MediaConvert::MediaConvertRequest
Definition: MediaConvertRequest.h:17
Aws::MediaConvert::Model::ListJobsRequest::WithStatus
ListJobsRequest & WithStatus(const JobStatus &value)
Definition: ListJobsRequest.h:219
Aws::MediaConvert::Model::ListJobsRequest::WithNextToken
ListJobsRequest & WithNextToken(const Aws::String &value)
Definition: ListJobsRequest.h:98
Aws::MediaConvert::Model::ListJobsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaConvert::Model::ListJobsRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListJobsRequest.h:201
Aws::MediaConvert::Model::ListJobsRequest::GetQueue
const Aws::String & GetQueue() const
Definition: ListJobsRequest.h:153
Aws::MediaConvert::Model::ListJobsRequest::WithNextToken
ListJobsRequest & WithNextToken(Aws::String &&value)
Definition: ListJobsRequest.h:104
Aws::MediaConvert::Model::Order
Order
Definition: Order.h:17
Aws::MediaConvert::Model::ListJobsRequest::SetStatus
void SetStatus(const JobStatus &value)
Definition: ListJobsRequest.h:207
AWSString.h
Aws::MediaConvert::Model::ListJobsRequest::GetStatus
const JobStatus & GetStatus() const
Definition: ListJobsRequest.h:195
Aws::MediaConvert::Model::ListJobsRequest::GetOrder
const Order & GetOrder() const
Definition: ListJobsRequest.h:117
Aws::MediaConvert::Model::ListJobsRequest::WithQueue
ListJobsRequest & WithQueue(Aws::String &&value)
Definition: ListJobsRequest.h:183
Aws::MediaConvert::Model::ListJobsRequest::SetQueue
void SetQueue(Aws::String &&value)
Definition: ListJobsRequest.h:168
Aws::MediaConvert::Model::ListJobsRequest::SetQueue
void SetQueue(const Aws::String &value)
Definition: ListJobsRequest.h:163
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ListJobsRequest::WithMaxResults
ListJobsRequest & WithMaxResults(int value)
Definition: ListJobsRequest.h:61
Aws::MediaConvert::Model::ListJobsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobsRequest.h:68
Aws::MediaConvert::Model::ListJobsRequest
Definition: ListJobsRequest.h:28
Aws::MediaConvert::Model::ListJobsRequest::WithQueue
ListJobsRequest & WithQueue(const Aws::String &value)
Definition: ListJobsRequest.h:178
Aws::MediaConvert::Model::ListJobsRequest::WithNextToken
ListJobsRequest & WithNextToken(const char *value)
Definition: ListJobsRequest.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListJobsRequest::SetOrder
void SetOrder(Order &&value)
Definition: ListJobsRequest.h:135
Aws::MediaConvert::Model::ListJobsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListJobsRequest.h:56
Aws::MediaConvert::Model::ListJobsRequest::QueueHasBeenSet
bool QueueHasBeenSet() const
Definition: ListJobsRequest.h:158
Aws::MediaConvert::Model::ListJobsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobsRequest.h:86
Aws::MediaConvert::Model::ListJobsRequest::WithQueue
ListJobsRequest & WithQueue(const char *value)
Definition: ListJobsRequest.h:188
Order.h
Aws::MediaConvert::Model::ListJobsRequest::SetOrder
void SetOrder(const Order &value)
Definition: ListJobsRequest.h:129
Aws::MediaConvert::Model::ListJobsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobsRequest.h:80
Aws::MediaConvert::Model::ListJobsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListJobsRequest.h:46