AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline JobRun& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline JobRun& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline JobRun& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline int GetAttempt() const{ return m_attempt; }
68 inline bool AttemptHasBeenSet() const { return m_attemptHasBeenSet; }
69 inline void SetAttempt(int value) { m_attemptHasBeenSet = true; m_attempt = value; }
70 inline JobRun& WithAttempt(int value) { SetAttempt(value); return *this;}
72
74
78 inline const Aws::String& GetPreviousRunId() const{ return m_previousRunId; }
79 inline bool PreviousRunIdHasBeenSet() const { return m_previousRunIdHasBeenSet; }
80 inline void SetPreviousRunId(const Aws::String& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = value; }
81 inline void SetPreviousRunId(Aws::String&& value) { m_previousRunIdHasBeenSet = true; m_previousRunId = std::move(value); }
82 inline void SetPreviousRunId(const char* value) { m_previousRunIdHasBeenSet = true; m_previousRunId.assign(value); }
83 inline JobRun& WithPreviousRunId(const Aws::String& value) { SetPreviousRunId(value); return *this;}
84 inline JobRun& WithPreviousRunId(Aws::String&& value) { SetPreviousRunId(std::move(value)); return *this;}
85 inline JobRun& WithPreviousRunId(const char* value) { SetPreviousRunId(value); return *this;}
87
89
92 inline const Aws::String& GetTriggerName() const{ return m_triggerName; }
93 inline bool TriggerNameHasBeenSet() const { return m_triggerNameHasBeenSet; }
94 inline void SetTriggerName(const Aws::String& value) { m_triggerNameHasBeenSet = true; m_triggerName = value; }
95 inline void SetTriggerName(Aws::String&& value) { m_triggerNameHasBeenSet = true; m_triggerName = std::move(value); }
96 inline void SetTriggerName(const char* value) { m_triggerNameHasBeenSet = true; m_triggerName.assign(value); }
97 inline JobRun& WithTriggerName(const Aws::String& value) { SetTriggerName(value); return *this;}
98 inline JobRun& WithTriggerName(Aws::String&& value) { SetTriggerName(std::move(value)); return *this;}
99 inline JobRun& WithTriggerName(const char* value) { SetTriggerName(value); return *this;}
101
103
106 inline const Aws::String& GetJobName() const{ return m_jobName; }
107 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
108 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
109 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
110 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
111 inline JobRun& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
112 inline JobRun& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
113 inline JobRun& WithJobName(const char* value) { SetJobName(value); return *this;}
115
117
126 inline const JobMode& GetJobMode() const{ return m_jobMode; }
127 inline bool JobModeHasBeenSet() const { return m_jobModeHasBeenSet; }
128 inline void SetJobMode(const JobMode& value) { m_jobModeHasBeenSet = true; m_jobMode = value; }
129 inline void SetJobMode(JobMode&& value) { m_jobModeHasBeenSet = true; m_jobMode = std::move(value); }
130 inline JobRun& WithJobMode(const JobMode& value) { SetJobMode(value); return *this;}
131 inline JobRun& WithJobMode(JobMode&& value) { SetJobMode(std::move(value)); return *this;}
133
135
140 inline bool GetJobRunQueuingEnabled() const{ return m_jobRunQueuingEnabled; }
141 inline bool JobRunQueuingEnabledHasBeenSet() const { return m_jobRunQueuingEnabledHasBeenSet; }
142 inline void SetJobRunQueuingEnabled(bool value) { m_jobRunQueuingEnabledHasBeenSet = true; m_jobRunQueuingEnabled = value; }
143 inline JobRun& WithJobRunQueuingEnabled(bool value) { SetJobRunQueuingEnabled(value); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
151 inline bool StartedOnHasBeenSet() const { return m_startedOnHasBeenSet; }
152 inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOnHasBeenSet = true; m_startedOn = value; }
153 inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOnHasBeenSet = true; m_startedOn = std::move(value); }
154 inline JobRun& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
155 inline JobRun& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
163 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
164 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
165 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
166 inline JobRun& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
167 inline JobRun& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
175 inline bool CompletedOnHasBeenSet() const { return m_completedOnHasBeenSet; }
176 inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOnHasBeenSet = true; m_completedOn = value; }
177 inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOnHasBeenSet = true; m_completedOn = std::move(value); }
178 inline JobRun& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
179 inline JobRun& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
181
183
189 inline const JobRunState& GetJobRunState() const{ return m_jobRunState; }
190 inline bool JobRunStateHasBeenSet() const { return m_jobRunStateHasBeenSet; }
191 inline void SetJobRunState(const JobRunState& value) { m_jobRunStateHasBeenSet = true; m_jobRunState = value; }
192 inline void SetJobRunState(JobRunState&& value) { m_jobRunStateHasBeenSet = true; m_jobRunState = std::move(value); }
193 inline JobRun& WithJobRunState(const JobRunState& value) { SetJobRunState(value); return *this;}
194 inline JobRun& WithJobRunState(JobRunState&& value) { SetJobRunState(std::move(value)); return *this;}
196
198
218 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const{ return m_arguments; }
219 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
220 inline void SetArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_argumentsHasBeenSet = true; m_arguments = value; }
221 inline void SetArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_argumentsHasBeenSet = true; m_arguments = std::move(value); }
222 inline JobRun& WithArguments(const Aws::Map<Aws::String, Aws::String>& value) { SetArguments(value); return *this;}
223 inline JobRun& WithArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetArguments(std::move(value)); return *this;}
224 inline JobRun& AddArguments(const Aws::String& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; }
225 inline JobRun& AddArguments(Aws::String&& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; }
226 inline JobRun& AddArguments(const Aws::String& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; }
227 inline JobRun& AddArguments(Aws::String&& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), std::move(value)); return *this; }
228 inline JobRun& AddArguments(const char* key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; }
229 inline JobRun& AddArguments(Aws::String&& key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; }
230 inline JobRun& AddArguments(const char* key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; }
232
234
237 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
238 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
239 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
240 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
241 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
242 inline JobRun& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
243 inline JobRun& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
244 inline JobRun& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
246
248
251 inline const Aws::Vector<Predecessor>& GetPredecessorRuns() const{ return m_predecessorRuns; }
252 inline bool PredecessorRunsHasBeenSet() const { return m_predecessorRunsHasBeenSet; }
253 inline void SetPredecessorRuns(const Aws::Vector<Predecessor>& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns = value; }
254 inline void SetPredecessorRuns(Aws::Vector<Predecessor>&& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns = std::move(value); }
255 inline JobRun& WithPredecessorRuns(const Aws::Vector<Predecessor>& value) { SetPredecessorRuns(value); return *this;}
256 inline JobRun& WithPredecessorRuns(Aws::Vector<Predecessor>&& value) { SetPredecessorRuns(std::move(value)); return *this;}
257 inline JobRun& AddPredecessorRuns(const Predecessor& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns.push_back(value); return *this; }
258 inline JobRun& AddPredecessorRuns(Predecessor&& value) { m_predecessorRunsHasBeenSet = true; m_predecessorRuns.push_back(std::move(value)); return *this; }
260
262
265 inline int GetExecutionTime() const{ return m_executionTime; }
266 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
267 inline void SetExecutionTime(int value) { m_executionTimeHasBeenSet = true; m_executionTime = value; }
268 inline JobRun& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
270
272
282 inline int GetTimeout() const{ return m_timeout; }
283 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
284 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
285 inline JobRun& WithTimeout(int value) { SetTimeout(value); return *this;}
287
289
309 inline double GetMaxCapacity() const{ return m_maxCapacity; }
310 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
311 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
312 inline JobRun& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
314
316
351 inline const WorkerType& GetWorkerType() const{ return m_workerType; }
352 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
353 inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
354 inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
355 inline JobRun& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
356 inline JobRun& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
358
360
364 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
365 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
366 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
367 inline JobRun& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
369
371
375 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
376 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
377 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
378 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
379 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
380 inline JobRun& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
381 inline JobRun& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
382 inline JobRun& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
384
386
395 inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
396 inline bool LogGroupNameHasBeenSet() const { return m_logGroupNameHasBeenSet; }
397 inline void SetLogGroupName(const Aws::String& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = value; }
398 inline void SetLogGroupName(Aws::String&& value) { m_logGroupNameHasBeenSet = true; m_logGroupName = std::move(value); }
399 inline void SetLogGroupName(const char* value) { m_logGroupNameHasBeenSet = true; m_logGroupName.assign(value); }
400 inline JobRun& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
401 inline JobRun& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
402 inline JobRun& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
404
406
409 inline const NotificationProperty& GetNotificationProperty() const{ return m_notificationProperty; }
410 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
411 inline void SetNotificationProperty(const NotificationProperty& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = value; }
412 inline void SetNotificationProperty(NotificationProperty&& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = std::move(value); }
414 inline JobRun& WithNotificationProperty(NotificationProperty&& value) { SetNotificationProperty(std::move(value)); return *this;}
416
418
431 inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
432 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
433 inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
434 inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
435 inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
436 inline JobRun& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
437 inline JobRun& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
438 inline JobRun& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
440
442
454 inline double GetDPUSeconds() const{ return m_dPUSeconds; }
455 inline bool DPUSecondsHasBeenSet() const { return m_dPUSecondsHasBeenSet; }
456 inline void SetDPUSeconds(double value) { m_dPUSecondsHasBeenSet = true; m_dPUSeconds = value; }
457 inline JobRun& WithDPUSeconds(double value) { SetDPUSeconds(value); return *this;}
459
461
470 inline const ExecutionClass& GetExecutionClass() const{ return m_executionClass; }
471 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
472 inline void SetExecutionClass(const ExecutionClass& value) { m_executionClassHasBeenSet = true; m_executionClass = value; }
473 inline void SetExecutionClass(ExecutionClass&& value) { m_executionClassHasBeenSet = true; m_executionClass = std::move(value); }
474 inline JobRun& WithExecutionClass(const ExecutionClass& value) { SetExecutionClass(value); return *this;}
475 inline JobRun& WithExecutionClass(ExecutionClass&& value) { SetExecutionClass(std::move(value)); return *this;}
477
479
487 inline const Aws::String& GetMaintenanceWindow() const{ return m_maintenanceWindow; }
488 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
489 inline void SetMaintenanceWindow(const Aws::String& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = value; }
490 inline void SetMaintenanceWindow(Aws::String&& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = std::move(value); }
491 inline void SetMaintenanceWindow(const char* value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow.assign(value); }
492 inline JobRun& WithMaintenanceWindow(const Aws::String& value) { SetMaintenanceWindow(value); return *this;}
493 inline JobRun& WithMaintenanceWindow(Aws::String&& value) { SetMaintenanceWindow(std::move(value)); return *this;}
494 inline JobRun& WithMaintenanceWindow(const char* value) { SetMaintenanceWindow(value); return *this;}
496
498
501 inline const Aws::String& GetProfileName() const{ return m_profileName; }
502 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
503 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
504 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
505 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
506 inline JobRun& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
507 inline JobRun& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
508 inline JobRun& WithProfileName(const char* value) { SetProfileName(value); return *this;}
510
512
518 inline const Aws::String& GetStateDetail() const{ return m_stateDetail; }
519 inline bool StateDetailHasBeenSet() const { return m_stateDetailHasBeenSet; }
520 inline void SetStateDetail(const Aws::String& value) { m_stateDetailHasBeenSet = true; m_stateDetail = value; }
521 inline void SetStateDetail(Aws::String&& value) { m_stateDetailHasBeenSet = true; m_stateDetail = std::move(value); }
522 inline void SetStateDetail(const char* value) { m_stateDetailHasBeenSet = true; m_stateDetail.assign(value); }
523 inline JobRun& WithStateDetail(const Aws::String& value) { SetStateDetail(value); return *this;}
524 inline JobRun& WithStateDetail(Aws::String&& value) { SetStateDetail(std::move(value)); return *this;}
525 inline JobRun& WithStateDetail(const char* value) { SetStateDetail(value); return *this;}
527 private:
528
529 Aws::String m_id;
530 bool m_idHasBeenSet = false;
531
532 int m_attempt;
533 bool m_attemptHasBeenSet = false;
534
535 Aws::String m_previousRunId;
536 bool m_previousRunIdHasBeenSet = false;
537
538 Aws::String m_triggerName;
539 bool m_triggerNameHasBeenSet = false;
540
541 Aws::String m_jobName;
542 bool m_jobNameHasBeenSet = false;
543
544 JobMode m_jobMode;
545 bool m_jobModeHasBeenSet = false;
546
547 bool m_jobRunQueuingEnabled;
548 bool m_jobRunQueuingEnabledHasBeenSet = false;
549
550 Aws::Utils::DateTime m_startedOn;
551 bool m_startedOnHasBeenSet = false;
552
553 Aws::Utils::DateTime m_lastModifiedOn;
554 bool m_lastModifiedOnHasBeenSet = false;
555
556 Aws::Utils::DateTime m_completedOn;
557 bool m_completedOnHasBeenSet = false;
558
559 JobRunState m_jobRunState;
560 bool m_jobRunStateHasBeenSet = false;
561
563 bool m_argumentsHasBeenSet = false;
564
565 Aws::String m_errorMessage;
566 bool m_errorMessageHasBeenSet = false;
567
568 Aws::Vector<Predecessor> m_predecessorRuns;
569 bool m_predecessorRunsHasBeenSet = false;
570
571 int m_executionTime;
572 bool m_executionTimeHasBeenSet = false;
573
574 int m_timeout;
575 bool m_timeoutHasBeenSet = false;
576
577 double m_maxCapacity;
578 bool m_maxCapacityHasBeenSet = false;
579
580 WorkerType m_workerType;
581 bool m_workerTypeHasBeenSet = false;
582
583 int m_numberOfWorkers;
584 bool m_numberOfWorkersHasBeenSet = false;
585
586 Aws::String m_securityConfiguration;
587 bool m_securityConfigurationHasBeenSet = false;
588
589 Aws::String m_logGroupName;
590 bool m_logGroupNameHasBeenSet = false;
591
592 NotificationProperty m_notificationProperty;
593 bool m_notificationPropertyHasBeenSet = false;
594
595 Aws::String m_glueVersion;
596 bool m_glueVersionHasBeenSet = false;
597
598 double m_dPUSeconds;
599 bool m_dPUSecondsHasBeenSet = false;
600
601 ExecutionClass m_executionClass;
602 bool m_executionClassHasBeenSet = false;
603
604 Aws::String m_maintenanceWindow;
605 bool m_maintenanceWindowHasBeenSet = false;
606
607 Aws::String m_profileName;
608 bool m_profileNameHasBeenSet = false;
609
610 Aws::String m_stateDetail;
611 bool m_stateDetailHasBeenSet = false;
612 };
613
614} // namespace Model
615} // namespace Glue
616} // namespace Aws
JobRun & WithPreviousRunId(const Aws::String &value)
Definition JobRun.h:83
JobRun & WithSecurityConfiguration(Aws::String &&value)
Definition JobRun.h:381
bool ExecutionClassHasBeenSet() const
Definition JobRun.h:471
int GetTimeout() const
Definition JobRun.h:282
bool ArgumentsHasBeenSet() const
Definition JobRun.h:219
JobRun & WithMaintenanceWindow(Aws::String &&value)
Definition JobRun.h:493
double GetDPUSeconds() const
Definition JobRun.h:454
void SetGlueVersion(Aws::String &&value)
Definition JobRun.h:434
void SetLogGroupName(const Aws::String &value)
Definition JobRun.h:397
JobRun & AddArguments(Aws::String &&key, const Aws::String &value)
Definition JobRun.h:225
const WorkerType & GetWorkerType() const
Definition JobRun.h:351
bool ExecutionTimeHasBeenSet() const
Definition JobRun.h:266
void SetMaintenanceWindow(const char *value)
Definition JobRun.h:491
JobRun & WithStateDetail(const Aws::String &value)
Definition JobRun.h:523
void SetArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition JobRun.h:220
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
Definition JobRun.h:218
JobRun & WithArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition JobRun.h:223
void SetLogGroupName(const char *value)
Definition JobRun.h:399
bool ProfileNameHasBeenSet() const
Definition JobRun.h:502
JobRun & WithDPUSeconds(double value)
Definition JobRun.h:457
void SetJobMode(const JobMode &value)
Definition JobRun.h:128
bool IdHasBeenSet() const
Definition JobRun.h:54
const Aws::String & GetJobName() const
Definition JobRun.h:106
JobRun & WithWorkerType(const WorkerType &value)
Definition JobRun.h:355
bool StateDetailHasBeenSet() const
Definition JobRun.h:519
JobRun & WithGlueVersion(const char *value)
Definition JobRun.h:438
void SetJobRunQueuingEnabled(bool value)
Definition JobRun.h:142
void SetPreviousRunId(const Aws::String &value)
Definition JobRun.h:80
void SetMaintenanceWindow(const Aws::String &value)
Definition JobRun.h:489
JobRun & WithJobMode(const JobMode &value)
Definition JobRun.h:130
JobRun & WithGlueVersion(Aws::String &&value)
Definition JobRun.h:437
bool PredecessorRunsHasBeenSet() const
Definition JobRun.h:252
JobRun & WithPredecessorRuns(const Aws::Vector< Predecessor > &value)
Definition JobRun.h:255
void SetId(const char *value)
Definition JobRun.h:57
void SetGlueVersion(const Aws::String &value)
Definition JobRun.h:433
void SetErrorMessage(const char *value)
Definition JobRun.h:241
const Aws::Vector< Predecessor > & GetPredecessorRuns() const
Definition JobRun.h:251
void SetTimeout(int value)
Definition JobRun.h:284
bool JobNameHasBeenSet() const
Definition JobRun.h:107
void SetNumberOfWorkers(int value)
Definition JobRun.h:366
bool JobRunQueuingEnabledHasBeenSet() const
Definition JobRun.h:141
JobRun & WithSecurityConfiguration(const char *value)
Definition JobRun.h:382
int GetAttempt() const
Definition JobRun.h:67
JobRun & AddArguments(const char *key, const char *value)
Definition JobRun.h:230
JobRun & WithJobName(Aws::String &&value)
Definition JobRun.h:112
const Aws::String & GetMaintenanceWindow() const
Definition JobRun.h:487
JobRun & WithExecutionClass(ExecutionClass &&value)
Definition JobRun.h:475
JobRun & WithStartedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:154
int GetExecutionTime() const
Definition JobRun.h:265
void SetId(Aws::String &&value)
Definition JobRun.h:56
JobRun & WithPredecessorRuns(Aws::Vector< Predecessor > &&value)
Definition JobRun.h:256
void SetErrorMessage(const Aws::String &value)
Definition JobRun.h:239
bool JobModeHasBeenSet() const
Definition JobRun.h:127
void SetWorkerType(const WorkerType &value)
Definition JobRun.h:353
void SetDPUSeconds(double value)
Definition JobRun.h:456
bool WorkerTypeHasBeenSet() const
Definition JobRun.h:352
bool MaxCapacityHasBeenSet() const
Definition JobRun.h:310
bool NumberOfWorkersHasBeenSet() const
Definition JobRun.h:365
void SetStateDetail(const Aws::String &value)
Definition JobRun.h:520
void SetProfileName(Aws::String &&value)
Definition JobRun.h:504
void SetStartedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:152
void SetPredecessorRuns(Aws::Vector< Predecessor > &&value)
Definition JobRun.h:254
JobRun & WithLogGroupName(const Aws::String &value)
Definition JobRun.h:400
JobRun & WithLogGroupName(Aws::String &&value)
Definition JobRun.h:401
JobRun & WithJobRunQueuingEnabled(bool value)
Definition JobRun.h:143
JobRun & WithId(Aws::String &&value)
Definition JobRun.h:59
bool LastModifiedOnHasBeenSet() const
Definition JobRun.h:163
void SetTriggerName(const Aws::String &value)
Definition JobRun.h:94
bool TimeoutHasBeenSet() const
Definition JobRun.h:283
void SetJobMode(JobMode &&value)
Definition JobRun.h:129
JobRun & WithProfileName(const char *value)
Definition JobRun.h:508
const Aws::Utils::DateTime & GetCompletedOn() const
Definition JobRun.h:174
bool DPUSecondsHasBeenSet() const
Definition JobRun.h:455
void SetJobName(const Aws::String &value)
Definition JobRun.h:108
JobRun & WithExecutionClass(const ExecutionClass &value)
Definition JobRun.h:474
JobRun & WithJobRunState(JobRunState &&value)
Definition JobRun.h:194
bool SecurityConfigurationHasBeenSet() const
Definition JobRun.h:376
void SetStateDetail(const char *value)
Definition JobRun.h:522
JobRun & WithTriggerName(Aws::String &&value)
Definition JobRun.h:98
void SetPreviousRunId(const char *value)
Definition JobRun.h:82
JobRun & WithId(const Aws::String &value)
Definition JobRun.h:58
void SetTriggerName(const char *value)
Definition JobRun.h:96
JobRun & WithExecutionTime(int value)
Definition JobRun.h:268
JobRun & WithPreviousRunId(const char *value)
Definition JobRun.h:85
void SetProfileName(const char *value)
Definition JobRun.h:505
JobRun & WithNotificationProperty(NotificationProperty &&value)
Definition JobRun.h:414
bool AttemptHasBeenSet() const
Definition JobRun.h:68
JobRun & AddArguments(const Aws::String &key, Aws::String &&value)
Definition JobRun.h:226
JobRun & WithNumberOfWorkers(int value)
Definition JobRun.h:367
JobRun & WithStartedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:155
void SetJobRunState(JobRunState &&value)
Definition JobRun.h:192
bool PreviousRunIdHasBeenSet() const
Definition JobRun.h:79
JobRun & WithCompletedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:179
bool MaintenanceWindowHasBeenSet() const
Definition JobRun.h:488
bool LogGroupNameHasBeenSet() const
Definition JobRun.h:396
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:164
AWS_GLUE_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
JobRun & WithNotificationProperty(const NotificationProperty &value)
Definition JobRun.h:413
const Aws::String & GetLogGroupName() const
Definition JobRun.h:395
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
JobRun & WithJobRunState(const JobRunState &value)
Definition JobRun.h:193
void SetStateDetail(Aws::String &&value)
Definition JobRun.h:521
AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition JobRun.h:162
void SetNotificationProperty(NotificationProperty &&value)
Definition JobRun.h:412
void SetJobName(const char *value)
Definition JobRun.h:110
bool GetJobRunQueuingEnabled() const
Definition JobRun.h:140
JobRun & WithMaxCapacity(double value)
Definition JobRun.h:312
const Aws::String & GetErrorMessage() const
Definition JobRun.h:237
int GetNumberOfWorkers() const
Definition JobRun.h:364
const Aws::String & GetId() const
Definition JobRun.h:53
void SetProfileName(const Aws::String &value)
Definition JobRun.h:503
void SetStartedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:153
bool JobRunStateHasBeenSet() const
Definition JobRun.h:190
JobRun & WithSecurityConfiguration(const Aws::String &value)
Definition JobRun.h:380
void SetSecurityConfiguration(Aws::String &&value)
Definition JobRun.h:378
bool GlueVersionHasBeenSet() const
Definition JobRun.h:432
JobRun & WithId(const char *value)
Definition JobRun.h:60
JobRun & WithJobName(const char *value)
Definition JobRun.h:113
JobRun & WithErrorMessage(const Aws::String &value)
Definition JobRun.h:242
void SetExecutionClass(const ExecutionClass &value)
Definition JobRun.h:472
const Aws::String & GetStateDetail() const
Definition JobRun.h:518
void SetPredecessorRuns(const Aws::Vector< Predecessor > &value)
Definition JobRun.h:253
JobRun & WithAttempt(int value)
Definition JobRun.h:70
JobRun & WithMaintenanceWindow(const char *value)
Definition JobRun.h:494
bool CompletedOnHasBeenSet() const
Definition JobRun.h:175
const Aws::String & GetSecurityConfiguration() const
Definition JobRun.h:375
const ExecutionClass & GetExecutionClass() const
Definition JobRun.h:470
bool StartedOnHasBeenSet() const
Definition JobRun.h:151
const Aws::String & GetTriggerName() const
Definition JobRun.h:92
const Aws::String & GetPreviousRunId() const
Definition JobRun.h:78
JobRun & WithStateDetail(const char *value)
Definition JobRun.h:525
JobRun & AddArguments(const Aws::String &key, const Aws::String &value)
Definition JobRun.h:224
void SetExecutionClass(ExecutionClass &&value)
Definition JobRun.h:473
JobRun & AddArguments(const char *key, Aws::String &&value)
Definition JobRun.h:228
void SetMaintenanceWindow(Aws::String &&value)
Definition JobRun.h:490
JobRun & AddArguments(Aws::String &&key, Aws::String &&value)
Definition JobRun.h:227
JobRun & WithMaintenanceWindow(const Aws::String &value)
Definition JobRun.h:492
void SetSecurityConfiguration(const Aws::String &value)
Definition JobRun.h:377
JobRun & AddPredecessorRuns(Predecessor &&value)
Definition JobRun.h:258
void SetSecurityConfiguration(const char *value)
Definition JobRun.h:379
JobRun & WithCompletedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:178
void SetCompletedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:177
void SetPreviousRunId(Aws::String &&value)
Definition JobRun.h:81
JobRun & WithProfileName(const Aws::String &value)
Definition JobRun.h:506
JobRun & WithErrorMessage(Aws::String &&value)
Definition JobRun.h:243
void SetId(const Aws::String &value)
Definition JobRun.h:55
JobRun & WithTriggerName(const char *value)
Definition JobRun.h:99
void SetMaxCapacity(double value)
Definition JobRun.h:311
JobRun & WithErrorMessage(const char *value)
Definition JobRun.h:244
JobRun & WithGlueVersion(const Aws::String &value)
Definition JobRun.h:436
bool TriggerNameHasBeenSet() const
Definition JobRun.h:93
JobRun & WithStateDetail(Aws::String &&value)
Definition JobRun.h:524
JobRun & WithLastModifiedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:166
void SetCompletedOn(const Aws::Utils::DateTime &value)
Definition JobRun.h:176
JobRun & WithLastModifiedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:167
void SetNotificationProperty(const NotificationProperty &value)
Definition JobRun.h:411
bool NotificationPropertyHasBeenSet() const
Definition JobRun.h:410
JobRun & AddArguments(Aws::String &&key, const char *value)
Definition JobRun.h:229
JobRun & WithJobMode(JobMode &&value)
Definition JobRun.h:131
double GetMaxCapacity() const
Definition JobRun.h:309
void SetErrorMessage(Aws::String &&value)
Definition JobRun.h:240
bool ErrorMessageHasBeenSet() const
Definition JobRun.h:238
void SetWorkerType(WorkerType &&value)
Definition JobRun.h:354
JobRun & WithTriggerName(const Aws::String &value)
Definition JobRun.h:97
void SetAttempt(int value)
Definition JobRun.h:69
void SetGlueVersion(const char *value)
Definition JobRun.h:435
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Definition JobRun.h:165
JobRun & WithWorkerType(WorkerType &&value)
Definition JobRun.h:356
const Aws::String & GetGlueVersion() const
Definition JobRun.h:431
const Aws::Utils::DateTime & GetStartedOn() const
Definition JobRun.h:150
JobRun & WithArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition JobRun.h:222
JobRun & WithPreviousRunId(Aws::String &&value)
Definition JobRun.h:84
JobRun & WithTimeout(int value)
Definition JobRun.h:285
void SetArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition JobRun.h:221
const NotificationProperty & GetNotificationProperty() const
Definition JobRun.h:409
const JobRunState & GetJobRunState() const
Definition JobRun.h:189
JobRun & WithJobName(const Aws::String &value)
Definition JobRun.h:111
JobRun & WithProfileName(Aws::String &&value)
Definition JobRun.h:507
void SetExecutionTime(int value)
Definition JobRun.h:267
void SetLogGroupName(Aws::String &&value)
Definition JobRun.h:398
const Aws::String & GetProfileName() const
Definition JobRun.h:501
void SetJobRunState(const JobRunState &value)
Definition JobRun.h:191
JobRun & WithLogGroupName(const char *value)
Definition JobRun.h:402
void SetJobName(Aws::String &&value)
Definition JobRun.h:109
void SetTriggerName(Aws::String &&value)
Definition JobRun.h:95
const JobMode & GetJobMode() const
Definition JobRun.h:126
JobRun & AddPredecessorRuns(const Predecessor &value)
Definition JobRun.h:257
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