AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SearchJobsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
10#include <aws/mediaconvert/model/JobStatus.h>
11#include <aws/mediaconvert/model/Order.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace MediaConvert {
20namespace Model {
21
25 public:
26 AWS_MEDIACONVERT_API SearchJobsRequest() = default;
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 "SearchJobs"; }
33
34 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
35
36 AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
43 inline const Aws::String& GetInputFile() const { return m_inputFile; }
44 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
45 template <typename InputFileT = Aws::String>
46 void SetInputFile(InputFileT&& value) {
47 m_inputFileHasBeenSet = true;
48 m_inputFile = std::forward<InputFileT>(value);
49 }
50 template <typename InputFileT = Aws::String>
51 SearchJobsRequest& WithInputFile(InputFileT&& value) {
52 SetInputFile(std::forward<InputFileT>(value));
53 return *this;
54 }
56
58
61 inline int GetMaxResults() const { return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) {
64 m_maxResultsHasBeenSet = true;
65 m_maxResults = value;
66 }
67 inline SearchJobsRequest& WithMaxResults(int value) {
68 SetMaxResults(value);
69 return *this;
70 }
72
74
78 inline const Aws::String& GetNextToken() const { return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 template <typename NextTokenT = Aws::String>
81 void SetNextToken(NextTokenT&& value) {
82 m_nextTokenHasBeenSet = true;
83 m_nextToken = std::forward<NextTokenT>(value);
84 }
85 template <typename NextTokenT = Aws::String>
86 SearchJobsRequest& WithNextToken(NextTokenT&& value) {
87 SetNextToken(std::forward<NextTokenT>(value));
88 return *this;
89 }
91
93
97 inline Order GetOrder() const { return m_order; }
98 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
99 inline void SetOrder(Order value) {
100 m_orderHasBeenSet = true;
101 m_order = value;
102 }
104 SetOrder(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetQueue() const { return m_queue; }
115 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
116 template <typename QueueT = Aws::String>
117 void SetQueue(QueueT&& value) {
118 m_queueHasBeenSet = true;
119 m_queue = std::forward<QueueT>(value);
120 }
121 template <typename QueueT = Aws::String>
122 SearchJobsRequest& WithQueue(QueueT&& value) {
123 SetQueue(std::forward<QueueT>(value));
124 return *this;
125 }
127
129
133 inline JobStatus GetStatus() const { return m_status; }
134 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 inline void SetStatus(JobStatus value) {
136 m_statusHasBeenSet = true;
137 m_status = value;
138 }
140 SetStatus(value);
141 return *this;
142 }
144 private:
145 Aws::String m_inputFile;
146
147 int m_maxResults{0};
148
149 Aws::String m_nextToken;
150
151 Order m_order{Order::NOT_SET};
152
153 Aws::String m_queue;
154
156 bool m_inputFileHasBeenSet = false;
157 bool m_maxResultsHasBeenSet = false;
158 bool m_nextTokenHasBeenSet = false;
159 bool m_orderHasBeenSet = false;
160 bool m_queueHasBeenSet = false;
161 bool m_statusHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace MediaConvert
166} // namespace Aws
SearchJobsRequest & WithInputFile(InputFileT &&value)
SearchJobsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
SearchJobsRequest & WithOrder(Order value)
AWS_MEDIACONVERT_API SearchJobsRequest()=default
SearchJobsRequest & WithQueue(QueueT &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
SearchJobsRequest & WithNextToken(NextTokenT &&value)
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchJobsRequest & WithStatus(JobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String