AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
JobRun.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/ExecutionClass.h>
13#include <aws/glue/model/JobMode.h>
14#include <aws/glue/model/JobRunState.h>
15#include <aws/glue/model/NotificationProperty.h>
16#include <aws/glue/model/Predecessor.h>
17#include <aws/glue/model/WorkerType.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Glue {
29namespace Model {
30
36class JobRun {
37 public:
38 AWS_GLUE_API JobRun() = default;
39 AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue);
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template <typename IdT = Aws::String>
50 void SetId(IdT&& value) {
51 m_idHasBeenSet = true;
52 m_id = std::forward<IdT>(value);
53 }
54 template <typename IdT = Aws::String>
55 JobRun& WithId(IdT&& value) {
56 SetId(std::forward<IdT>(value));
57 return *this;
58 }
60
62
65 inline int GetAttempt() const { return m_attempt; }
66 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
67 inline void SetAttempt(int value) {
68 m_attemptHasBeenSet = true;
69 m_attempt = value;
70 }
71 inline JobRun& WithAttempt(int value) {
72 SetAttempt(value);
73 return *this;
74 }
76
78
82 inline const Aws::String& GetPreviousRunId() const { return m_previousRunId; }
83 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
84 template <typename PreviousRunIdT = Aws::String>
85 void SetPreviousRunId(PreviousRunIdT&& value) {
86 m_previousRunIdHasBeenSet = true;
87 m_previousRunId = std::forward<PreviousRunIdT>(value);
88 }
89 template <typename PreviousRunIdT = Aws::String>
90 JobRun& WithPreviousRunId(PreviousRunIdT&& value) {
91 SetPreviousRunId(std::forward<PreviousRunIdT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetTriggerName() const { return m_triggerName; }
101 inline bool TriggerNameHasBeenSet() const { return m_triggerNameHasBeenSet; }
102 template <typename TriggerNameT = Aws::String>
103 void SetTriggerName(TriggerNameT&& value) {
104 m_triggerNameHasBeenSet = true;
105 m_triggerName = std::forward<TriggerNameT>(value);
106 }
107 template <typename TriggerNameT = Aws::String>
108 JobRun& WithTriggerName(TriggerNameT&& value) {
109 SetTriggerName(std::forward<TriggerNameT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetJobName() const { return m_jobName; }
119 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
120 template <typename JobNameT = Aws::String>
121 void SetJobName(JobNameT&& value) {
122 m_jobNameHasBeenSet = true;
123 m_jobName = std::forward<JobNameT>(value);
124 }
125 template <typename JobNameT = Aws::String>
126 JobRun& WithJobName(JobNameT&& value) {
127 SetJobName(std::forward<JobNameT>(value));
128 return *this;
129 }
131
133
142 inline JobMode GetJobMode() const { return m_jobMode; }
143 inline bool JobModeHasBeenSet() const { return m_jobModeHasBeenSet; }
144 inline void SetJobMode(JobMode value) {
145 m_jobModeHasBeenSet = true;
146 m_jobMode = value;
147 }
148 inline JobRun& WithJobMode(JobMode value) {
149 SetJobMode(value);
150 return *this;
151 }
153
155
160 inline bool GetJobRunQueuingEnabled() const { return m_jobRunQueuingEnabled; }
161 inline bool JobRunQueuingEnabledHasBeenSet() const { return m_jobRunQueuingEnabledHasBeenSet; }
162 inline void SetJobRunQueuingEnabled(bool value) {
163 m_jobRunQueuingEnabledHasBeenSet = true;
164 m_jobRunQueuingEnabled = value;
165 }
166 inline JobRun& WithJobRunQueuingEnabled(bool value) {
168 return *this;
169 }
171
173
176 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
177 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
178 template <typename StartedOnT = Aws::Utils::DateTime>
179 void SetStartedOn(StartedOnT&& value) {
180 m_startedOnHasBeenSet = true;
181 m_startedOn = std::forward<StartedOnT>(value);
182 }
183 template <typename StartedOnT = Aws::Utils::DateTime>
184 JobRun& WithStartedOn(StartedOnT&& value) {
185 SetStartedOn(std::forward<StartedOnT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
195 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
196 template <typename LastModifiedOnT = Aws::Utils::DateTime>
197 void SetLastModifiedOn(LastModifiedOnT&& value) {
198 m_lastModifiedOnHasBeenSet = true;
199 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
200 }
201 template <typename LastModifiedOnT = Aws::Utils::DateTime>
202 JobRun& WithLastModifiedOn(LastModifiedOnT&& value) {
203 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
213 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
214 template <typename CompletedOnT = Aws::Utils::DateTime>
215 void SetCompletedOn(CompletedOnT&& value) {
216 m_completedOnHasBeenSet = true;
217 m_completedOn = std::forward<CompletedOnT>(value);
218 }
219 template <typename CompletedOnT = Aws::Utils::DateTime>
220 JobRun& WithCompletedOn(CompletedOnT&& value) {
221 SetCompletedOn(std::forward<CompletedOnT>(value));
222 return *this;
223 }
225
227
233 inline JobRunState GetJobRunState() const { return m_jobRunState; }
234 inline bool JobRunStateHasBeenSet() const { return m_jobRunStateHasBeenSet; }
235 inline void SetJobRunState(JobRunState value) {
236 m_jobRunStateHasBeenSet = true;
237 m_jobRunState = value;
238 }
240 SetJobRunState(value);
241 return *this;
242 }
244
246
266 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
267 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
268 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
269 void SetArguments(ArgumentsT&& value) {
270 m_argumentsHasBeenSet = true;
271 m_arguments = std::forward<ArgumentsT>(value);
272 }
273 template <typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
274 JobRun& WithArguments(ArgumentsT&& value) {
275 SetArguments(std::forward<ArgumentsT>(value));
276 return *this;
277 }
278 template <typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
279 JobRun& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
280 m_argumentsHasBeenSet = true;
281 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
282 return *this;
283 }
285
287
290 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
291 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
292 template <typename ErrorMessageT = Aws::String>
293 void SetErrorMessage(ErrorMessageT&& value) {
294 m_errorMessageHasBeenSet = true;
295 m_errorMessage = std::forward<ErrorMessageT>(value);
296 }
297 template <typename ErrorMessageT = Aws::String>
298 JobRun& WithErrorMessage(ErrorMessageT&& value) {
299 SetErrorMessage(std::forward<ErrorMessageT>(value));
300 return *this;
301 }
303
305
308 inline const Aws::Vector<Predecessor>& GetPredecessorRuns() const { return m_predecessorRuns; }
309 inline bool PredecessorRunsHasBeenSet() const { return m_predecessorRunsHasBeenSet; }
310 template <typename PredecessorRunsT = Aws::Vector<Predecessor>>
311 void SetPredecessorRuns(PredecessorRunsT&& value) {
312 m_predecessorRunsHasBeenSet = true;
313 m_predecessorRuns = std::forward<PredecessorRunsT>(value);
314 }
315 template <typename PredecessorRunsT = Aws::Vector<Predecessor>>
316 JobRun& WithPredecessorRuns(PredecessorRunsT&& value) {
317 SetPredecessorRuns(std::forward<PredecessorRunsT>(value));
318 return *this;
319 }
320 template <typename PredecessorRunsT = Predecessor>
321 JobRun& AddPredecessorRuns(PredecessorRunsT&& value) {
322 m_predecessorRunsHasBeenSet = true;
323 m_predecessorRuns.emplace_back(std::forward<PredecessorRunsT>(value));
324 return *this;
325 }
327
329
332 inline int GetExecutionTime() const { return m_executionTime; }
333 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
334 inline void SetExecutionTime(int value) {
335 m_executionTimeHasBeenSet = true;
336 m_executionTime = value;
337 }
338 inline JobRun& WithExecutionTime(int value) {
339 SetExecutionTime(value);
340 return *this;
341 }
343
345
358 inline int GetTimeout() const { return m_timeout; }
359 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
360 inline void SetTimeout(int value) {
361 m_timeoutHasBeenSet = true;
362 m_timeout = value;
363 }
364 inline JobRun& WithTimeout(int value) {
365 SetTimeout(value);
366 return *this;
367 }
369
371
391 inline double GetMaxCapacity() const { return m_maxCapacity; }
392 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
393 inline void SetMaxCapacity(double value) {
394 m_maxCapacityHasBeenSet = true;
395 m_maxCapacity = value;
396 }
397 inline JobRun& WithMaxCapacity(double value) {
398 SetMaxCapacity(value);
399 return *this;
400 }
402
404
437 inline WorkerType GetWorkerType() const { return m_workerType; }
438 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
439 inline void SetWorkerType(WorkerType value) {
440 m_workerTypeHasBeenSet = true;
441 m_workerType = value;
442 }
444 SetWorkerType(value);
445 return *this;
446 }
448
450
454 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
455 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
456 inline void SetNumberOfWorkers(int value) {
457 m_numberOfWorkersHasBeenSet = true;
458 m_numberOfWorkers = value;
459 }
460 inline JobRun& WithNumberOfWorkers(int value) {
461 SetNumberOfWorkers(value);
462 return *this;
463 }
465
467
471 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
472 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
473 template <typename SecurityConfigurationT = Aws::String>
474 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
475 m_securityConfigurationHasBeenSet = true;
476 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
477 }
478 template <typename SecurityConfigurationT = Aws::String>
479 JobRun& WithSecurityConfiguration(SecurityConfigurationT&& value) {
480 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
481 return *this;
482 }
484
486
495 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
496 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
497 template <typename LogGroupNameT = Aws::String>
498 void SetLogGroupName(LogGroupNameT&& value) {
499 m_logGroupNameHasBeenSet = true;
500 m_logGroupName = std::forward<LogGroupNameT>(value);
501 }
502 template <typename LogGroupNameT = Aws::String>
503 JobRun& WithLogGroupName(LogGroupNameT&& value) {
504 SetLogGroupName(std::forward<LogGroupNameT>(value));
505 return *this;
506 }
508
510
513 inline const NotificationProperty& GetNotificationProperty() const { return m_notificationProperty; }
514 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
515 template <typename NotificationPropertyT = NotificationProperty>
516 void SetNotificationProperty(NotificationPropertyT&& value) {
517 m_notificationPropertyHasBeenSet = true;
518 m_notificationProperty = std::forward<NotificationPropertyT>(value);
519 }
520 template <typename NotificationPropertyT = NotificationProperty>
521 JobRun& WithNotificationProperty(NotificationPropertyT&& value) {
522 SetNotificationProperty(std::forward<NotificationPropertyT>(value));
523 return *this;
524 }
526
528
541 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
542 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
543 template <typename GlueVersionT = Aws::String>
544 void SetGlueVersion(GlueVersionT&& value) {
545 m_glueVersionHasBeenSet = true;
546 m_glueVersion = std::forward<GlueVersionT>(value);
547 }
548 template <typename GlueVersionT = Aws::String>
549 JobRun& WithGlueVersion(GlueVersionT&& value) {
550 SetGlueVersion(std::forward<GlueVersionT>(value));
551 return *this;
552 }
554
556
568 inline double GetDPUSeconds() const { return m_dPUSeconds; }
569 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
570 inline void SetDPUSeconds(double value) {
571 m_dPUSecondsHasBeenSet = true;
572 m_dPUSeconds = value;
573 }
574 inline JobRun& WithDPUSeconds(double value) {
575 SetDPUSeconds(value);
576 return *this;
577 }
579
581
590 inline ExecutionClass GetExecutionClass() const { return m_executionClass; }
591 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
593 m_executionClassHasBeenSet = true;
594 m_executionClass = value;
595 }
597 SetExecutionClass(value);
598 return *this;
599 }
601
603
611 inline const Aws::String& GetMaintenanceWindow() const { return m_maintenanceWindow; }
612 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
613 template <typename MaintenanceWindowT = Aws::String>
614 void SetMaintenanceWindow(MaintenanceWindowT&& value) {
615 m_maintenanceWindowHasBeenSet = true;
616 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
617 }
618 template <typename MaintenanceWindowT = Aws::String>
619 JobRun& WithMaintenanceWindow(MaintenanceWindowT&& value) {
620 SetMaintenanceWindow(std::forward<MaintenanceWindowT>(value));
621 return *this;
622 }
624
626
629 inline const Aws::String& GetProfileName() const { return m_profileName; }
630 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
631 template <typename ProfileNameT = Aws::String>
632 void SetProfileName(ProfileNameT&& value) {
633 m_profileNameHasBeenSet = true;
634 m_profileName = std::forward<ProfileNameT>(value);
635 }
636 template <typename ProfileNameT = Aws::String>
637 JobRun& WithProfileName(ProfileNameT&& value) {
638 SetProfileName(std::forward<ProfileNameT>(value));
639 return *this;
640 }
642
644
650 inline const Aws::String& GetStateDetail() const { return m_stateDetail; }
651 inline bool StateDetailHasBeenSet() const { return m_stateDetailHasBeenSet; }
652 template <typename StateDetailT = Aws::String>
653 void SetStateDetail(StateDetailT&& value) {
654 m_stateDetailHasBeenSet = true;
655 m_stateDetail = std::forward<StateDetailT>(value);
656 }
657 template <typename StateDetailT = Aws::String>
658 JobRun& WithStateDetail(StateDetailT&& value) {
659 SetStateDetail(std::forward<StateDetailT>(value));
660 return *this;
661 }
663
665
670 inline const Aws::String& GetExecutionRoleSessionPolicy() const { return m_executionRoleSessionPolicy; }
671 inline bool ExecutionRoleSessionPolicyHasBeenSet() const { return m_executionRoleSessionPolicyHasBeenSet; }
672 template <typename ExecutionRoleSessionPolicyT = Aws::String>
673 void SetExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT&& value) {
674 m_executionRoleSessionPolicyHasBeenSet = true;
675 m_executionRoleSessionPolicy = std::forward<ExecutionRoleSessionPolicyT>(value);
676 }
677 template <typename ExecutionRoleSessionPolicyT = Aws::String>
678 JobRun& WithExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT&& value) {
679 SetExecutionRoleSessionPolicy(std::forward<ExecutionRoleSessionPolicyT>(value));
680 return *this;
681 }
683 private:
684 Aws::String m_id;
685
686 int m_attempt{0};
687
688 Aws::String m_previousRunId;
689
690 Aws::String m_triggerName;
691
692 Aws::String m_jobName;
693
694 JobMode m_jobMode{JobMode::NOT_SET};
695
696 bool m_jobRunQueuingEnabled{false};
697
698 Aws::Utils::DateTime m_startedOn{};
699
700 Aws::Utils::DateTime m_lastModifiedOn{};
701
702 Aws::Utils::DateTime m_completedOn{};
703
704 JobRunState m_jobRunState{JobRunState::NOT_SET};
705
707
708 Aws::String m_errorMessage;
709
710 Aws::Vector<Predecessor> m_predecessorRuns;
711
712 int m_executionTime{0};
713
714 int m_timeout{0};
715
716 double m_maxCapacity{0.0};
717
718 WorkerType m_workerType{WorkerType::NOT_SET};
719
720 int m_numberOfWorkers{0};
721
722 Aws::String m_securityConfiguration;
723
724 Aws::String m_logGroupName;
725
726 NotificationProperty m_notificationProperty;
727
728 Aws::String m_glueVersion;
729
730 double m_dPUSeconds{0.0};
731
732 ExecutionClass m_executionClass{ExecutionClass::NOT_SET};
733
734 Aws::String m_maintenanceWindow;
735
736 Aws::String m_profileName;
737
738 Aws::String m_stateDetail;
739
740 Aws::String m_executionRoleSessionPolicy;
741 bool m_idHasBeenSet = false;
742 bool m_attemptHasBeenSet = false;
743 bool m_previousRunIdHasBeenSet = false;
744 bool m_triggerNameHasBeenSet = false;
745 bool m_jobNameHasBeenSet = false;
746 bool m_jobModeHasBeenSet = false;
747 bool m_jobRunQueuingEnabledHasBeenSet = false;
748 bool m_startedOnHasBeenSet = false;
749 bool m_lastModifiedOnHasBeenSet = false;
750 bool m_completedOnHasBeenSet = false;
751 bool m_jobRunStateHasBeenSet = false;
752 bool m_argumentsHasBeenSet = false;
753 bool m_errorMessageHasBeenSet = false;
754 bool m_predecessorRunsHasBeenSet = false;
755 bool m_executionTimeHasBeenSet = false;
756 bool m_timeoutHasBeenSet = false;
757 bool m_maxCapacityHasBeenSet = false;
758 bool m_workerTypeHasBeenSet = false;
759 bool m_numberOfWorkersHasBeenSet = false;
760 bool m_securityConfigurationHasBeenSet = false;
761 bool m_logGroupNameHasBeenSet = false;
762 bool m_notificationPropertyHasBeenSet = false;
763 bool m_glueVersionHasBeenSet = false;
764 bool m_dPUSecondsHasBeenSet = false;
765 bool m_executionClassHasBeenSet = false;
766 bool m_maintenanceWindowHasBeenSet = false;
767 bool m_profileNameHasBeenSet = false;
768 bool m_stateDetailHasBeenSet = false;
769 bool m_executionRoleSessionPolicyHasBeenSet = false;
770};
771
772} // namespace Model
773} // namespace Glue
774} // namespace Aws
JobRun & WithJobRunState(JobRunState value)
Definition JobRun.h:239
bool ExecutionClassHasBeenSet() const
Definition JobRun.h:591
int GetTimeout() const
Definition JobRun.h:358
bool ArgumentsHasBeenSet() const
Definition JobRun.h:267
double GetDPUSeconds() const
Definition JobRun.h:568
void SetPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:311
bool ExecutionTimeHasBeenSet() const
Definition JobRun.h:333
JobRun & WithLastModifiedOn(LastModifiedOnT &&value)
Definition JobRun.h:202
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
Definition JobRun.h:266
JobRun & WithWorkerType(WorkerType value)
Definition JobRun.h:443
bool ProfileNameHasBeenSet() const
Definition JobRun.h:630
JobRun & WithDPUSeconds(double value)
Definition JobRun.h:574
bool IdHasBeenSet() const
Definition JobRun.h:48
const Aws::String & GetJobName() const
Definition JobRun.h:118
JobRun & WithPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:316
void SetExecutionClass(ExecutionClass value)
Definition JobRun.h:592
bool StateDetailHasBeenSet() const
Definition JobRun.h:651
void SetJobRunQueuingEnabled(bool value)
Definition JobRun.h:162
JobRun & WithGlueVersion(GlueVersionT &&value)
Definition JobRun.h:549
bool PredecessorRunsHasBeenSet() const
Definition JobRun.h:309
const Aws::Vector< Predecessor > & GetPredecessorRuns() const
Definition JobRun.h:308
void SetTimeout(int value)
Definition JobRun.h:360
JobRunState GetJobRunState() const
Definition JobRun.h:233
bool JobNameHasBeenSet() const
Definition JobRun.h:119
void SetNumberOfWorkers(int value)
Definition JobRun.h:456
bool JobRunQueuingEnabledHasBeenSet() const
Definition JobRun.h:161
JobRun & WithMaintenanceWindow(MaintenanceWindowT &&value)
Definition JobRun.h:619
JobRun & WithCompletedOn(CompletedOnT &&value)
Definition JobRun.h:220
JobMode GetJobMode() const
Definition JobRun.h:142
int GetAttempt() const
Definition JobRun.h:65
JobRun & WithSecurityConfiguration(SecurityConfigurationT &&value)
Definition JobRun.h:479
JobRun & WithTriggerName(TriggerNameT &&value)
Definition JobRun.h:108
JobRun & WithNotificationProperty(NotificationPropertyT &&value)
Definition JobRun.h:521
const Aws::String & GetMaintenanceWindow() const
Definition JobRun.h:611
bool ExecutionRoleSessionPolicyHasBeenSet() const
Definition JobRun.h:671
void SetErrorMessage(ErrorMessageT &&value)
Definition JobRun.h:293
const Aws::String & GetExecutionRoleSessionPolicy() const
Definition JobRun.h:670
int GetExecutionTime() const
Definition JobRun.h:332
void SetJobMode(JobMode value)
Definition JobRun.h:144
bool JobModeHasBeenSet() const
Definition JobRun.h:143
void SetDPUSeconds(double value)
Definition JobRun.h:570
bool WorkerTypeHasBeenSet() const
Definition JobRun.h:438
bool MaxCapacityHasBeenSet() const
Definition JobRun.h:392
JobRun & WithStartedOn(StartedOnT &&value)
Definition JobRun.h:184
void SetProfileName(ProfileNameT &&value)
Definition JobRun.h:632
bool NumberOfWorkersHasBeenSet() const
Definition JobRun.h:455
void SetMaintenanceWindow(MaintenanceWindowT &&value)
Definition JobRun.h:614
JobRun & WithProfileName(ProfileNameT &&value)
Definition JobRun.h:637
void SetSecurityConfiguration(SecurityConfigurationT &&value)
Definition JobRun.h:474
JobRun & WithJobRunQueuingEnabled(bool value)
Definition JobRun.h:166
bool LastModifiedOnHasBeenSet() const
Definition JobRun.h:195
JobRun & WithArguments(ArgumentsT &&value)
Definition JobRun.h:274
bool TimeoutHasBeenSet() const
Definition JobRun.h:359
const Aws::Utils::DateTime & GetCompletedOn() const
Definition JobRun.h:212
bool DPUSecondsHasBeenSet() const
Definition JobRun.h:569
JobRun & WithErrorMessage(ErrorMessageT &&value)
Definition JobRun.h:298
bool SecurityConfigurationHasBeenSet() const
Definition JobRun.h:472
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition JobRun.h:197
JobRun & WithExecutionTime(int value)
Definition JobRun.h:338
bool AttemptHasBeenSet() const
Definition JobRun.h:66
JobRun & WithNumberOfWorkers(int value)
Definition JobRun.h:460
void SetJobName(JobNameT &&value)
Definition JobRun.h:121
JobRun & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
Definition JobRun.h:279
bool PreviousRunIdHasBeenSet() const
Definition JobRun.h:83
void SetGlueVersion(GlueVersionT &&value)
Definition JobRun.h:544
void SetExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
Definition JobRun.h:673
bool MaintenanceWindowHasBeenSet() const
Definition JobRun.h:612
bool LogGroupNameHasBeenSet() const
Definition JobRun.h:496
void SetId(IdT &&value)
Definition JobRun.h:50
AWS_GLUE_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogGroupName() const
Definition JobRun.h:495
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition JobRun.h:194
void SetPreviousRunId(PreviousRunIdT &&value)
Definition JobRun.h:85
bool GetJobRunQueuingEnabled() const
Definition JobRun.h:160
JobRun & WithJobMode(JobMode value)
Definition JobRun.h:148
void SetCompletedOn(CompletedOnT &&value)
Definition JobRun.h:215
JobRun & WithMaxCapacity(double value)
Definition JobRun.h:397
const Aws::String & GetErrorMessage() const
Definition JobRun.h:290
int GetNumberOfWorkers() const
Definition JobRun.h:454
const Aws::String & GetId() const
Definition JobRun.h:47
bool JobRunStateHasBeenSet() const
Definition JobRun.h:234
bool GlueVersionHasBeenSet() const
Definition JobRun.h:542
JobRun & AddPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:321
WorkerType GetWorkerType() const
Definition JobRun.h:437
const Aws::String & GetStateDetail() const
Definition JobRun.h:650
JobRun & WithStateDetail(StateDetailT &&value)
Definition JobRun.h:658
JobRun & WithAttempt(int value)
Definition JobRun.h:71
void SetWorkerType(WorkerType value)
Definition JobRun.h:439
bool CompletedOnHasBeenSet() const
Definition JobRun.h:213
const Aws::String & GetSecurityConfiguration() const
Definition JobRun.h:471
void SetJobRunState(JobRunState value)
Definition JobRun.h:235
bool StartedOnHasBeenSet() const
Definition JobRun.h:177
const Aws::String & GetTriggerName() const
Definition JobRun.h:100
const Aws::String & GetPreviousRunId() const
Definition JobRun.h:82
JobRun & WithExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
Definition JobRun.h:678
void SetStartedOn(StartedOnT &&value)
Definition JobRun.h:179
JobRun & WithPreviousRunId(PreviousRunIdT &&value)
Definition JobRun.h:90
JobRun & WithExecutionClass(ExecutionClass value)
Definition JobRun.h:596
void SetArguments(ArgumentsT &&value)
Definition JobRun.h:269
void SetNotificationProperty(NotificationPropertyT &&value)
Definition JobRun.h:516
JobRun & WithId(IdT &&value)
Definition JobRun.h:55
void SetMaxCapacity(double value)
Definition JobRun.h:393
bool TriggerNameHasBeenSet() const
Definition JobRun.h:101
JobRun & WithJobName(JobNameT &&value)
Definition JobRun.h:126
void SetLogGroupName(LogGroupNameT &&value)
Definition JobRun.h:498
ExecutionClass GetExecutionClass() const
Definition JobRun.h:590
bool NotificationPropertyHasBeenSet() const
Definition JobRun.h:514
double GetMaxCapacity() const
Definition JobRun.h:391
bool ErrorMessageHasBeenSet() const
Definition JobRun.h:291
void SetAttempt(int value)
Definition JobRun.h:67
const Aws::String & GetGlueVersion() const
Definition JobRun.h:541
const Aws::Utils::DateTime & GetStartedOn() const
Definition JobRun.h:176
JobRun & WithTimeout(int value)
Definition JobRun.h:364
const NotificationProperty & GetNotificationProperty() const
Definition JobRun.h:513
AWS_GLUE_API JobRun()=default
JobRun & WithLogGroupName(LogGroupNameT &&value)
Definition JobRun.h:503
void SetExecutionTime(int value)
Definition JobRun.h:334
void SetStateDetail(StateDetailT &&value)
Definition JobRun.h:653
const Aws::String & GetProfileName() const
Definition JobRun.h:629
void SetTriggerName(TriggerNameT &&value)
Definition JobRun.h:103
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