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>
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); }
69 inline void SetAttempt(
int value) { m_attemptHasBeenSet =
true; m_attempt = value; }
82 inline void SetPreviousRunId(
const char* value) { m_previousRunIdHasBeenSet =
true; m_previousRunId.assign(value); }
96 inline void SetTriggerName(
const char* value) { m_triggerNameHasBeenSet =
true; m_triggerName.assign(value); }
110 inline void SetJobName(
const char* value) { m_jobNameHasBeenSet =
true; m_jobName.assign(value); }
129 inline void SetJobMode(
JobMode&& value) { m_jobModeHasBeenSet =
true; m_jobMode = std::move(value); }
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; }
241 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
267 inline void SetExecutionTime(
int value) { m_executionTimeHasBeenSet =
true; m_executionTime = value; }
284 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
311 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
366 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
379 inline void SetSecurityConfiguration(
const char* value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration.assign(value); }
399 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
435 inline void SetGlueVersion(
const char* value) { m_glueVersionHasBeenSet =
true; m_glueVersion.assign(value); }
456 inline void SetDPUSeconds(
double value) { m_dPUSecondsHasBeenSet =
true; m_dPUSeconds = value; }
491 inline void SetMaintenanceWindow(
const char* value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow.assign(value); }
505 inline void SetProfileName(
const char* value) { m_profileNameHasBeenSet =
true; m_profileName.assign(value); }
522 inline void SetStateDetail(
const char* value) { m_stateDetailHasBeenSet =
true; m_stateDetail.assign(value); }
530 bool m_idHasBeenSet =
false;
533 bool m_attemptHasBeenSet =
false;
536 bool m_previousRunIdHasBeenSet =
false;
539 bool m_triggerNameHasBeenSet =
false;
542 bool m_jobNameHasBeenSet =
false;
545 bool m_jobModeHasBeenSet =
false;
547 bool m_jobRunQueuingEnabled;
548 bool m_jobRunQueuingEnabledHasBeenSet =
false;
551 bool m_startedOnHasBeenSet =
false;
554 bool m_lastModifiedOnHasBeenSet =
false;
557 bool m_completedOnHasBeenSet =
false;
560 bool m_jobRunStateHasBeenSet =
false;
563 bool m_argumentsHasBeenSet =
false;
566 bool m_errorMessageHasBeenSet =
false;
569 bool m_predecessorRunsHasBeenSet =
false;
572 bool m_executionTimeHasBeenSet =
false;
575 bool m_timeoutHasBeenSet =
false;
577 double m_maxCapacity;
578 bool m_maxCapacityHasBeenSet =
false;
581 bool m_workerTypeHasBeenSet =
false;
583 int m_numberOfWorkers;
584 bool m_numberOfWorkersHasBeenSet =
false;
587 bool m_securityConfigurationHasBeenSet =
false;
590 bool m_logGroupNameHasBeenSet =
false;
593 bool m_notificationPropertyHasBeenSet =
false;
596 bool m_glueVersionHasBeenSet =
false;
599 bool m_dPUSecondsHasBeenSet =
false;
602 bool m_executionClassHasBeenSet =
false;
605 bool m_maintenanceWindowHasBeenSet =
false;
608 bool m_profileNameHasBeenSet =
false;
611 bool m_stateDetailHasBeenSet =
false;
JobRun & WithPreviousRunId(const Aws::String &value)
JobRun & WithSecurityConfiguration(Aws::String &&value)
bool ExecutionClassHasBeenSet() const
bool ArgumentsHasBeenSet() const
JobRun & WithMaintenanceWindow(Aws::String &&value)
double GetDPUSeconds() const
void SetGlueVersion(Aws::String &&value)
void SetLogGroupName(const Aws::String &value)
JobRun & AddArguments(Aws::String &&key, const Aws::String &value)
const WorkerType & GetWorkerType() const
bool ExecutionTimeHasBeenSet() const
void SetMaintenanceWindow(const char *value)
JobRun & WithStateDetail(const Aws::String &value)
void SetArguments(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
JobRun & WithArguments(Aws::Map< Aws::String, Aws::String > &&value)
void SetLogGroupName(const char *value)
bool ProfileNameHasBeenSet() const
JobRun & WithDPUSeconds(double value)
void SetJobMode(const JobMode &value)
bool IdHasBeenSet() const
const Aws::String & GetJobName() const
JobRun & WithWorkerType(const WorkerType &value)
bool StateDetailHasBeenSet() const
JobRun & WithGlueVersion(const char *value)
void SetJobRunQueuingEnabled(bool value)
void SetPreviousRunId(const Aws::String &value)
void SetMaintenanceWindow(const Aws::String &value)
JobRun & WithJobMode(const JobMode &value)
JobRun & WithGlueVersion(Aws::String &&value)
bool PredecessorRunsHasBeenSet() const
JobRun & WithPredecessorRuns(const Aws::Vector< Predecessor > &value)
void SetId(const char *value)
void SetGlueVersion(const Aws::String &value)
void SetErrorMessage(const char *value)
const Aws::Vector< Predecessor > & GetPredecessorRuns() const
void SetTimeout(int value)
bool JobNameHasBeenSet() const
void SetNumberOfWorkers(int value)
bool JobRunQueuingEnabledHasBeenSet() const
JobRun & WithSecurityConfiguration(const char *value)
JobRun & AddArguments(const char *key, const char *value)
JobRun & WithJobName(Aws::String &&value)
const Aws::String & GetMaintenanceWindow() const
JobRun & WithExecutionClass(ExecutionClass &&value)
JobRun & WithStartedOn(const Aws::Utils::DateTime &value)
int GetExecutionTime() const
void SetId(Aws::String &&value)
JobRun & WithPredecessorRuns(Aws::Vector< Predecessor > &&value)
void SetErrorMessage(const Aws::String &value)
bool JobModeHasBeenSet() const
void SetWorkerType(const WorkerType &value)
void SetDPUSeconds(double value)
bool WorkerTypeHasBeenSet() const
bool MaxCapacityHasBeenSet() const
bool NumberOfWorkersHasBeenSet() const
void SetStateDetail(const Aws::String &value)
void SetProfileName(Aws::String &&value)
void SetStartedOn(const Aws::Utils::DateTime &value)
void SetPredecessorRuns(Aws::Vector< Predecessor > &&value)
JobRun & WithLogGroupName(const Aws::String &value)
JobRun & WithLogGroupName(Aws::String &&value)
JobRun & WithJobRunQueuingEnabled(bool value)
JobRun & WithId(Aws::String &&value)
bool LastModifiedOnHasBeenSet() const
void SetTriggerName(const Aws::String &value)
bool TimeoutHasBeenSet() const
void SetJobMode(JobMode &&value)
JobRun & WithProfileName(const char *value)
const Aws::Utils::DateTime & GetCompletedOn() const
bool DPUSecondsHasBeenSet() const
void SetJobName(const Aws::String &value)
JobRun & WithExecutionClass(const ExecutionClass &value)
JobRun & WithJobRunState(JobRunState &&value)
bool SecurityConfigurationHasBeenSet() const
void SetStateDetail(const char *value)
JobRun & WithTriggerName(Aws::String &&value)
void SetPreviousRunId(const char *value)
JobRun & WithId(const Aws::String &value)
void SetTriggerName(const char *value)
JobRun & WithExecutionTime(int value)
JobRun & WithPreviousRunId(const char *value)
void SetProfileName(const char *value)
JobRun & WithNotificationProperty(NotificationProperty &&value)
bool AttemptHasBeenSet() const
JobRun & AddArguments(const Aws::String &key, Aws::String &&value)
JobRun & WithNumberOfWorkers(int value)
JobRun & WithStartedOn(Aws::Utils::DateTime &&value)
void SetJobRunState(JobRunState &&value)
bool PreviousRunIdHasBeenSet() const
JobRun & WithCompletedOn(Aws::Utils::DateTime &&value)
bool MaintenanceWindowHasBeenSet() const
bool LogGroupNameHasBeenSet() const
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
AWS_GLUE_API JobRun & operator=(Aws::Utils::Json::JsonView jsonValue)
JobRun & WithNotificationProperty(const NotificationProperty &value)
const Aws::String & GetLogGroupName() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
JobRun & WithJobRunState(const JobRunState &value)
void SetStateDetail(Aws::String &&value)
AWS_GLUE_API JobRun(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedOn() const
void SetNotificationProperty(NotificationProperty &&value)
void SetJobName(const char *value)
bool GetJobRunQueuingEnabled() const
JobRun & WithMaxCapacity(double value)
const Aws::String & GetErrorMessage() const
int GetNumberOfWorkers() const
const Aws::String & GetId() const
void SetProfileName(const Aws::String &value)
void SetStartedOn(Aws::Utils::DateTime &&value)
bool JobRunStateHasBeenSet() const
JobRun & WithSecurityConfiguration(const Aws::String &value)
void SetSecurityConfiguration(Aws::String &&value)
bool GlueVersionHasBeenSet() const
JobRun & WithId(const char *value)
JobRun & WithJobName(const char *value)
JobRun & WithErrorMessage(const Aws::String &value)
void SetExecutionClass(const ExecutionClass &value)
const Aws::String & GetStateDetail() const
void SetPredecessorRuns(const Aws::Vector< Predecessor > &value)
JobRun & WithAttempt(int value)
JobRun & WithMaintenanceWindow(const char *value)
bool CompletedOnHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
const ExecutionClass & GetExecutionClass() const
bool StartedOnHasBeenSet() const
const Aws::String & GetTriggerName() const
const Aws::String & GetPreviousRunId() const
JobRun & WithStateDetail(const char *value)
JobRun & AddArguments(const Aws::String &key, const Aws::String &value)
void SetExecutionClass(ExecutionClass &&value)
JobRun & AddArguments(const char *key, Aws::String &&value)
void SetMaintenanceWindow(Aws::String &&value)
JobRun & AddArguments(Aws::String &&key, Aws::String &&value)
JobRun & WithMaintenanceWindow(const Aws::String &value)
void SetSecurityConfiguration(const Aws::String &value)
JobRun & AddPredecessorRuns(Predecessor &&value)
void SetSecurityConfiguration(const char *value)
JobRun & WithCompletedOn(const Aws::Utils::DateTime &value)
void SetCompletedOn(Aws::Utils::DateTime &&value)
void SetPreviousRunId(Aws::String &&value)
JobRun & WithProfileName(const Aws::String &value)
JobRun & WithErrorMessage(Aws::String &&value)
void SetId(const Aws::String &value)
JobRun & WithTriggerName(const char *value)
void SetMaxCapacity(double value)
JobRun & WithErrorMessage(const char *value)
JobRun & WithGlueVersion(const Aws::String &value)
bool TriggerNameHasBeenSet() const
JobRun & WithStateDetail(Aws::String &&value)
JobRun & WithLastModifiedOn(const Aws::Utils::DateTime &value)
void SetCompletedOn(const Aws::Utils::DateTime &value)
JobRun & WithLastModifiedOn(Aws::Utils::DateTime &&value)
void SetNotificationProperty(const NotificationProperty &value)
bool NotificationPropertyHasBeenSet() const
JobRun & AddArguments(Aws::String &&key, const char *value)
JobRun & WithJobMode(JobMode &&value)
double GetMaxCapacity() const
void SetErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
void SetWorkerType(WorkerType &&value)
JobRun & WithTriggerName(const Aws::String &value)
void SetAttempt(int value)
void SetGlueVersion(const char *value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
JobRun & WithWorkerType(WorkerType &&value)
const Aws::String & GetGlueVersion() const
const Aws::Utils::DateTime & GetStartedOn() const
JobRun & WithArguments(const Aws::Map< Aws::String, Aws::String > &value)
JobRun & WithPreviousRunId(Aws::String &&value)
JobRun & WithTimeout(int value)
void SetArguments(Aws::Map< Aws::String, Aws::String > &&value)
const NotificationProperty & GetNotificationProperty() const
const JobRunState & GetJobRunState() const
JobRun & WithJobName(const Aws::String &value)
JobRun & WithProfileName(Aws::String &&value)
void SetExecutionTime(int value)
void SetLogGroupName(Aws::String &&value)
const Aws::String & GetProfileName() const
void SetJobRunState(const JobRunState &value)
JobRun & WithLogGroupName(const char *value)
void SetJobName(Aws::String &&value)
void SetTriggerName(Aws::String &&value)
const JobMode & GetJobMode() const
JobRun & AddPredecessorRuns(const Predecessor &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