AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateJobRequest.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/MediaConvertRequest.h>
9#include <aws/mediaconvert/model/AccelerationSettings.h>
10#include <aws/mediaconvert/model/BillingTagsSource.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mediaconvert/model/JobSettings.h>
14#include <aws/mediaconvert/model/SimulateReservedQueue.h>
15#include <aws/mediaconvert/model/StatusUpdateInterval.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/mediaconvert/model/HopDestination.h>
18#include <utility>
19#include <aws/core/utils/UUID.h>
20
21namespace Aws
22{
23namespace MediaConvert
24{
25namespace Model
26{
27
31 {
32 public:
33 AWS_MEDIACONVERT_API CreateJobRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateJob"; }
40
41 AWS_MEDIACONVERT_API Aws::String SerializePayload() const override;
42
43
45
51 inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
52 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
53 inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
54 inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
58
60
67 inline const BillingTagsSource& GetBillingTagsSource() const{ return m_billingTagsSource; }
68 inline bool BillingTagsSourceHasBeenSet() const { return m_billingTagsSourceHasBeenSet; }
69 inline void SetBillingTagsSource(const BillingTagsSource& value) { m_billingTagsSourceHasBeenSet = true; m_billingTagsSource = value; }
70 inline void SetBillingTagsSource(BillingTagsSource&& value) { m_billingTagsSourceHasBeenSet = true; m_billingTagsSource = std::move(value); }
72 inline CreateJobRequest& WithBillingTagsSource(BillingTagsSource&& value) { SetBillingTagsSource(std::move(value)); return *this;}
74
76
84 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
85 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
86 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
87 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
88 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
89 inline CreateJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
90 inline CreateJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
91 inline CreateJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
93
95
101 inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
102 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
103 inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
104 inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
106 inline CreateJobRequest& WithHopDestinations(Aws::Vector<HopDestination>&& value) { SetHopDestinations(std::move(value)); return *this;}
107 inline CreateJobRequest& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
108 inline CreateJobRequest& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
110
112
118 inline const Aws::String& GetJobEngineVersion() const{ return m_jobEngineVersion; }
119 inline bool JobEngineVersionHasBeenSet() const { return m_jobEngineVersionHasBeenSet; }
120 inline void SetJobEngineVersion(const Aws::String& value) { m_jobEngineVersionHasBeenSet = true; m_jobEngineVersion = value; }
121 inline void SetJobEngineVersion(Aws::String&& value) { m_jobEngineVersionHasBeenSet = true; m_jobEngineVersion = std::move(value); }
122 inline void SetJobEngineVersion(const char* value) { m_jobEngineVersionHasBeenSet = true; m_jobEngineVersion.assign(value); }
123 inline CreateJobRequest& WithJobEngineVersion(const Aws::String& value) { SetJobEngineVersion(value); return *this;}
124 inline CreateJobRequest& WithJobEngineVersion(Aws::String&& value) { SetJobEngineVersion(std::move(value)); return *this;}
125 inline CreateJobRequest& WithJobEngineVersion(const char* value) { SetJobEngineVersion(value); return *this;}
127
129
133 inline const Aws::String& GetJobTemplate() const{ return m_jobTemplate; }
134 inline bool JobTemplateHasBeenSet() const { return m_jobTemplateHasBeenSet; }
135 inline void SetJobTemplate(const Aws::String& value) { m_jobTemplateHasBeenSet = true; m_jobTemplate = value; }
136 inline void SetJobTemplate(Aws::String&& value) { m_jobTemplateHasBeenSet = true; m_jobTemplate = std::move(value); }
137 inline void SetJobTemplate(const char* value) { m_jobTemplateHasBeenSet = true; m_jobTemplate.assign(value); }
138 inline CreateJobRequest& WithJobTemplate(const Aws::String& value) { SetJobTemplate(value); return *this;}
139 inline CreateJobRequest& WithJobTemplate(Aws::String&& value) { SetJobTemplate(std::move(value)); return *this;}
140 inline CreateJobRequest& WithJobTemplate(const char* value) { SetJobTemplate(value); return *this;}
142
144
151 inline int GetPriority() const{ return m_priority; }
152 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
153 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
154 inline CreateJobRequest& WithPriority(int value) { SetPriority(value); return *this;}
156
158
164 inline const Aws::String& GetQueue() const{ return m_queue; }
165 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
166 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
167 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
168 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
169 inline CreateJobRequest& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
170 inline CreateJobRequest& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
171 inline CreateJobRequest& WithQueue(const char* value) { SetQueue(value); return *this;}
173
175
180 inline const Aws::String& GetRole() const{ return m_role; }
181 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
182 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
183 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
184 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
185 inline CreateJobRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
186 inline CreateJobRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
187 inline CreateJobRequest& WithRole(const char* value) { SetRole(value); return *this;}
189
191
194 inline const JobSettings& GetSettings() const{ return m_settings; }
195 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
196 inline void SetSettings(const JobSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
197 inline void SetSettings(JobSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
198 inline CreateJobRequest& WithSettings(const JobSettings& value) { SetSettings(value); return *this;}
199 inline CreateJobRequest& WithSettings(JobSettings&& value) { SetSettings(std::move(value)); return *this;}
201
203
209 inline const SimulateReservedQueue& GetSimulateReservedQueue() const{ return m_simulateReservedQueue; }
210 inline bool SimulateReservedQueueHasBeenSet() const { return m_simulateReservedQueueHasBeenSet; }
211 inline void SetSimulateReservedQueue(const SimulateReservedQueue& value) { m_simulateReservedQueueHasBeenSet = true; m_simulateReservedQueue = value; }
212 inline void SetSimulateReservedQueue(SimulateReservedQueue&& value) { m_simulateReservedQueueHasBeenSet = true; m_simulateReservedQueue = std::move(value); }
216
218
225 inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
226 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
227 inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
228 inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
232
234
240 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
241 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
242 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
243 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
244 inline CreateJobRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
245 inline CreateJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
246 inline CreateJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
247 inline CreateJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
248 inline CreateJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
249 inline CreateJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
250 inline CreateJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
251 inline CreateJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
252 inline CreateJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
254
256
262 inline const Aws::Map<Aws::String, Aws::String>& GetUserMetadata() const{ return m_userMetadata; }
263 inline bool UserMetadataHasBeenSet() const { return m_userMetadataHasBeenSet; }
264 inline void SetUserMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_userMetadataHasBeenSet = true; m_userMetadata = value; }
265 inline void SetUserMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_userMetadataHasBeenSet = true; m_userMetadata = std::move(value); }
267 inline CreateJobRequest& WithUserMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetUserMetadata(std::move(value)); return *this;}
268 inline CreateJobRequest& AddUserMetadata(const Aws::String& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; }
269 inline CreateJobRequest& AddUserMetadata(Aws::String&& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; }
270 inline CreateJobRequest& AddUserMetadata(const Aws::String& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; }
271 inline CreateJobRequest& AddUserMetadata(Aws::String&& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), std::move(value)); return *this; }
272 inline CreateJobRequest& AddUserMetadata(const char* key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; }
273 inline CreateJobRequest& AddUserMetadata(Aws::String&& key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; }
274 inline CreateJobRequest& AddUserMetadata(const char* key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; }
276 private:
277
278 AccelerationSettings m_accelerationSettings;
279 bool m_accelerationSettingsHasBeenSet = false;
280
281 BillingTagsSource m_billingTagsSource;
282 bool m_billingTagsSourceHasBeenSet = false;
283
284 Aws::String m_clientRequestToken;
285 bool m_clientRequestTokenHasBeenSet = false;
286
287 Aws::Vector<HopDestination> m_hopDestinations;
288 bool m_hopDestinationsHasBeenSet = false;
289
290 Aws::String m_jobEngineVersion;
291 bool m_jobEngineVersionHasBeenSet = false;
292
293 Aws::String m_jobTemplate;
294 bool m_jobTemplateHasBeenSet = false;
295
296 int m_priority;
297 bool m_priorityHasBeenSet = false;
298
299 Aws::String m_queue;
300 bool m_queueHasBeenSet = false;
301
302 Aws::String m_role;
303 bool m_roleHasBeenSet = false;
304
305 JobSettings m_settings;
306 bool m_settingsHasBeenSet = false;
307
308 SimulateReservedQueue m_simulateReservedQueue;
309 bool m_simulateReservedQueueHasBeenSet = false;
310
311 StatusUpdateInterval m_statusUpdateInterval;
312 bool m_statusUpdateIntervalHasBeenSet = false;
313
315 bool m_tagsHasBeenSet = false;
316
318 bool m_userMetadataHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace MediaConvert
323} // namespace Aws
CreateJobRequest & WithHopDestinations(Aws::Vector< HopDestination > &&value)
CreateJobRequest & AddUserMetadata(const char *key, Aws::String &&value)
CreateJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_MEDIACONVERT_API Aws::String SerializePayload() const override
CreateJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetBillingTagsSource(const BillingTagsSource &value)
void SetJobTemplate(const Aws::String &value)
CreateJobRequest & AddTags(const char *key, const char *value)
CreateJobRequest & WithUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
const SimulateReservedQueue & GetSimulateReservedQueue() const
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
CreateJobRequest & WithAccelerationSettings(const AccelerationSettings &value)
CreateJobRequest & WithAccelerationSettings(AccelerationSettings &&value)
void SetJobEngineVersion(const Aws::String &value)
const AccelerationSettings & GetAccelerationSettings() const
CreateJobRequest & AddUserMetadata(const char *key, const char *value)
const BillingTagsSource & GetBillingTagsSource() const
void SetUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateJobRequest & WithJobTemplate(const Aws::String &value)
CreateJobRequest & WithRole(const char *value)
CreateJobRequest & WithHopDestinations(const Aws::Vector< HopDestination > &value)
CreateJobRequest & AddHopDestinations(const HopDestination &value)
void SetClientRequestToken(const Aws::String &value)
CreateJobRequest & WithSettings(JobSettings &&value)
CreateJobRequest & WithStatusUpdateInterval(StatusUpdateInterval &&value)
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
CreateJobRequest & WithUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithStatusUpdateInterval(const StatusUpdateInterval &value)
CreateJobRequest & AddTags(const char *key, Aws::String &&value)
CreateJobRequest & WithSettings(const JobSettings &value)
CreateJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithBillingTagsSource(BillingTagsSource &&value)
CreateJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetSettings(const JobSettings &value)
CreateJobRequest & WithRole(Aws::String &&value)
void SetStatusUpdateInterval(StatusUpdateInterval &&value)
void SetQueue(const Aws::String &value)
CreateJobRequest & WithBillingTagsSource(const BillingTagsSource &value)
CreateJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateJobRequest & WithQueue(Aws::String &&value)
CreateJobRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithClientRequestToken(const char *value)
void SetSimulateReservedQueue(const SimulateReservedQueue &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateJobRequest & AddUserMetadata(Aws::String &&key, const Aws::String &value)
CreateJobRequest & AddUserMetadata(Aws::String &&key, Aws::String &&value)
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
CreateJobRequest & AddUserMetadata(const Aws::String &key, const Aws::String &value)
CreateJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
const StatusUpdateInterval & GetStatusUpdateInterval() const
void SetBillingTagsSource(BillingTagsSource &&value)
CreateJobRequest & WithJobTemplate(const char *value)
CreateJobRequest & WithSimulateReservedQueue(SimulateReservedQueue &&value)
const Aws::String & GetClientRequestToken() const
CreateJobRequest & WithQueue(const Aws::String &value)
CreateJobRequest & WithSimulateReservedQueue(const SimulateReservedQueue &value)
CreateJobRequest & WithClientRequestToken(Aws::String &&value)
void SetAccelerationSettings(const AccelerationSettings &value)
const Aws::Vector< HopDestination > & GetHopDestinations() const
CreateJobRequest & WithQueue(const char *value)
void SetRole(const Aws::String &value)
const Aws::String & GetJobEngineVersion() const
CreateJobRequest & AddUserMetadata(const Aws::String &key, Aws::String &&value)
void SetClientRequestToken(Aws::String &&value)
CreateJobRequest & AddHopDestinations(HopDestination &&value)
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
void SetAccelerationSettings(AccelerationSettings &&value)
CreateJobRequest & WithJobEngineVersion(const Aws::String &value)
CreateJobRequest & WithJobEngineVersion(Aws::String &&value)
CreateJobRequest & WithJobEngineVersion(const char *value)
CreateJobRequest & WithClientRequestToken(const Aws::String &value)
CreateJobRequest & WithJobTemplate(Aws::String &&value)
void SetSimulateReservedQueue(SimulateReservedQueue &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateJobRequest & WithRole(const Aws::String &value)
CreateJobRequest & AddUserMetadata(Aws::String &&key, const char *value)
CreateJobRequest & WithPriority(int value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector