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>
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
68 m_attemptHasBeenSet =
true;
84 template <
typename PreviousRunIdT = Aws::String>
86 m_previousRunIdHasBeenSet =
true;
87 m_previousRunId = std::forward<PreviousRunIdT>(value);
89 template <
typename PreviousRunIdT = Aws::String>
102 template <
typename TriggerNameT = Aws::String>
104 m_triggerNameHasBeenSet =
true;
105 m_triggerName = std::forward<TriggerNameT>(value);
107 template <
typename TriggerNameT = Aws::String>
120 template <
typename JobNameT = Aws::String>
122 m_jobNameHasBeenSet =
true;
123 m_jobName = std::forward<JobNameT>(value);
125 template <
typename JobNameT = Aws::String>
145 m_jobModeHasBeenSet =
true;
163 m_jobRunQueuingEnabledHasBeenSet =
true;
164 m_jobRunQueuingEnabled = value;
178 template <
typename StartedOnT = Aws::Utils::DateTime>
180 m_startedOnHasBeenSet =
true;
181 m_startedOn = std::forward<StartedOnT>(value);
183 template <
typename StartedOnT = Aws::Utils::DateTime>
196 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
198 m_lastModifiedOnHasBeenSet =
true;
199 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
201 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
214 template <
typename CompletedOnT = Aws::Utils::DateTime>
216 m_completedOnHasBeenSet =
true;
217 m_completedOn = std::forward<CompletedOnT>(value);
219 template <
typename CompletedOnT = Aws::Utils::DateTime>
236 m_jobRunStateHasBeenSet =
true;
237 m_jobRunState = value;
268 template <
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
270 m_argumentsHasBeenSet =
true;
271 m_arguments = std::forward<ArgumentsT>(value);
273 template <
typename ArgumentsT = Aws::Map<Aws::String, Aws::String>>
278 template <
typename ArgumentsKeyT = Aws::String,
typename ArgumentsValueT = Aws::String>
280 m_argumentsHasBeenSet =
true;
281 m_arguments.emplace(std::forward<ArgumentsKeyT>(key), std::forward<ArgumentsValueT>(value));
292 template <
typename ErrorMessageT = Aws::String>
294 m_errorMessageHasBeenSet =
true;
295 m_errorMessage = std::forward<ErrorMessageT>(value);
297 template <
typename ErrorMessageT = Aws::String>
310 template <
typename PredecessorRunsT = Aws::Vector<Predecessor>>
312 m_predecessorRunsHasBeenSet =
true;
313 m_predecessorRuns = std::forward<PredecessorRunsT>(value);
315 template <
typename PredecessorRunsT = Aws::Vector<Predecessor>>
320 template <
typename PredecessorRunsT = Predecessor>
322 m_predecessorRunsHasBeenSet =
true;
323 m_predecessorRuns.emplace_back(std::forward<PredecessorRunsT>(value));
335 m_executionTimeHasBeenSet =
true;
336 m_executionTime = value;
361 m_timeoutHasBeenSet =
true;
394 m_maxCapacityHasBeenSet =
true;
395 m_maxCapacity = value;
440 m_workerTypeHasBeenSet =
true;
441 m_workerType = value;
457 m_numberOfWorkersHasBeenSet =
true;
458 m_numberOfWorkers = value;
473 template <
typename SecurityConfigurationT = Aws::String>
475 m_securityConfigurationHasBeenSet =
true;
476 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
478 template <
typename SecurityConfigurationT = Aws::String>
497 template <
typename LogGroupNameT = Aws::String>
499 m_logGroupNameHasBeenSet =
true;
500 m_logGroupName = std::forward<LogGroupNameT>(value);
502 template <
typename LogGroupNameT = Aws::String>
515 template <
typename NotificationPropertyT = NotificationProperty>
517 m_notificationPropertyHasBeenSet =
true;
518 m_notificationProperty = std::forward<NotificationPropertyT>(value);
520 template <
typename NotificationPropertyT = NotificationProperty>
543 template <
typename GlueVersionT = Aws::String>
545 m_glueVersionHasBeenSet =
true;
546 m_glueVersion = std::forward<GlueVersionT>(value);
548 template <
typename GlueVersionT = Aws::String>
571 m_dPUSecondsHasBeenSet =
true;
572 m_dPUSeconds = value;
593 m_executionClassHasBeenSet =
true;
594 m_executionClass = value;
613 template <
typename Ma
intenanceWindowT = Aws::String>
615 m_maintenanceWindowHasBeenSet =
true;
616 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
618 template <
typename Ma
intenanceWindowT = Aws::String>
631 template <
typename ProfileNameT = Aws::String>
633 m_profileNameHasBeenSet =
true;
634 m_profileName = std::forward<ProfileNameT>(value);
636 template <
typename ProfileNameT = Aws::String>
652 template <
typename StateDetailT = Aws::String>
654 m_stateDetailHasBeenSet =
true;
655 m_stateDetail = std::forward<StateDetailT>(value);
657 template <
typename StateDetailT = Aws::String>
672 template <
typename ExecutionRoleSessionPolicyT = Aws::String>
674 m_executionRoleSessionPolicyHasBeenSet =
true;
675 m_executionRoleSessionPolicy = std::forward<ExecutionRoleSessionPolicyT>(value);
677 template <
typename ExecutionRoleSessionPolicyT = Aws::String>
696 bool m_jobRunQueuingEnabled{
false};
712 int m_executionTime{0};
716 double m_maxCapacity{0.0};
720 int m_numberOfWorkers{0};
726 NotificationProperty m_notificationProperty;
730 double m_dPUSeconds{0.0};
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;
JobRun & WithJobRunState(JobRunState value)
bool ExecutionClassHasBeenSet() const
bool ArgumentsHasBeenSet() const
double GetDPUSeconds() const
void SetPredecessorRuns(PredecessorRunsT &&value)
bool ExecutionTimeHasBeenSet() const
JobRun & WithLastModifiedOn(LastModifiedOnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
JobRun & WithWorkerType(WorkerType value)
bool ProfileNameHasBeenSet() const
JobRun & WithDPUSeconds(double value)
bool IdHasBeenSet() const
const Aws::String & GetJobName() const
JobRun & WithPredecessorRuns(PredecessorRunsT &&value)
void SetExecutionClass(ExecutionClass value)
bool StateDetailHasBeenSet() const
void SetJobRunQueuingEnabled(bool value)
JobRun & WithGlueVersion(GlueVersionT &&value)
bool PredecessorRunsHasBeenSet() const
const Aws::Vector< Predecessor > & GetPredecessorRuns() const
void SetTimeout(int value)
JobRunState GetJobRunState() const
bool JobNameHasBeenSet() const
void SetNumberOfWorkers(int value)
bool JobRunQueuingEnabledHasBeenSet() const
JobRun & WithMaintenanceWindow(MaintenanceWindowT &&value)
JobRun & WithCompletedOn(CompletedOnT &&value)
JobMode GetJobMode() const
JobRun & WithSecurityConfiguration(SecurityConfigurationT &&value)
JobRun & WithTriggerName(TriggerNameT &&value)
JobRun & WithNotificationProperty(NotificationPropertyT &&value)
const Aws::String & GetMaintenanceWindow() const
bool ExecutionRoleSessionPolicyHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetExecutionRoleSessionPolicy() const
int GetExecutionTime() const
void SetJobMode(JobMode value)
bool JobModeHasBeenSet() const
void SetDPUSeconds(double value)
bool WorkerTypeHasBeenSet() const
bool MaxCapacityHasBeenSet() const
JobRun & WithStartedOn(StartedOnT &&value)
void SetProfileName(ProfileNameT &&value)
bool NumberOfWorkersHasBeenSet() const
void SetMaintenanceWindow(MaintenanceWindowT &&value)
JobRun & WithProfileName(ProfileNameT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
JobRun & WithJobRunQueuingEnabled(bool value)
bool LastModifiedOnHasBeenSet() const
JobRun & WithArguments(ArgumentsT &&value)
bool TimeoutHasBeenSet() const
const Aws::Utils::DateTime & GetCompletedOn() const
bool DPUSecondsHasBeenSet() const
JobRun & WithErrorMessage(ErrorMessageT &&value)
bool SecurityConfigurationHasBeenSet() const
void SetLastModifiedOn(LastModifiedOnT &&value)
JobRun & WithExecutionTime(int value)
bool AttemptHasBeenSet() const
JobRun & WithNumberOfWorkers(int value)
void SetJobName(JobNameT &&value)
JobRun & AddArguments(ArgumentsKeyT &&key, ArgumentsValueT &&value)
bool PreviousRunIdHasBeenSet() const
void SetGlueVersion(GlueVersionT &&value)
void SetExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
bool MaintenanceWindowHasBeenSet() const
bool LogGroupNameHasBeenSet() const
AWS_GLUE_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLogGroupName() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedOn() const
void SetPreviousRunId(PreviousRunIdT &&value)
bool GetJobRunQueuingEnabled() const
JobRun & WithJobMode(JobMode value)
void SetCompletedOn(CompletedOnT &&value)
JobRun & WithMaxCapacity(double value)
const Aws::String & GetErrorMessage() const
int GetNumberOfWorkers() const
const Aws::String & GetId() const
bool JobRunStateHasBeenSet() const
bool GlueVersionHasBeenSet() const
JobRun & AddPredecessorRuns(PredecessorRunsT &&value)
WorkerType GetWorkerType() const
const Aws::String & GetStateDetail() const
JobRun & WithStateDetail(StateDetailT &&value)
JobRun & WithAttempt(int value)
void SetWorkerType(WorkerType value)
bool CompletedOnHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
void SetJobRunState(JobRunState value)
bool StartedOnHasBeenSet() const
const Aws::String & GetTriggerName() const
const Aws::String & GetPreviousRunId() const
JobRun & WithExecutionRoleSessionPolicy(ExecutionRoleSessionPolicyT &&value)
void SetStartedOn(StartedOnT &&value)
JobRun & WithPreviousRunId(PreviousRunIdT &&value)
JobRun & WithExecutionClass(ExecutionClass value)
void SetArguments(ArgumentsT &&value)
void SetNotificationProperty(NotificationPropertyT &&value)
JobRun & WithId(IdT &&value)
void SetMaxCapacity(double value)
bool TriggerNameHasBeenSet() const
JobRun & WithJobName(JobNameT &&value)
void SetLogGroupName(LogGroupNameT &&value)
ExecutionClass GetExecutionClass() const
bool NotificationPropertyHasBeenSet() const
double GetMaxCapacity() const
bool ErrorMessageHasBeenSet() const
void SetAttempt(int value)
const Aws::String & GetGlueVersion() const
const Aws::Utils::DateTime & GetStartedOn() const
JobRun & WithTimeout(int value)
const NotificationProperty & GetNotificationProperty() const
AWS_GLUE_API JobRun()=default
JobRun & WithLogGroupName(LogGroupNameT &&value)
void SetExecutionTime(int value)
void SetStateDetail(StateDetailT &&value)
const Aws::String & GetProfileName() const
void SetTriggerName(TriggerNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue