AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JobRun.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/JobMode.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/glue/model/JobRunState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/glue/model/WorkerType.h>
15#include <aws/glue/model/NotificationProperty.h>
16#include <aws/glue/model/ExecutionClass.h>
17#include <aws/glue/model/Predecessor.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Glue
31{
32namespace Model
33{
34
40 class JobRun
41 {
42 public:
43 AWS_GLUE_API JobRun() = default;
44 AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue);
47
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 JobRun& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
65 inline int GetAttempt() const { return m_attempt; }
66 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
67 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
68 inline JobRun& WithAttempt(int value) { SetAttempt(value); return *this;}
70
72
76 inline const Aws::String& GetPreviousRunId() const { return m_previousRunId; }
77 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
78 template<typename PreviousRunIdT = Aws::String>
79 void SetPreviousRunId(PreviousRunIdT&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::forward<PreviousRunIdT>(value); }
80 template<typename PreviousRunIdT = Aws::String>
81 JobRun& WithPreviousRunId(PreviousRunIdT&& value) { SetPreviousRunId(std::forward<PreviousRunIdT>(value)); return *this;}
83
85
88 inline const Aws::String& GetTriggerName() const { return m_triggerName; }
89 inline bool TriggerNameHasBeenSet() const { return m_triggerNameHasBeenSet; }
90 template<typename TriggerNameT = Aws::String>
91 void SetTriggerName(TriggerNameT&& value) { m_triggerNameHasBeenSet = true; m_triggerName = std::forward<TriggerNameT>(value); }
92 template<typename TriggerNameT = Aws::String>
93 JobRun& WithTriggerName(TriggerNameT&& value) { SetTriggerName(std::forward<TriggerNameT>(value)); return *this;}
95
97
100 inline const Aws::String& GetJobName() const { return m_jobName; }
101 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
102 template<typename JobNameT = Aws::String>
103 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
104 template<typename JobNameT = Aws::String>
105 JobRun& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
107
109
118 inline JobMode GetJobMode() const { return m_jobMode; }
119 inline bool JobModeHasBeenSet() const { return m_jobModeHasBeenSet; }
120 inline void SetJobMode(JobMode value) { m_jobModeHasBeenSet = true; m_jobMode = value; }
121 inline JobRun& WithJobMode(JobMode value) { SetJobMode(value); return *this;}
123
125
130 inline bool GetJobRunQueuingEnabled() const { return m_jobRunQueuingEnabled; }
131 inline bool JobRunQueuingEnabledHasBeenSet() const { return m_jobRunQueuingEnabledHasBeenSet; }
132 inline void SetJobRunQueuingEnabled(bool value) { m_jobRunQueuingEnabledHasBeenSet = true; m_jobRunQueuingEnabled = value; }
133 inline JobRun& WithJobRunQueuingEnabled(bool value) { SetJobRunQueuingEnabled(value); return *this;}
135
137
140 inline const Aws::Utils::DateTime& GetStartedOn() const { return m_startedOn; }
141 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
142 template<typename StartedOnT = Aws::Utils::DateTime>
143 void SetStartedOn(StartedOnT&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::forward<StartedOnT>(value); }
144 template<typename StartedOnT = Aws::Utils::DateTime>
145 JobRun& WithStartedOn(StartedOnT&& value) { SetStartedOn(std::forward<StartedOnT>(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
153 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
154 template<typename LastModifiedOnT = Aws::Utils::DateTime>
155 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
156 template<typename LastModifiedOnT = Aws::Utils::DateTime>
157 JobRun& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCompletedOn() const { return m_completedOn; }
165 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
166 template<typename CompletedOnT = Aws::Utils::DateTime>
167 void SetCompletedOn(CompletedOnT&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::forward<CompletedOnT>(value); }
168 template<typename CompletedOnT = Aws::Utils::DateTime>
169 JobRun& WithCompletedOn(CompletedOnT&& value) { SetCompletedOn(std::forward<CompletedOnT>(value)); return *this;}
171
173
179 inline JobRunState GetJobRunState() const { return m_jobRunState; }
180 inline bool JobRunStateHasBeenSet() const { return m_jobRunStateHasBeenSet; }
181 inline void SetJobRunState(JobRunState value) { m_jobRunStateHasBeenSet = true; m_jobRunState = value; }
182 inline JobRun& WithJobRunState(JobRunState value) { SetJobRunState(value); return *this;}
184
186
206 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const { return m_arguments; }
207 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
208 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
209 void SetArguments(ArgumentsT&& value) { m_argumentsHasBeenSet = true; m_arguments = std::forward<ArgumentsT>(value); }
210 template<typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
211 JobRun& WithArguments(ArgumentsT&& value) { SetArguments(std::forward<ArgumentsT>(value)); return *this;}
212 template<typename ArgumentsKeyT = Aws::String, typename ArgumentsValueT = Aws::String>
213 JobRun& AddArguments(ArgumentsKeyT&& key, ArgumentsValueT&& value) {
214 m_argumentsHasBeenSet = true; m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value)); return *this;
215 }
217
219
222 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
223 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
224 template<typename ErrorMessageT = Aws::String>
225 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
226 template<typename ErrorMessageT = Aws::String>
227 JobRun& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
229
231
234 inline const Aws::Vector<Predecessor>& GetPredecessorRuns() const { return m_predecessorRuns; }
235 inline bool PredecessorRunsHasBeenSet() const { return m_predecessorRunsHasBeenSet; }
236 template<typename PredecessorRunsT = Aws::Vector<Predecessor>>
237 void SetPredecessorRuns(PredecessorRunsT&& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns = std::forward<PredecessorRunsT>(value); }
238 template<typename PredecessorRunsT = Aws::Vector<Predecessor>>
239 JobRun& WithPredecessorRuns(PredecessorRunsT&& value) { SetPredecessorRuns(std::forward<PredecessorRunsT>(value)); return *this;}
240 template<typename PredecessorRunsT = Predecessor>
241 JobRun& AddPredecessorRuns(PredecessorRunsT&& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns.emplace_back(std::forward<PredecessorRunsT>(value)); return *this; }
243
245
248 inline int GetExecutionTime() const { return m_executionTime; }
249 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
250 inline void SetExecutionTime(int value) { m_executionTimeHasBeenSet = true; m_executionTime = value; }
251 inline JobRun& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
253
255
268 inline int GetTimeout() const { return m_timeout; }
269 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
270 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
271 inline JobRun& WithTimeout(int value) { SetTimeout(value); return *this;}
273
275
295 inline double GetMaxCapacity() const { return m_maxCapacity; }
296 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
297 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
298 inline JobRun& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
300
302
335 inline WorkerType GetWorkerType() const { return m_workerType; }
336 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
337 inline void SetWorkerType(WorkerType value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
338 inline JobRun& WithWorkerType(WorkerType value) { SetWorkerType(value); return *this;}
340
342
346 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
347 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
348 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
349 inline JobRun& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
351
353
357 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
358 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
359 template<typename SecurityConfigurationT = Aws::String>
360 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
361 template<typename SecurityConfigurationT = Aws::String>
362 JobRun& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
364
366
375 inline const Aws::String& GetLogGroupName() const { return m_logGroupName; }
376 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
377 template<typename LogGroupNameT = Aws::String>
378 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::forward<LogGroupNameT>(value); }
379 template<typename LogGroupNameT = Aws::String>
380 JobRun& WithLogGroupName(LogGroupNameT&& value) { SetLogGroupName(std::forward<LogGroupNameT>(value)); return *this;}
382
384
387 inline const NotificationProperty& GetNotificationProperty() const { return m_notificationProperty; }
388 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
389 template<typename NotificationPropertyT = NotificationProperty>
390 void SetNotificationProperty(NotificationPropertyT&& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = std::forward<NotificationPropertyT>(value); }
391 template<typename NotificationPropertyT = NotificationProperty>
392 JobRun& WithNotificationProperty(NotificationPropertyT&& value) { SetNotificationProperty(std::forward<NotificationPropertyT>(value)); return *this;}
394
396
409 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
410 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
411 template<typename GlueVersionT = Aws::String>
412 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::forward<GlueVersionT>(value); }
413 template<typename GlueVersionT = Aws::String>
414 JobRun& WithGlueVersion(GlueVersionT&& value) { SetGlueVersion(std::forward<GlueVersionT>(value)); return *this;}
416
418
430 inline double GetDPUSeconds() const { return m_dPUSeconds; }
431 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
432 inline void SetDPUSeconds(double value) { m_dPUSecondsHasBeenSet = true; m_dPUSeconds = value; }
433 inline JobRun& WithDPUSeconds(double value) { SetDPUSeconds(value); return *this;}
435
437
446 inline ExecutionClass GetExecutionClass() const { return m_executionClass; }
447 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
448 inline void SetExecutionClass(ExecutionClass value) { m_executionClassHasBeenSet = true; m_executionClass = value; }
449 inline JobRun& WithExecutionClass(ExecutionClass value) { SetExecutionClass(value); return *this;}
451
453
461 inline const Aws::String& GetMaintenanceWindow() const { return m_maintenanceWindow; }
462 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
463 template<typename MaintenanceWindowT = Aws::String>
464 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
465 template<typename MaintenanceWindowT = Aws::String>
466 JobRun& WithMaintenanceWindow(MaintenanceWindowT&& value) { SetMaintenanceWindow(std::forward<MaintenanceWindowT>(value)); return *this;}
468
470
473 inline const Aws::String& GetProfileName() const { return m_profileName; }
474 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
475 template<typename ProfileNameT = Aws::String>
476 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
477 template<typename ProfileNameT = Aws::String>
478 JobRun& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
480
482
488 inline const Aws::String& GetStateDetail() const { return m_stateDetail; }
489 inline bool StateDetailHasBeenSet() const { return m_stateDetailHasBeenSet; }
490 template<typename StateDetailT = Aws::String>
491 void SetStateDetail(StateDetailT&& value) { m_stateDetailHasBeenSet = true; m_stateDetail = std::forward<StateDetailT>(value); }
492 template<typename StateDetailT = Aws::String>
493 JobRun& WithStateDetail(StateDetailT&& value) { SetStateDetail(std::forward<StateDetailT>(value)); return *this;}
495 private:
496
497 Aws::String m_id;
498 bool m_idHasBeenSet = false;
499
500 int m_attempt{0};
501 bool m_attemptHasBeenSet = false;
502
503 Aws::String m_previousRunId;
504 bool m_previousRunIdHasBeenSet = false;
505
506 Aws::String m_triggerName;
507 bool m_triggerNameHasBeenSet = false;
508
509 Aws::String m_jobName;
510 bool m_jobNameHasBeenSet = false;
511
512 JobMode m_jobMode{JobMode::NOT_SET};
513 bool m_jobModeHasBeenSet = false;
514
515 bool m_jobRunQueuingEnabled{false};
516 bool m_jobRunQueuingEnabledHasBeenSet = false;
517
518 Aws::Utils::DateTime m_startedOn{};
519 bool m_startedOnHasBeenSet = false;
520
521 Aws::Utils::DateTime m_lastModifiedOn{};
522 bool m_lastModifiedOnHasBeenSet = false;
523
524 Aws::Utils::DateTime m_completedOn{};
525 bool m_completedOnHasBeenSet = false;
526
527 JobRunState m_jobRunState{JobRunState::NOT_SET};
528 bool m_jobRunStateHasBeenSet = false;
529
531 bool m_argumentsHasBeenSet = false;
532
533 Aws::String m_errorMessage;
534 bool m_errorMessageHasBeenSet = false;
535
536 Aws::Vector<Predecessor> m_predecessorRuns;
537 bool m_predecessorRunsHasBeenSet = false;
538
539 int m_executionTime{0};
540 bool m_executionTimeHasBeenSet = false;
541
542 int m_timeout{0};
543 bool m_timeoutHasBeenSet = false;
544
545 double m_maxCapacity{0.0};
546 bool m_maxCapacityHasBeenSet = false;
547
548 WorkerType m_workerType{WorkerType::NOT_SET};
549 bool m_workerTypeHasBeenSet = false;
550
551 int m_numberOfWorkers{0};
552 bool m_numberOfWorkersHasBeenSet = false;
553
554 Aws::String m_securityConfiguration;
555 bool m_securityConfigurationHasBeenSet = false;
556
557 Aws::String m_logGroupName;
558 bool m_logGroupNameHasBeenSet = false;
559
560 NotificationProperty m_notificationProperty;
561 bool m_notificationPropertyHasBeenSet = false;
562
563 Aws::String m_glueVersion;
564 bool m_glueVersionHasBeenSet = false;
565
566 double m_dPUSeconds{0.0};
567 bool m_dPUSecondsHasBeenSet = false;
568
569 ExecutionClass m_executionClass{ExecutionClass::NOT_SET};
570 bool m_executionClassHasBeenSet = false;
571
572 Aws::String m_maintenanceWindow;
573 bool m_maintenanceWindowHasBeenSet = false;
574
575 Aws::String m_profileName;
576 bool m_profileNameHasBeenSet = false;
577
578 Aws::String m_stateDetail;
579 bool m_stateDetailHasBeenSet = false;
580 };
581
582} // namespace Model
583} // namespace Glue
584} // namespace Aws
JobRun & WithJobRunState(JobRunState value)
Definition JobRun.h:182
bool ExecutionClassHasBeenSet() const
Definition JobRun.h:447
int GetTimeout() const
Definition JobRun.h:268
bool ArgumentsHasBeenSet() const
Definition JobRun.h:207
double GetDPUSeconds() const
Definition JobRun.h:430
void SetPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:237
bool ExecutionTimeHasBeenSet() const
Definition JobRun.h:249
JobRun & WithLastModifiedOn(LastModifiedOnT &&value)
Definition JobRun.h:157
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
Definition JobRun.h:206
JobRun & WithWorkerType(WorkerType value)
Definition JobRun.h:338
bool ProfileNameHasBeenSet() const
Definition JobRun.h:474
JobRun & WithDPUSeconds(double value)
Definition JobRun.h:433
bool IdHasBeenSet() const
Definition JobRun.h:54
const Aws::String & GetJobName() const
Definition JobRun.h:100
JobRun & WithPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:239
void SetExecutionClass(ExecutionClass value)
Definition JobRun.h:448
bool StateDetailHasBeenSet() const
Definition JobRun.h:489
void SetJobRunQueuingEnabled(bool value)
Definition JobRun.h:132
JobRun & WithGlueVersion(GlueVersionT &&value)
Definition JobRun.h:414
bool PredecessorRunsHasBeenSet() const
Definition JobRun.h:235
const Aws::Vector< Predecessor > & GetPredecessorRuns() const
Definition JobRun.h:234
void SetTimeout(int value)
Definition JobRun.h:270
JobRunState GetJobRunState() const
Definition JobRun.h:179
bool JobNameHasBeenSet() const
Definition JobRun.h:101
void SetNumberOfWorkers(int value)
Definition JobRun.h:348
bool JobRunQueuingEnabledHasBeenSet() const
Definition JobRun.h:131
JobRun & WithMaintenanceWindow(MaintenanceWindowT &&value)
Definition JobRun.h:466
JobRun & WithCompletedOn(CompletedOnT &&value)
Definition JobRun.h:169
JobMode GetJobMode() const
Definition JobRun.h:118
int GetAttempt() const
Definition JobRun.h:65
JobRun & WithSecurityConfiguration(SecurityConfigurationT &&value)
Definition JobRun.h:362
JobRun & WithTriggerName(TriggerNameT &&value)
Definition JobRun.h:93
JobRun & WithNotificationProperty(NotificationPropertyT &&value)
Definition JobRun.h:392
const Aws::String & GetMaintenanceWindow() const
Definition JobRun.h:461
void SetErrorMessage(ErrorMessageT &&value)
Definition JobRun.h:225
int GetExecutionTime() const
Definition JobRun.h:248
void SetJobMode(JobMode value)
Definition JobRun.h:120
bool JobModeHasBeenSet() const
Definition JobRun.h:119
void SetDPUSeconds(double value)
Definition JobRun.h:432
bool WorkerTypeHasBeenSet() const
Definition JobRun.h:336
bool MaxCapacityHasBeenSet() const
Definition JobRun.h:296
JobRun & WithStartedOn(StartedOnT &&value)
Definition JobRun.h:145
void SetProfileName(ProfileNameT &&value)
Definition JobRun.h:476
bool NumberOfWorkersHasBeenSet() const
Definition JobRun.h:347
void SetMaintenanceWindow(MaintenanceWindowT &&value)
Definition JobRun.h:464
JobRun & WithProfileName(ProfileNameT &&value)
Definition JobRun.h:478
void SetSecurityConfiguration(SecurityConfigurationT &&value)
Definition JobRun.h:360
JobRun & WithJobRunQueuingEnabled(bool value)
Definition JobRun.h:133
bool LastModifiedOnHasBeenSet() const
Definition JobRun.h:153
JobRun & WithArguments(ArgumentsT &&value)
Definition JobRun.h:211
bool TimeoutHasBeenSet() const
Definition JobRun.h:269
const Aws::Utils::DateTime & GetCompletedOn() const
Definition JobRun.h:164
bool DPUSecondsHasBeenSet() const
Definition JobRun.h:431
JobRun & WithErrorMessage(ErrorMessageT &&value)
Definition JobRun.h:227
bool SecurityConfigurationHasBeenSet() const
Definition JobRun.h:358
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition JobRun.h:155
JobRun & WithExecutionTime(int value)
Definition JobRun.h:251
bool AttemptHasBeenSet() const
Definition JobRun.h:66
JobRun & WithNumberOfWorkers(int value)
Definition JobRun.h:349
void SetJobName(JobNameT &&value)
Definition JobRun.h:103
JobRun & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
Definition JobRun.h:213
bool PreviousRunIdHasBeenSet() const
Definition JobRun.h:77
void SetGlueVersion(GlueVersionT &&value)
Definition JobRun.h:412
bool MaintenanceWindowHasBeenSet() const
Definition JobRun.h:462
bool LogGroupNameHasBeenSet() const
Definition JobRun.h:376
void SetId(IdT &&value)
Definition JobRun.h:56
AWS_GLUE_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogGroupName() const
Definition JobRun.h:375
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:152
void SetPreviousRunId(PreviousRunIdT &&value)
Definition JobRun.h:79
bool GetJobRunQueuingEnabled() const
Definition JobRun.h:130
JobRun & WithJobMode(JobMode value)
Definition JobRun.h:121
void SetCompletedOn(CompletedOnT &&value)
Definition JobRun.h:167
JobRun & WithMaxCapacity(double value)
Definition JobRun.h:298
const Aws::String & GetErrorMessage() const
Definition JobRun.h:222
int GetNumberOfWorkers() const
Definition JobRun.h:346
const Aws::String & GetId() const
Definition JobRun.h:53
bool JobRunStateHasBeenSet() const
Definition JobRun.h:180
bool GlueVersionHasBeenSet() const
Definition JobRun.h:410
JobRun & AddPredecessorRuns(PredecessorRunsT &&value)
Definition JobRun.h:241
WorkerType GetWorkerType() const
Definition JobRun.h:335
const Aws::String & GetStateDetail() const
Definition JobRun.h:488
JobRun & WithStateDetail(StateDetailT &&value)
Definition JobRun.h:493
JobRun & WithAttempt(int value)
Definition JobRun.h:68
void SetWorkerType(WorkerType value)
Definition JobRun.h:337
bool CompletedOnHasBeenSet() const
Definition JobRun.h:165
const Aws::String & GetSecurityConfiguration() const
Definition JobRun.h:357
void SetJobRunState(JobRunState value)
Definition JobRun.h:181
bool StartedOnHasBeenSet() const
Definition JobRun.h:141
const Aws::String & GetTriggerName() const
Definition JobRun.h:88
const Aws::String & GetPreviousRunId() const
Definition JobRun.h:76
void SetStartedOn(StartedOnT &&value)
Definition JobRun.h:143
JobRun & WithPreviousRunId(PreviousRunIdT &&value)
Definition JobRun.h:81
JobRun & WithExecutionClass(ExecutionClass value)
Definition JobRun.h:449
void SetArguments(ArgumentsT &&value)
Definition JobRun.h:209
void SetNotificationProperty(NotificationPropertyT &&value)
Definition JobRun.h:390
JobRun & WithId(IdT &&value)
Definition JobRun.h:58
void SetMaxCapacity(double value)
Definition JobRun.h:297
bool TriggerNameHasBeenSet() const
Definition JobRun.h:89
JobRun & WithJobName(JobNameT &&value)
Definition JobRun.h:105
void SetLogGroupName(LogGroupNameT &&value)
Definition JobRun.h:378
ExecutionClass GetExecutionClass() const
Definition JobRun.h:446
bool NotificationPropertyHasBeenSet() const
Definition JobRun.h:388
double GetMaxCapacity() const
Definition JobRun.h:295
bool ErrorMessageHasBeenSet() const
Definition JobRun.h:223
void SetAttempt(int value)
Definition JobRun.h:67
const Aws::String & GetGlueVersion() const
Definition JobRun.h:409
const Aws::Utils::DateTime & GetStartedOn() const
Definition JobRun.h:140
JobRun & WithTimeout(int value)
Definition JobRun.h:271
const NotificationProperty & GetNotificationProperty() const
Definition JobRun.h:387
AWS_GLUE_API JobRun()=default
JobRun & WithLogGroupName(LogGroupNameT &&value)
Definition JobRun.h:380
void SetExecutionTime(int value)
Definition JobRun.h:250
void SetStateDetail(StateDetailT &&value)
Definition JobRun.h:491
const Aws::String & GetProfileName() const
Definition JobRun.h:473
void SetTriggerName(TriggerNameT &&value)
Definition JobRun.h:91
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