AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AccelerationSettings.h>
9#include <aws/mediaconvert/model/AccelerationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconvert/model/BillingTagsSource.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/mediaconvert/model/JobPhase.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/mediaconvert/model/JobMessages.h>
16#include <aws/mediaconvert/model/JobSettings.h>
17#include <aws/mediaconvert/model/SimulateReservedQueue.h>
18#include <aws/mediaconvert/model/JobStatus.h>
19#include <aws/mediaconvert/model/StatusUpdateInterval.h>
20#include <aws/mediaconvert/model/Timing.h>
21#include <aws/core/utils/memory/stl/AWSMap.h>
22#include <aws/mediaconvert/model/HopDestination.h>
23#include <aws/mediaconvert/model/OutputGroupDetail.h>
24#include <aws/mediaconvert/model/QueueTransition.h>
25#include <aws/mediaconvert/model/WarningGroup.h>
26#include <utility>
27
28namespace Aws
29{
30namespace Utils
31{
32namespace Json
33{
34 class JsonValue;
35 class JsonView;
36} // namespace Json
37} // namespace Utils
38namespace MediaConvert
39{
40namespace Model
41{
42
51 class Job
52 {
53 public:
54 AWS_MEDIACONVERT_API Job();
55 AWS_MEDIACONVERT_API Job(Aws::Utils::Json::JsonView jsonValue);
56 AWS_MEDIACONVERT_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
65 inline const AccelerationSettings& GetAccelerationSettings() const{ return m_accelerationSettings; }
66 inline bool AccelerationSettingsHasBeenSet() const { return m_accelerationSettingsHasBeenSet; }
67 inline void SetAccelerationSettings(const AccelerationSettings& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = value; }
68 inline void SetAccelerationSettings(AccelerationSettings&& value) { m_accelerationSettingsHasBeenSet = true; m_accelerationSettings = std::move(value); }
69 inline Job& WithAccelerationSettings(const AccelerationSettings& value) { SetAccelerationSettings(value); return *this;}
70 inline Job& WithAccelerationSettings(AccelerationSettings&& value) { SetAccelerationSettings(std::move(value)); return *this;}
72
74
87 inline const AccelerationStatus& GetAccelerationStatus() const{ return m_accelerationStatus; }
88 inline bool AccelerationStatusHasBeenSet() const { return m_accelerationStatusHasBeenSet; }
89 inline void SetAccelerationStatus(const AccelerationStatus& value) { m_accelerationStatusHasBeenSet = true; m_accelerationStatus = value; }
90 inline void SetAccelerationStatus(AccelerationStatus&& value) { m_accelerationStatusHasBeenSet = true; m_accelerationStatus = std::move(value); }
91 inline Job& WithAccelerationStatus(const AccelerationStatus& value) { SetAccelerationStatus(value); return *this;}
92 inline Job& WithAccelerationStatus(AccelerationStatus&& value) { SetAccelerationStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetArn() const{ return m_arn; }
100 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
101 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
102 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
103 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
104 inline Job& WithArn(const Aws::String& value) { SetArn(value); return *this;}
105 inline Job& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
106 inline Job& WithArn(const char* value) { SetArn(value); return *this;}
108
110
114 inline const BillingTagsSource& GetBillingTagsSource() const{ return m_billingTagsSource; }
115 inline bool BillingTagsSourceHasBeenSet() const { return m_billingTagsSourceHasBeenSet; }
116 inline void SetBillingTagsSource(const BillingTagsSource& value) { m_billingTagsSourceHasBeenSet = true; m_billingTagsSource = value; }
117 inline void SetBillingTagsSource(BillingTagsSource&& value) { m_billingTagsSourceHasBeenSet = true; m_billingTagsSource = std::move(value); }
118 inline Job& WithBillingTagsSource(const BillingTagsSource& value) { SetBillingTagsSource(value); return *this;}
119 inline Job& WithBillingTagsSource(BillingTagsSource&& value) { SetBillingTagsSource(std::move(value)); return *this;}
121
123
131 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
132 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
133 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
134 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
135 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
136 inline Job& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
137 inline Job& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
138 inline Job& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
146 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
147 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
148 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
149 inline Job& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
150 inline Job& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
152
154
157 inline const JobPhase& GetCurrentPhase() const{ return m_currentPhase; }
158 inline bool CurrentPhaseHasBeenSet() const { return m_currentPhaseHasBeenSet; }
159 inline void SetCurrentPhase(const JobPhase& value) { m_currentPhaseHasBeenSet = true; m_currentPhase = value; }
160 inline void SetCurrentPhase(JobPhase&& value) { m_currentPhaseHasBeenSet = true; m_currentPhase = std::move(value); }
161 inline Job& WithCurrentPhase(const JobPhase& value) { SetCurrentPhase(value); return *this;}
162 inline Job& WithCurrentPhase(JobPhase&& value) { SetCurrentPhase(std::move(value)); return *this;}
164
166
169 inline int GetErrorCode() const{ return m_errorCode; }
170 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
171 inline void SetErrorCode(int value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
172 inline Job& WithErrorCode(int value) { SetErrorCode(value); return *this;}
174
176
179 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
180 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
181 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
182 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
183 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
184 inline Job& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
185 inline Job& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
186 inline Job& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
188
190
193 inline const Aws::Vector<HopDestination>& GetHopDestinations() const{ return m_hopDestinations; }
194 inline bool HopDestinationsHasBeenSet() const { return m_hopDestinationsHasBeenSet; }
195 inline void SetHopDestinations(const Aws::Vector<HopDestination>& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = value; }
196 inline void SetHopDestinations(Aws::Vector<HopDestination>&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations = std::move(value); }
197 inline Job& WithHopDestinations(const Aws::Vector<HopDestination>& value) { SetHopDestinations(value); return *this;}
198 inline Job& WithHopDestinations(Aws::Vector<HopDestination>&& value) { SetHopDestinations(std::move(value)); return *this;}
199 inline Job& AddHopDestinations(const HopDestination& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(value); return *this; }
200 inline Job& AddHopDestinations(HopDestination&& value) { m_hopDestinationsHasBeenSet = true; m_hopDestinations.push_back(std::move(value)); return *this; }
202
204
208 inline const Aws::String& GetId() const{ return m_id; }
209 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
210 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
211 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
212 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
213 inline Job& WithId(const Aws::String& value) { SetId(value); return *this;}
214 inline Job& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
215 inline Job& WithId(const char* value) { SetId(value); return *this;}
217
219
223 inline const Aws::String& GetJobEngineVersionRequested() const{ return m_jobEngineVersionRequested; }
224 inline bool JobEngineVersionRequestedHasBeenSet() const { return m_jobEngineVersionRequestedHasBeenSet; }
225 inline void SetJobEngineVersionRequested(const Aws::String& value) { m_jobEngineVersionRequestedHasBeenSet = true; m_jobEngineVersionRequested = value; }
226 inline void SetJobEngineVersionRequested(Aws::String&& value) { m_jobEngineVersionRequestedHasBeenSet = true; m_jobEngineVersionRequested = std::move(value); }
227 inline void SetJobEngineVersionRequested(const char* value) { m_jobEngineVersionRequestedHasBeenSet = true; m_jobEngineVersionRequested.assign(value); }
228 inline Job& WithJobEngineVersionRequested(const Aws::String& value) { SetJobEngineVersionRequested(value); return *this;}
229 inline Job& WithJobEngineVersionRequested(Aws::String&& value) { SetJobEngineVersionRequested(std::move(value)); return *this;}
230 inline Job& WithJobEngineVersionRequested(const char* value) { SetJobEngineVersionRequested(value); return *this;}
232
234
243 inline const Aws::String& GetJobEngineVersionUsed() const{ return m_jobEngineVersionUsed; }
244 inline bool JobEngineVersionUsedHasBeenSet() const { return m_jobEngineVersionUsedHasBeenSet; }
245 inline void SetJobEngineVersionUsed(const Aws::String& value) { m_jobEngineVersionUsedHasBeenSet = true; m_jobEngineVersionUsed = value; }
246 inline void SetJobEngineVersionUsed(Aws::String&& value) { m_jobEngineVersionUsedHasBeenSet = true; m_jobEngineVersionUsed = std::move(value); }
247 inline void SetJobEngineVersionUsed(const char* value) { m_jobEngineVersionUsedHasBeenSet = true; m_jobEngineVersionUsed.assign(value); }
248 inline Job& WithJobEngineVersionUsed(const Aws::String& value) { SetJobEngineVersionUsed(value); return *this;}
249 inline Job& WithJobEngineVersionUsed(Aws::String&& value) { SetJobEngineVersionUsed(std::move(value)); return *this;}
250 inline Job& WithJobEngineVersionUsed(const char* value) { SetJobEngineVersionUsed(value); return *this;}
252
254
264 inline int GetJobPercentComplete() const{ return m_jobPercentComplete; }
265 inline bool JobPercentCompleteHasBeenSet() const { return m_jobPercentCompleteHasBeenSet; }
266 inline void SetJobPercentComplete(int value) { m_jobPercentCompleteHasBeenSet = true; m_jobPercentComplete = value; }
267 inline Job& WithJobPercentComplete(int value) { SetJobPercentComplete(value); return *this;}
269
271
275 inline const Aws::String& GetJobTemplate() const{ return m_jobTemplate; }
276 inline bool JobTemplateHasBeenSet() const { return m_jobTemplateHasBeenSet; }
277 inline void SetJobTemplate(const Aws::String& value) { m_jobTemplateHasBeenSet = true; m_jobTemplate = value; }
278 inline void SetJobTemplate(Aws::String&& value) { m_jobTemplateHasBeenSet = true; m_jobTemplate = std::move(value); }
279 inline void SetJobTemplate(const char* value) { m_jobTemplateHasBeenSet = true; m_jobTemplate.assign(value); }
280 inline Job& WithJobTemplate(const Aws::String& value) { SetJobTemplate(value); return *this;}
281 inline Job& WithJobTemplate(Aws::String&& value) { SetJobTemplate(std::move(value)); return *this;}
282 inline Job& WithJobTemplate(const char* value) { SetJobTemplate(value); return *this;}
284
286
290 inline const JobMessages& GetMessages() const{ return m_messages; }
291 inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
292 inline void SetMessages(const JobMessages& value) { m_messagesHasBeenSet = true; m_messages = value; }
293 inline void SetMessages(JobMessages&& value) { m_messagesHasBeenSet = true; m_messages = std::move(value); }
294 inline Job& WithMessages(const JobMessages& value) { SetMessages(value); return *this;}
295 inline Job& WithMessages(JobMessages&& value) { SetMessages(std::move(value)); return *this;}
297
299
302 inline const Aws::Vector<OutputGroupDetail>& GetOutputGroupDetails() const{ return m_outputGroupDetails; }
303 inline bool OutputGroupDetailsHasBeenSet() const { return m_outputGroupDetailsHasBeenSet; }
304 inline void SetOutputGroupDetails(const Aws::Vector<OutputGroupDetail>& value) { m_outputGroupDetailsHasBeenSet = true; m_outputGroupDetails = value; }
305 inline void SetOutputGroupDetails(Aws::Vector<OutputGroupDetail>&& value) { m_outputGroupDetailsHasBeenSet = true; m_outputGroupDetails = std::move(value); }
307 inline Job& WithOutputGroupDetails(Aws::Vector<OutputGroupDetail>&& value) { SetOutputGroupDetails(std::move(value)); return *this;}
308 inline Job& AddOutputGroupDetails(const OutputGroupDetail& value) { m_outputGroupDetailsHasBeenSet = true; m_outputGroupDetails.push_back(value); return *this; }
309 inline Job& AddOutputGroupDetails(OutputGroupDetail&& value) { m_outputGroupDetailsHasBeenSet = true; m_outputGroupDetails.push_back(std::move(value)); return *this; }
311
313
316 inline int GetPriority() const{ return m_priority; }
317 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
318 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
319 inline Job& WithPriority(int value) { SetPriority(value); return *this;}
321
323
329 inline const Aws::String& GetQueue() const{ return m_queue; }
330 inline bool QueueHasBeenSet() const { return m_queueHasBeenSet; }
331 inline void SetQueue(const Aws::String& value) { m_queueHasBeenSet = true; m_queue = value; }
332 inline void SetQueue(Aws::String&& value) { m_queueHasBeenSet = true; m_queue = std::move(value); }
333 inline void SetQueue(const char* value) { m_queueHasBeenSet = true; m_queue.assign(value); }
334 inline Job& WithQueue(const Aws::String& value) { SetQueue(value); return *this;}
335 inline Job& WithQueue(Aws::String&& value) { SetQueue(std::move(value)); return *this;}
336 inline Job& WithQueue(const char* value) { SetQueue(value); return *this;}
338
340
343 inline const Aws::Vector<QueueTransition>& GetQueueTransitions() const{ return m_queueTransitions; }
344 inline bool QueueTransitionsHasBeenSet() const { return m_queueTransitionsHasBeenSet; }
345 inline void SetQueueTransitions(const Aws::Vector<QueueTransition>& value) { m_queueTransitionsHasBeenSet = true; m_queueTransitions = value; }
346 inline void SetQueueTransitions(Aws::Vector<QueueTransition>&& value) { m_queueTransitionsHasBeenSet = true; m_queueTransitions = std::move(value); }
347 inline Job& WithQueueTransitions(const Aws::Vector<QueueTransition>& value) { SetQueueTransitions(value); return *this;}
348 inline Job& WithQueueTransitions(Aws::Vector<QueueTransition>&& value) { SetQueueTransitions(std::move(value)); return *this;}
349 inline Job& AddQueueTransitions(const QueueTransition& value) { m_queueTransitionsHasBeenSet = true; m_queueTransitions.push_back(value); return *this; }
350 inline Job& AddQueueTransitions(QueueTransition&& value) { m_queueTransitionsHasBeenSet = true; m_queueTransitions.push_back(std::move(value)); return *this; }
352
354
358 inline int GetRetryCount() const{ return m_retryCount; }
359 inline bool RetryCountHasBeenSet() const { return m_retryCountHasBeenSet; }
360 inline void SetRetryCount(int value) { m_retryCountHasBeenSet = true; m_retryCount = value; }
361 inline Job& WithRetryCount(int value) { SetRetryCount(value); return *this;}
363
365
370 inline const Aws::String& GetRole() const{ return m_role; }
371 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
372 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
373 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
374 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
375 inline Job& WithRole(const Aws::String& value) { SetRole(value); return *this;}
376 inline Job& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
377 inline Job& WithRole(const char* value) { SetRole(value); return *this;}
379
381
384 inline const JobSettings& GetSettings() const{ return m_settings; }
385 inline bool SettingsHasBeenSet() const { return m_settingsHasBeenSet; }
386 inline void SetSettings(const JobSettings& value) { m_settingsHasBeenSet = true; m_settings = value; }
387 inline void SetSettings(JobSettings&& value) { m_settingsHasBeenSet = true; m_settings = std::move(value); }
388 inline Job& WithSettings(const JobSettings& value) { SetSettings(value); return *this;}
389 inline Job& WithSettings(JobSettings&& value) { SetSettings(std::move(value)); return *this;}
391
393
399 inline const SimulateReservedQueue& GetSimulateReservedQueue() const{ return m_simulateReservedQueue; }
400 inline bool SimulateReservedQueueHasBeenSet() const { return m_simulateReservedQueueHasBeenSet; }
401 inline void SetSimulateReservedQueue(const SimulateReservedQueue& value) { m_simulateReservedQueueHasBeenSet = true; m_simulateReservedQueue = value; }
402 inline void SetSimulateReservedQueue(SimulateReservedQueue&& value) { m_simulateReservedQueueHasBeenSet = true; m_simulateReservedQueue = std::move(value); }
404 inline Job& WithSimulateReservedQueue(SimulateReservedQueue&& value) { SetSimulateReservedQueue(std::move(value)); return *this;}
406
408
411 inline const JobStatus& GetStatus() const{ return m_status; }
412 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
413 inline void SetStatus(const JobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
414 inline void SetStatus(JobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
415 inline Job& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
416 inline Job& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
418
420
426 inline const StatusUpdateInterval& GetStatusUpdateInterval() const{ return m_statusUpdateInterval; }
427 inline bool StatusUpdateIntervalHasBeenSet() const { return m_statusUpdateIntervalHasBeenSet; }
428 inline void SetStatusUpdateInterval(const StatusUpdateInterval& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = value; }
429 inline void SetStatusUpdateInterval(StatusUpdateInterval&& value) { m_statusUpdateIntervalHasBeenSet = true; m_statusUpdateInterval = std::move(value); }
430 inline Job& WithStatusUpdateInterval(const StatusUpdateInterval& value) { SetStatusUpdateInterval(value); return *this;}
431 inline Job& WithStatusUpdateInterval(StatusUpdateInterval&& value) { SetStatusUpdateInterval(std::move(value)); return *this;}
433
435
439 inline const Timing& GetTiming() const{ return m_timing; }
440 inline bool TimingHasBeenSet() const { return m_timingHasBeenSet; }
441 inline void SetTiming(const Timing& value) { m_timingHasBeenSet = true; m_timing = value; }
442 inline void SetTiming(Timing&& value) { m_timingHasBeenSet = true; m_timing = std::move(value); }
443 inline Job& WithTiming(const Timing& value) { SetTiming(value); return *this;}
444 inline Job& WithTiming(Timing&& value) { SetTiming(std::move(value)); return *this;}
446
448
452 inline const Aws::Map<Aws::String, Aws::String>& GetUserMetadata() const{ return m_userMetadata; }
453 inline bool UserMetadataHasBeenSet() const { return m_userMetadataHasBeenSet; }
454 inline void SetUserMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_userMetadataHasBeenSet = true; m_userMetadata = value; }
455 inline void SetUserMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_userMetadataHasBeenSet = true; m_userMetadata = std::move(value); }
456 inline Job& WithUserMetadata(const Aws::Map<Aws::String, Aws::String>& value) { SetUserMetadata(value); return *this;}
457 inline Job& WithUserMetadata(Aws::Map<Aws::String, Aws::String>&& value) { SetUserMetadata(std::move(value)); return *this;}
458 inline Job& AddUserMetadata(const Aws::String& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; }
459 inline Job& AddUserMetadata(Aws::String&& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; }
460 inline Job& AddUserMetadata(const Aws::String& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; }
461 inline Job& AddUserMetadata(Aws::String&& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), std::move(value)); return *this; }
462 inline Job& AddUserMetadata(const char* key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; }
463 inline Job& AddUserMetadata(Aws::String&& key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; }
464 inline Job& AddUserMetadata(const char* key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; }
466
468
473 inline const Aws::Vector<WarningGroup>& GetWarnings() const{ return m_warnings; }
474 inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; }
475 inline void SetWarnings(const Aws::Vector<WarningGroup>& value) { m_warningsHasBeenSet = true; m_warnings = value; }
476 inline void SetWarnings(Aws::Vector<WarningGroup>&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); }
477 inline Job& WithWarnings(const Aws::Vector<WarningGroup>& value) { SetWarnings(value); return *this;}
478 inline Job& WithWarnings(Aws::Vector<WarningGroup>&& value) { SetWarnings(std::move(value)); return *this;}
479 inline Job& AddWarnings(const WarningGroup& value) { m_warningsHasBeenSet = true; m_warnings.push_back(value); return *this; }
480 inline Job& AddWarnings(WarningGroup&& value) { m_warningsHasBeenSet = true; m_warnings.push_back(std::move(value)); return *this; }
482 private:
483
484 AccelerationSettings m_accelerationSettings;
485 bool m_accelerationSettingsHasBeenSet = false;
486
487 AccelerationStatus m_accelerationStatus;
488 bool m_accelerationStatusHasBeenSet = false;
489
490 Aws::String m_arn;
491 bool m_arnHasBeenSet = false;
492
493 BillingTagsSource m_billingTagsSource;
494 bool m_billingTagsSourceHasBeenSet = false;
495
496 Aws::String m_clientRequestToken;
497 bool m_clientRequestTokenHasBeenSet = false;
498
499 Aws::Utils::DateTime m_createdAt;
500 bool m_createdAtHasBeenSet = false;
501
502 JobPhase m_currentPhase;
503 bool m_currentPhaseHasBeenSet = false;
504
505 int m_errorCode;
506 bool m_errorCodeHasBeenSet = false;
507
508 Aws::String m_errorMessage;
509 bool m_errorMessageHasBeenSet = false;
510
511 Aws::Vector<HopDestination> m_hopDestinations;
512 bool m_hopDestinationsHasBeenSet = false;
513
514 Aws::String m_id;
515 bool m_idHasBeenSet = false;
516
517 Aws::String m_jobEngineVersionRequested;
518 bool m_jobEngineVersionRequestedHasBeenSet = false;
519
520 Aws::String m_jobEngineVersionUsed;
521 bool m_jobEngineVersionUsedHasBeenSet = false;
522
523 int m_jobPercentComplete;
524 bool m_jobPercentCompleteHasBeenSet = false;
525
526 Aws::String m_jobTemplate;
527 bool m_jobTemplateHasBeenSet = false;
528
529 JobMessages m_messages;
530 bool m_messagesHasBeenSet = false;
531
532 Aws::Vector<OutputGroupDetail> m_outputGroupDetails;
533 bool m_outputGroupDetailsHasBeenSet = false;
534
535 int m_priority;
536 bool m_priorityHasBeenSet = false;
537
538 Aws::String m_queue;
539 bool m_queueHasBeenSet = false;
540
541 Aws::Vector<QueueTransition> m_queueTransitions;
542 bool m_queueTransitionsHasBeenSet = false;
543
544 int m_retryCount;
545 bool m_retryCountHasBeenSet = false;
546
547 Aws::String m_role;
548 bool m_roleHasBeenSet = false;
549
550 JobSettings m_settings;
551 bool m_settingsHasBeenSet = false;
552
553 SimulateReservedQueue m_simulateReservedQueue;
554 bool m_simulateReservedQueueHasBeenSet = false;
555
556 JobStatus m_status;
557 bool m_statusHasBeenSet = false;
558
559 StatusUpdateInterval m_statusUpdateInterval;
560 bool m_statusUpdateIntervalHasBeenSet = false;
561
562 Timing m_timing;
563 bool m_timingHasBeenSet = false;
564
566 bool m_userMetadataHasBeenSet = false;
567
568 Aws::Vector<WarningGroup> m_warnings;
569 bool m_warningsHasBeenSet = false;
570 };
571
572} // namespace Model
573} // namespace MediaConvert
574} // namespace Aws
bool QueueTransitionsHasBeenSet() const
Definition Job.h:344
Job & WithQueue(Aws::String &&value)
Definition Job.h:335
Job & AddHopDestinations(HopDestination &&value)
Definition Job.h:200
void SetMessages(const JobMessages &value)
Definition Job.h:292
void SetTiming(const Timing &value)
Definition Job.h:441
bool UserMetadataHasBeenSet() const
Definition Job.h:453
bool ErrorCodeHasBeenSet() const
Definition Job.h:170
Job & WithQueue(const Aws::String &value)
Definition Job.h:334
Job & AddUserMetadata(Aws::String &&key, const char *value)
Definition Job.h:463
void SetPriority(int value)
Definition Job.h:318
void SetStatus(JobStatus &&value)
Definition Job.h:414
Job & AddWarnings(const WarningGroup &value)
Definition Job.h:479
Job & WithErrorMessage(const Aws::String &value)
Definition Job.h:184
Job & WithBillingTagsSource(BillingTagsSource &&value)
Definition Job.h:119
Job & WithId(const Aws::String &value)
Definition Job.h:213
Job & WithStatus(JobStatus &&value)
Definition Job.h:416
Job & WithUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:456
Job & AddHopDestinations(const HopDestination &value)
Definition Job.h:199
Job & WithHopDestinations(Aws::Vector< HopDestination > &&value)
Definition Job.h:198
Job & WithMessages(JobMessages &&value)
Definition Job.h:295
Job & WithRetryCount(int value)
Definition Job.h:361
Job & WithErrorMessage(const char *value)
Definition Job.h:186
Job & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:150
void SetHopDestinations(Aws::Vector< HopDestination > &&value)
Definition Job.h:196
void SetQueue(Aws::String &&value)
Definition Job.h:332
Job & WithMessages(const JobMessages &value)
Definition Job.h:294
const Aws::String & GetJobTemplate() const
Definition Job.h:275
Job & AddOutputGroupDetails(const OutputGroupDetail &value)
Definition Job.h:308
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Job.h:145
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
Definition Job.h:452
Job & WithWarnings(const Aws::Vector< WarningGroup > &value)
Definition Job.h:477
Job & AddUserMetadata(Aws::String &&key, const Aws::String &value)
Definition Job.h:459
void SetErrorMessage(Aws::String &&value)
Definition Job.h:182
bool SettingsHasBeenSet() const
Definition Job.h:385
void SetHopDestinations(const Aws::Vector< HopDestination > &value)
Definition Job.h:195
Job & WithTiming(const Timing &value)
Definition Job.h:443
Job & WithQueueTransitions(Aws::Vector< QueueTransition > &&value)
Definition Job.h:348
Job & WithOutputGroupDetails(const Aws::Vector< OutputGroupDetail > &value)
Definition Job.h:306
Job & AddQueueTransitions(QueueTransition &&value)
Definition Job.h:350
void SetErrorCode(int value)
Definition Job.h:171
bool BillingTagsSourceHasBeenSet() const
Definition Job.h:115
void SetSimulateReservedQueue(const SimulateReservedQueue &value)
Definition Job.h:401
bool ArnHasBeenSet() const
Definition Job.h:100
bool JobEngineVersionRequestedHasBeenSet() const
Definition Job.h:224
void SetUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:454
bool ClientRequestTokenHasBeenSet() const
Definition Job.h:132
void SetCurrentPhase(JobPhase &&value)
Definition Job.h:160
Job & WithJobTemplate(const char *value)
Definition Job.h:282
Job & WithSimulateReservedQueue(SimulateReservedQueue &&value)
Definition Job.h:404
void SetUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:455
void SetSimulateReservedQueue(SimulateReservedQueue &&value)
Definition Job.h:402
Job & AddQueueTransitions(const QueueTransition &value)
Definition Job.h:349
Job & WithArn(const Aws::String &value)
Definition Job.h:104
void SetWarnings(Aws::Vector< WarningGroup > &&value)
Definition Job.h:476
void SetRole(Aws::String &&value)
Definition Job.h:373
Job & WithStatusUpdateInterval(StatusUpdateInterval &&value)
Definition Job.h:431
Job & WithPriority(int value)
Definition Job.h:319
void SetErrorMessage(const char *value)
Definition Job.h:183
bool WarningsHasBeenSet() const
Definition Job.h:474
void SetJobTemplate(Aws::String &&value)
Definition Job.h:278
const Aws::String & GetId() const
Definition Job.h:208
Job & AddUserMetadata(const Aws::String &key, Aws::String &&value)
Definition Job.h:460
void SetOutputGroupDetails(Aws::Vector< OutputGroupDetail > &&value)
Definition Job.h:305
bool StatusUpdateIntervalHasBeenSet() const
Definition Job.h:427
const StatusUpdateInterval & GetStatusUpdateInterval() const
Definition Job.h:426
bool AccelerationSettingsHasBeenSet() const
Definition Job.h:66
Job & WithJobEngineVersionRequested(const char *value)
Definition Job.h:230
void SetJobEngineVersionRequested(Aws::String &&value)
Definition Job.h:226
const Aws::String & GetClientRequestToken() const
Definition Job.h:131
const SimulateReservedQueue & GetSimulateReservedQueue() const
Definition Job.h:399
Job & AddWarnings(WarningGroup &&value)
Definition Job.h:480
bool JobEngineVersionUsedHasBeenSet() const
Definition Job.h:244
int GetErrorCode() const
Definition Job.h:169
void SetQueue(const Aws::String &value)
Definition Job.h:331
Job & WithClientRequestToken(const char *value)
Definition Job.h:138
Job & WithClientRequestToken(Aws::String &&value)
Definition Job.h:137
const JobPhase & GetCurrentPhase() const
Definition Job.h:157
void SetWarnings(const Aws::Vector< WarningGroup > &value)
Definition Job.h:475
bool PriorityHasBeenSet() const
Definition Job.h:317
Job & WithCurrentPhase(JobPhase &&value)
Definition Job.h:162
bool AccelerationStatusHasBeenSet() const
Definition Job.h:88
void SetErrorMessage(const Aws::String &value)
Definition Job.h:181
Job & WithAccelerationStatus(AccelerationStatus &&value)
Definition Job.h:92
void SetStatusUpdateInterval(const StatusUpdateInterval &value)
Definition Job.h:428
Job & WithErrorMessage(Aws::String &&value)
Definition Job.h:185
bool RetryCountHasBeenSet() const
Definition Job.h:359
void SetClientRequestToken(const Aws::String &value)
Definition Job.h:133
Job & WithSettings(JobSettings &&value)
Definition Job.h:389
void SetJobEngineVersionUsed(const char *value)
Definition Job.h:247
void SetQueueTransitions(Aws::Vector< QueueTransition > &&value)
Definition Job.h:346
void SetQueueTransitions(const Aws::Vector< QueueTransition > &value)
Definition Job.h:345
bool JobPercentCompleteHasBeenSet() const
Definition Job.h:265
void SetArn(const Aws::String &value)
Definition Job.h:101
const Aws::String & GetJobEngineVersionRequested() const
Definition Job.h:223
void SetBillingTagsSource(BillingTagsSource &&value)
Definition Job.h:117
Job & WithJobEngineVersionRequested(Aws::String &&value)
Definition Job.h:229
AWS_MEDIACONVERT_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRole(const char *value)
Definition Job.h:374
Job & WithClientRequestToken(const Aws::String &value)
Definition Job.h:136
Job & WithUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:457
const AccelerationSettings & GetAccelerationSettings() const
Definition Job.h:65
bool IdHasBeenSet() const
Definition Job.h:209
Job & WithJobEngineVersionUsed(const Aws::String &value)
Definition Job.h:248
Job & WithJobEngineVersionUsed(const char *value)
Definition Job.h:250
const Aws::String & GetRole() const
Definition Job.h:370
void SetRole(const Aws::String &value)
Definition Job.h:372
Job & WithId(const char *value)
Definition Job.h:215
void SetSettings(const JobSettings &value)
Definition Job.h:386
const Aws::Vector< OutputGroupDetail > & GetOutputGroupDetails() const
Definition Job.h:302
void SetStatusUpdateInterval(StatusUpdateInterval &&value)
Definition Job.h:429
Job & WithAccelerationSettings(AccelerationSettings &&value)
Definition Job.h:70
bool JobTemplateHasBeenSet() const
Definition Job.h:276
const Aws::String & GetQueue() const
Definition Job.h:329
Job & WithJobEngineVersionRequested(const Aws::String &value)
Definition Job.h:228
Job & AddUserMetadata(Aws::String &&key, Aws::String &&value)
Definition Job.h:461
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Job.h:148
const JobMessages & GetMessages() const
Definition Job.h:290
const JobSettings & GetSettings() const
Definition Job.h:384
Job & WithJobEngineVersionUsed(Aws::String &&value)
Definition Job.h:249
Job & WithStatus(const JobStatus &value)
Definition Job.h:415
Job & WithTiming(Timing &&value)
Definition Job.h:444
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Job & WithErrorCode(int value)
Definition Job.h:172
AWS_MEDIACONVERT_API Job()
Job & WithHopDestinations(const Aws::Vector< HopDestination > &value)
Definition Job.h:197
const BillingTagsSource & GetBillingTagsSource() const
Definition Job.h:114
bool QueueHasBeenSet() const
Definition Job.h:330
Job & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:149
Job & WithJobPercentComplete(int value)
Definition Job.h:267
void SetJobPercentComplete(int value)
Definition Job.h:266
Job & WithId(Aws::String &&value)
Definition Job.h:214
bool ErrorMessageHasBeenSet() const
Definition Job.h:180
void SetStatus(const JobStatus &value)
Definition Job.h:413
Job & WithArn(const char *value)
Definition Job.h:106
const AccelerationStatus & GetAccelerationStatus() const
Definition Job.h:87
void SetAccelerationSettings(AccelerationSettings &&value)
Definition Job.h:68
void SetAccelerationStatus(AccelerationStatus &&value)
Definition Job.h:90
Job & WithSimulateReservedQueue(const SimulateReservedQueue &value)
Definition Job.h:403
Job & WithQueueTransitions(const Aws::Vector< QueueTransition > &value)
Definition Job.h:347
void SetJobEngineVersionRequested(const Aws::String &value)
Definition Job.h:225
bool OutputGroupDetailsHasBeenSet() const
Definition Job.h:303
const JobStatus & GetStatus() const
Definition Job.h:411
bool CurrentPhaseHasBeenSet() const
Definition Job.h:158
void SetId(const Aws::String &value)
Definition Job.h:210
bool StatusHasBeenSet() const
Definition Job.h:412
const Aws::Vector< HopDestination > & GetHopDestinations() const
Definition Job.h:193
void SetJobEngineVersionUsed(const Aws::String &value)
Definition Job.h:245
void SetSettings(JobSettings &&value)
Definition Job.h:387
Job & WithRole(const Aws::String &value)
Definition Job.h:375
const Aws::String & GetArn() const
Definition Job.h:99
const Aws::Vector< QueueTransition > & GetQueueTransitions() const
Definition Job.h:343
int GetRetryCount() const
Definition Job.h:358
void SetId(Aws::String &&value)
Definition Job.h:211
Job & AddUserMetadata(const char *key, const char *value)
Definition Job.h:464
Job & WithBillingTagsSource(const BillingTagsSource &value)
Definition Job.h:118
void SetArn(const char *value)
Definition Job.h:103
Job & WithWarnings(Aws::Vector< WarningGroup > &&value)
Definition Job.h:478
void SetJobEngineVersionUsed(Aws::String &&value)
Definition Job.h:246
void SetAccelerationSettings(const AccelerationSettings &value)
Definition Job.h:67
Job & WithAccelerationStatus(const AccelerationStatus &value)
Definition Job.h:91
Job & AddOutputGroupDetails(OutputGroupDetail &&value)
Definition Job.h:309
bool MessagesHasBeenSet() const
Definition Job.h:291
bool RoleHasBeenSet() const
Definition Job.h:371
Job & WithJobTemplate(Aws::String &&value)
Definition Job.h:281
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Job.h:147
AWS_MEDIACONVERT_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Definition Job.h:212
bool SimulateReservedQueueHasBeenSet() const
Definition Job.h:400
void SetCurrentPhase(const JobPhase &value)
Definition Job.h:159
Job & WithRole(Aws::String &&value)
Definition Job.h:376
Job & WithQueue(const char *value)
Definition Job.h:336
void SetClientRequestToken(const char *value)
Definition Job.h:135
void SetRetryCount(int value)
Definition Job.h:360
bool HopDestinationsHasBeenSet() const
Definition Job.h:194
int GetJobPercentComplete() const
Definition Job.h:264
void SetBillingTagsSource(const BillingTagsSource &value)
Definition Job.h:116
void SetMessages(JobMessages &&value)
Definition Job.h:293
Job & WithOutputGroupDetails(Aws::Vector< OutputGroupDetail > &&value)
Definition Job.h:307
Job & WithAccelerationSettings(const AccelerationSettings &value)
Definition Job.h:69
Job & WithCurrentPhase(const JobPhase &value)
Definition Job.h:161
void SetClientRequestToken(Aws::String &&value)
Definition Job.h:134
Job & WithArn(Aws::String &&value)
Definition Job.h:105
void SetJobTemplate(const char *value)
Definition Job.h:279
void SetJobTemplate(const Aws::String &value)
Definition Job.h:277
const Aws::String & GetJobEngineVersionUsed() const
Definition Job.h:243
bool TimingHasBeenSet() const
Definition Job.h:440
Job & WithStatusUpdateInterval(const StatusUpdateInterval &value)
Definition Job.h:430
Job & WithJobTemplate(const Aws::String &value)
Definition Job.h:280
void SetQueue(const char *value)
Definition Job.h:333
void SetOutputGroupDetails(const Aws::Vector< OutputGroupDetail > &value)
Definition Job.h:304
Job & WithSettings(const JobSettings &value)
Definition Job.h:388
const Timing & GetTiming() const
Definition Job.h:439
const Aws::String & GetErrorMessage() const
Definition Job.h:179
bool CreatedAtHasBeenSet() const
Definition Job.h:146
Job & WithRole(const char *value)
Definition Job.h:377
Job & AddUserMetadata(const char *key, Aws::String &&value)
Definition Job.h:462
int GetPriority() const
Definition Job.h:316
void SetTiming(Timing &&value)
Definition Job.h:442
const Aws::Vector< WarningGroup > & GetWarnings() const
Definition Job.h:473
Job & AddUserMetadata(const Aws::String &key, const Aws::String &value)
Definition Job.h:458
void SetJobEngineVersionRequested(const char *value)
Definition Job.h:227
void SetAccelerationStatus(const AccelerationStatus &value)
Definition Job.h:89
void SetArn(Aws::String &&value)
Definition Job.h:102
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
Aws::Utils::Json::JsonValue JsonValue