AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename InputFileT = Aws::String>
51 void SetInputFile(InputFileT&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::forward<InputFileT>(value); }
52 template<typename InputFileT = Aws::String>
53 SearchJobsRequest& WithInputFile(InputFileT&& value) { SetInputFile(std::forward<InputFileT>(value)); return *this;}
55
57
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline SearchJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 SearchJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
84 inline Order GetOrder() const { return m_order; }
85 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
86 inline void SetOrder(Order value) { m_orderHasBeenSet = true; m_order = value; }
87 inline SearchJobsRequest& WithOrder(Order value) { SetOrder(value); return *this;}
89
91
95 inline const Aws::String& GetQueue() const { return m_queue; }
96 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
97 template<typename QueueT = Aws::String>
98 void SetQueue(QueueT&& value) { m_queueHasBeenSet = true; m_queue = std::forward<QueueT>(value); }
99 template<typename QueueT = Aws::String>
100 SearchJobsRequest& WithQueue(QueueT&& value) { SetQueue(std::forward<QueueT>(value)); return *this;}
102
104
108 inline JobStatus GetStatus() const { return m_status; }
109 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
110 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
111 inline SearchJobsRequest& WithStatus(JobStatus value) { SetStatus(value); return *this;}
113 private:
114
115 Aws::String m_inputFile;
116 bool m_inputFileHasBeenSet = false;
117
118 int m_maxResults{0};
119 bool m_maxResultsHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123
124 Order m_order{Order::NOT_SET};
125 bool m_orderHasBeenSet = false;
126
127 Aws::String m_queue;
128 bool m_queueHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace MediaConvert
136} // 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