AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListJobsRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconvert/model/Order.h>
11#include <aws/mediaconvert/model/JobStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace MediaConvert
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MEDIACONVERT_API ListJobsRequest();
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_MEDIACONVERT_API Aws::String SerializePayload() const override;
39
40 AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline int GetMaxResults() const{ return m_maxResults; }
48 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
49 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
50 inline ListJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
52
54
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline ListJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
73 inline const Order& GetOrder() const{ return m_order; }
74 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
75 inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
76 inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
77 inline ListJobsRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
78 inline ListJobsRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetQueue() const{ return m_queue; }
86 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
87 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
88 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
89 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
90 inline ListJobsRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
91 inline ListJobsRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
92 inline ListJobsRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
94
96
100 inline const JobStatus& GetStatus() const{ return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
103 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
104 inline ListJobsRequest& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
105 inline ListJobsRequest& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
107 private:
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 Order m_order;
116 bool m_orderHasBeenSet = false;
117
118 Aws::String m_queue;
119 bool m_queueHasBeenSet = false;
120
121 JobStatus m_status;
122 bool m_statusHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace MediaConvert
127} // namespace Aws
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListJobsRequest & WithStatus(JobStatus &&value)
ListJobsRequest & WithStatus(const JobStatus &value)
void SetQueue(const Aws::String &value)
ListJobsRequest & WithNextToken(const char *value)
ListJobsRequest & WithMaxResults(int value)
ListJobsRequest & WithQueue(const Aws::String &value)
ListJobsRequest & WithQueue(Aws::String &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
void SetStatus(const JobStatus &value)
ListJobsRequest & WithOrder(Order &&value)
ListJobsRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListJobsRequest & WithOrder(const Order &value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
ListJobsRequest & WithQueue(const char *value)
ListJobsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String