AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchJobsRequest.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 SearchJobsRequest();
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 "SearchJobs"; }
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
48 inline const Aws::String& GetInputFile() const{ return m_inputFile; }
49 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
50 inline void SetInputFile(const Aws::String& value) { m_inputFileHasBeenSet = true; m_inputFile = value; }
51 inline void SetInputFile(Aws::String&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::move(value); }
52 inline void SetInputFile(const char* value) { m_inputFileHasBeenSet = true; m_inputFile.assign(value); }
53 inline SearchJobsRequest& WithInputFile(const Aws::String& value) { SetInputFile(value); return *this;}
54 inline SearchJobsRequest& WithInputFile(Aws::String&& value) { SetInputFile(std::move(value)); return *this;}
55 inline SearchJobsRequest& WithInputFile(const char* value) { SetInputFile(value); return *this;}
57
59
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline SearchJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline SearchJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline SearchJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline SearchJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
88 inline const Order& GetOrder() const{ return m_order; }
89 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
90 inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
91 inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
92 inline SearchJobsRequest& WithOrder(const Order& value) { SetOrder(value); return *this;}
93 inline SearchJobsRequest& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
95
97
101 inline const Aws::String& GetQueue() const{ return m_queue; }
102 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
103 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
104 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
105 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
106 inline SearchJobsRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
107 inline SearchJobsRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
108 inline SearchJobsRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
110
112
116 inline const JobStatus& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline SearchJobsRequest& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
121 inline SearchJobsRequest& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_inputFile;
126 bool m_inputFileHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133
134 Order m_order;
135 bool m_orderHasBeenSet = false;
136
137 Aws::String m_queue;
138 bool m_queueHasBeenSet = false;
139
140 JobStatus m_status;
141 bool m_statusHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace MediaConvert
146} // namespace Aws
SearchJobsRequest & WithInputFile(const Aws::String &value)
void SetNextToken(const Aws::String &value)
SearchJobsRequest & WithInputFile(const char *value)
SearchJobsRequest & WithOrder(Order &&value)
SearchJobsRequest & WithQueue(const char *value)
SearchJobsRequest & WithInputFile(Aws::String &&value)
SearchJobsRequest & WithMaxResults(int value)
SearchJobsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
SearchJobsRequest & WithQueue(const Aws::String &value)
SearchJobsRequest & WithStatus(JobStatus &&value)
SearchJobsRequest & WithNextToken(const Aws::String &value)
void SetInputFile(const Aws::String &value)
SearchJobsRequest & WithOrder(const Order &value)
SearchJobsRequest & WithStatus(const JobStatus &value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
SearchJobsRequest & WithQueue(Aws::String &&value)
SearchJobsRequest & WithNextToken(const char *value)
AWS_MEDIACONVERT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String