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/ExecutionProperty.h>
12#include <aws/glue/model/JobCommand.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/glue/model/ConnectionsList.h>
15#include <aws/glue/model/WorkerType.h>
16#include <aws/glue/model/NotificationProperty.h>
17#include <aws/glue/model/ExecutionClass.h>
18#include <aws/glue/model/SourceControlDetails.h>
19#include <aws/glue/model/CodeGenConfigurationNode.h>
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 inline void SetJobMode(
const JobMode& value) { m_jobModeHasBeenSet =
true; m_jobMode = value; }
78 inline void SetJobMode(
JobMode&& value) { m_jobModeHasBeenSet =
true; m_jobMode = std::move(value); }
93 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
105 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
119 inline void SetLogUri(
const char* value) { m_logUriHasBeenSet =
true; m_logUri.assign(value); }
134 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
221 inline Job&
AddDefaultArguments(
const char* key,
const char* value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(key, value);
return *
this; }
241 inline Job&
AddNonOverridableArguments(
const char* key,
const char* value) { m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments.emplace(key, value);
return *
this; }
262 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
278 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
305 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
360 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
373 inline void SetSecurityConfiguration(
const char* value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration.assign(value); }
409 inline void SetGlueVersion(
const char* value) { m_glueVersionHasBeenSet =
true; m_glueVersion.assign(value); }
478 inline void SetMaintenanceWindow(
const char* value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow.assign(value); }
492 inline void SetProfileName(
const char* value) { m_profileNameHasBeenSet =
true; m_profileName.assign(value); }
500 bool m_nameHasBeenSet =
false;
503 bool m_jobModeHasBeenSet =
false;
505 bool m_jobRunQueuingEnabled;
506 bool m_jobRunQueuingEnabledHasBeenSet =
false;
509 bool m_descriptionHasBeenSet =
false;
512 bool m_logUriHasBeenSet =
false;
515 bool m_roleHasBeenSet =
false;
518 bool m_createdOnHasBeenSet =
false;
521 bool m_lastModifiedOnHasBeenSet =
false;
524 bool m_executionPropertyHasBeenSet =
false;
527 bool m_commandHasBeenSet =
false;
530 bool m_defaultArgumentsHasBeenSet =
false;
533 bool m_nonOverridableArgumentsHasBeenSet =
false;
536 bool m_connectionsHasBeenSet =
false;
539 bool m_maxRetriesHasBeenSet =
false;
542 bool m_timeoutHasBeenSet =
false;
544 double m_maxCapacity;
545 bool m_maxCapacityHasBeenSet =
false;
548 bool m_workerTypeHasBeenSet =
false;
550 int m_numberOfWorkers;
551 bool m_numberOfWorkersHasBeenSet =
false;
554 bool m_securityConfigurationHasBeenSet =
false;
557 bool m_notificationPropertyHasBeenSet =
false;
560 bool m_glueVersionHasBeenSet =
false;
563 bool m_codeGenConfigurationNodesHasBeenSet =
false;
566 bool m_executionClassHasBeenSet =
false;
569 bool m_sourceControlDetailsHasBeenSet =
false;
572 bool m_maintenanceWindowHasBeenSet =
false;
575 bool m_profileNameHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastModifiedOn() const
void SetMaintenanceWindow(const char *value)
void SetCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
Job & AddDefaultArguments(const char *key, const char *value)
Job & AddDefaultArguments(const Aws::String &key, Aws::String &&value)
void SetExecutionProperty(const ExecutionProperty &value)
bool CommandHasBeenSet() const
void SetProfileName(Aws::String &&value)
Job & WithCreatedOn(Aws::Utils::DateTime &&value)
bool CreatedOnHasBeenSet() const
Job & WithRole(const Aws::String &value)
Job & WithExecutionClass(ExecutionClass &&value)
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
Job & AddDefaultArguments(Aws::String &&key, const Aws::String &value)
bool NotificationPropertyHasBeenSet() const
void SetName(Aws::String &&value)
const SourceControlDetails & GetSourceControlDetails() const
void SetSecurityConfiguration(Aws::String &&value)
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Job & WithRole(Aws::String &&value)
bool MaxRetriesHasBeenSet() const
Job & WithDescription(Aws::String &&value)
const JobMode & GetJobMode() const
Job & WithLogUri(const Aws::String &value)
Job & WithMaintenanceWindow(const Aws::String &value)
Job & WithProfileName(const Aws::String &value)
int GetMaxRetries() const
Job & AddDefaultArguments(const Aws::String &key, const Aws::String &value)
bool ExecutionClassHasBeenSet() const
void SetMaintenanceWindow(const Aws::String &value)
void SetSecurityConfiguration(const Aws::String &value)
Job & AddCodeGenConfigurationNodes(const char *key, CodeGenConfigurationNode &&value)
bool DescriptionHasBeenSet() const
bool SourceControlDetailsHasBeenSet() const
Job & AddDefaultArguments(Aws::String &&key, Aws::String &&value)
const Aws::String & GetGlueVersion() const
Job & WithLastModifiedOn(const Aws::Utils::DateTime &value)
AWS_GLUE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Job & WithNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
void SetDescription(Aws::String &&value)
const WorkerType & GetWorkerType() const
bool WorkerTypeHasBeenSet() const
Job & WithSourceControlDetails(SourceControlDetails &&value)
const NotificationProperty & GetNotificationProperty() const
void SetProfileName(const char *value)
void SetCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
bool RoleHasBeenSet() const
void SetSourceControlDetails(SourceControlDetails &&value)
void SetLogUri(const Aws::String &value)
const Aws::String & GetName() const
Job & AddDefaultArguments(Aws::String &&key, const char *value)
Job & WithCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
Job & WithDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
bool TimeoutHasBeenSet() const
Job & WithJobMode(JobMode &&value)
void SetExecutionProperty(ExecutionProperty &&value)
Job & WithLogUri(Aws::String &&value)
void SetDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
void SetWorkerType(WorkerType &&value)
void SetCreatedOn(const Aws::Utils::DateTime &value)
Job & AddNonOverridableArguments(const char *key, const char *value)
bool JobModeHasBeenSet() const
Job & WithDescription(const char *value)
const Aws::String & GetRole() const
Job & WithName(const char *value)
void SetProfileName(const Aws::String &value)
AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithWorkerType(const WorkerType &value)
const ExecutionClass & GetExecutionClass() const
Job & WithTimeout(int value)
void SetJobMode(const JobMode &value)
Job & WithDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
Job & WithJobMode(const JobMode &value)
void SetMaxCapacity(double value)
const ExecutionProperty & GetExecutionProperty() const
Job & WithGlueVersion(const char *value)
void SetRole(Aws::String &&value)
Job & AddNonOverridableArguments(Aws::String &&key, const char *value)
Job & WithMaxRetries(int value)
Job & AddCodeGenConfigurationNodes(const Aws::String &key, CodeGenConfigurationNode &&value)
Job & AddCodeGenConfigurationNodes(const Aws::String &key, const CodeGenConfigurationNode &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
bool CodeGenConfigurationNodesHasBeenSet() const
Job & WithMaxCapacity(double value)
bool GetJobRunQueuingEnabled() const
Job & WithName(const Aws::String &value)
Job & WithNotificationProperty(NotificationProperty &&value)
Job & WithConnections(const ConnectionsList &value)
void SetName(const char *value)
bool NumberOfWorkersHasBeenSet() const
Job & WithCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
Job & WithSecurityConfiguration(Aws::String &&value)
Job & WithConnections(ConnectionsList &&value)
Job & WithMaintenanceWindow(Aws::String &&value)
void SetLogUri(const char *value)
void SetExecutionClass(ExecutionClass &&value)
void SetCreatedOn(Aws::Utils::DateTime &&value)
void SetNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const Aws::String &value)
Job & AddNonOverridableArguments(Aws::String &&key, const Aws::String &value)
Job & WithName(Aws::String &&value)
bool LastModifiedOnHasBeenSet() const
Job & WithLogUri(const char *value)
Job & WithProfileName(Aws::String &&value)
Job & WithWorkerType(WorkerType &&value)
Job & WithCreatedOn(const Aws::Utils::DateTime &value)
Job & WithNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
Job & WithExecutionProperty(ExecutionProperty &&value)
void SetNumberOfWorkers(int value)
void SetWorkerType(const WorkerType &value)
Job & AddNonOverridableArguments(const char *key, Aws::String &&value)
Job & WithLastModifiedOn(Aws::Utils::DateTime &&value)
bool SecurityConfigurationHasBeenSet() const
Job & WithCommand(const JobCommand &value)
Job & WithSecurityConfiguration(const Aws::String &value)
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
Job & AddDefaultArguments(const char *key, Aws::String &&value)
bool ExecutionPropertyHasBeenSet() const
Job & WithNotificationProperty(const NotificationProperty &value)
void SetJobRunQueuingEnabled(bool value)
void SetName(const Aws::String &value)
Job & WithCommand(JobCommand &&value)
void SetExecutionClass(const ExecutionClass &value)
void SetGlueVersion(const char *value)
Job & WithDescription(const Aws::String &value)
void SetNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetCreatedOn() const
int GetNumberOfWorkers() const
const Aws::String & GetMaintenanceWindow() const
const ConnectionsList & GetConnections() const
void SetJobMode(JobMode &&value)
void SetNotificationProperty(NotificationProperty &&value)
bool DefaultArgumentsHasBeenSet() const
Job & WithExecutionClass(const ExecutionClass &value)
void SetGlueVersion(const Aws::String &value)
void SetCommand(JobCommand &&value)
bool GlueVersionHasBeenSet() const
Job & AddNonOverridableArguments(Aws::String &&key, Aws::String &&value)
void SetNotificationProperty(const NotificationProperty &value)
Job & WithJobRunQueuingEnabled(bool value)
Job & AddNonOverridableArguments(const Aws::String &key, Aws::String &&value)
Job & WithGlueVersion(const Aws::String &value)
Job & WithGlueVersion(Aws::String &&value)
bool MaintenanceWindowHasBeenSet() const
void SetTimeout(int value)
void SetSourceControlDetails(const SourceControlDetails &value)
void SetConnections(const ConnectionsList &value)
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Job & AddNonOverridableArguments(const Aws::String &key, const Aws::String &value)
bool ProfileNameHasBeenSet() const
void SetRole(const char *value)
const Aws::String & GetLogUri() const
Job & WithExecutionProperty(const ExecutionProperty &value)
Job & WithRole(const char *value)
bool JobRunQueuingEnabledHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
void SetCommand(const JobCommand &value)
void SetSecurityConfiguration(const char *value)
Job & AddCodeGenConfigurationNodes(const char *key, const CodeGenConfigurationNode &value)
Job & AddCodeGenConfigurationNodes(Aws::String &&key, const CodeGenConfigurationNode &value)
void SetLogUri(Aws::String &&value)
bool MaxCapacityHasBeenSet() const
void SetGlueVersion(Aws::String &&value)
bool ConnectionsHasBeenSet() const
void SetMaintenanceWindow(Aws::String &&value)
void SetDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
Job & WithSourceControlDetails(const SourceControlDetails &value)
Job & AddCodeGenConfigurationNodes(Aws::String &&key, CodeGenConfigurationNode &&value)
Job & WithProfileName(const char *value)
Job & WithSecurityConfiguration(const char *value)
void SetMaxRetries(int value)
double GetMaxCapacity() const
const Aws::String & GetProfileName() const
Job & WithMaintenanceWindow(const char *value)
const JobCommand & GetCommand() const
void SetRole(const Aws::String &value)
void SetConnections(ConnectionsList &&value)
Job & WithNumberOfWorkers(int value)
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
bool NonOverridableArgumentsHasBeenSet() const
bool LogUriHasBeenSet() const
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
Aws::Utils::Json::JsonValue JsonValue