7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/JobMode.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/NotificationProperty.h>
16#include <aws/glue/model/WorkerType.h>
17#include <aws/glue/model/ExecutionClass.h>
18#include <aws/glue/model/SourceControlDetails.h>
19#include <aws/glue/model/CodeGenConfigurationNode.h>
56 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetJobMode(
const JobMode& value) { m_jobModeHasBeenSet =
true; m_jobMode = value; }
75 inline void SetJobMode(
JobMode&& value) { m_jobModeHasBeenSet =
true; m_jobMode = std::move(value); }
90 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
116 inline void SetLogUri(
const char* value) { m_logUriHasBeenSet =
true; m_logUri.assign(value); }
131 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
235 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
251 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
278 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
291 inline void SetSecurityConfiguration(
const char* value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration.assign(value); }
316 inline CreateJobRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
349 inline void SetGlueVersion(
const char* value) { m_glueVersionHasBeenSet =
true; m_glueVersion.assign(value); }
362 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
473 inline void SetMaintenanceWindow(
const char* value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow.assign(value); }
481 bool m_nameHasBeenSet =
false;
484 bool m_jobModeHasBeenSet =
false;
486 bool m_jobRunQueuingEnabled;
487 bool m_jobRunQueuingEnabledHasBeenSet =
false;
490 bool m_descriptionHasBeenSet =
false;
493 bool m_logUriHasBeenSet =
false;
496 bool m_roleHasBeenSet =
false;
499 bool m_executionPropertyHasBeenSet =
false;
502 bool m_commandHasBeenSet =
false;
505 bool m_defaultArgumentsHasBeenSet =
false;
508 bool m_nonOverridableArgumentsHasBeenSet =
false;
511 bool m_connectionsHasBeenSet =
false;
514 bool m_maxRetriesHasBeenSet =
false;
517 bool m_timeoutHasBeenSet =
false;
519 double m_maxCapacity;
520 bool m_maxCapacityHasBeenSet =
false;
523 bool m_securityConfigurationHasBeenSet =
false;
526 bool m_tagsHasBeenSet =
false;
529 bool m_notificationPropertyHasBeenSet =
false;
532 bool m_glueVersionHasBeenSet =
false;
534 int m_numberOfWorkers;
535 bool m_numberOfWorkersHasBeenSet =
false;
538 bool m_workerTypeHasBeenSet =
false;
541 bool m_codeGenConfigurationNodesHasBeenSet =
false;
544 bool m_executionClassHasBeenSet =
false;
547 bool m_sourceControlDetailsHasBeenSet =
false;
550 bool m_maintenanceWindowHasBeenSet =
false;
CreateJobRequest & WithRole(const Aws::String &value)
CreateJobRequest & WithSourceControlDetails(SourceControlDetails &&value)
CreateJobRequest & AddDefaultArguments(Aws::String &&key, Aws::String &&value)
CreateJobRequest & WithMaintenanceWindow(const Aws::String &value)
void SetSecurityConfiguration(Aws::String &&value)
void SetNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
void SetRole(const char *value)
const ExecutionProperty & GetExecutionProperty() const
CreateJobRequest & WithDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
void SetExecutionClass(const ExecutionClass &value)
int GetNumberOfWorkers() const
CreateJobRequest & WithRole(Aws::String &&value)
CreateJobRequest & WithConnections(ConnectionsList &&value)
void SetDescription(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MaxRetriesHasBeenSet() const
void SetGlueVersion(Aws::String &&value)
int GetMaxRetries() const
CreateJobRequest & AddCodeGenConfigurationNodes(const char *key, CodeGenConfigurationNode &&value)
CreateJobRequest & AddTags(const char *key, const char *value)
CreateJobRequest & WithLogUri(Aws::String &&value)
bool WorkerTypeHasBeenSet() const
CreateJobRequest & WithName(const Aws::String &value)
double GetMaxCapacity() const
const Aws::String & GetName() const
void SetJobRunQueuingEnabled(bool value)
void SetNotificationProperty(const NotificationProperty &value)
CreateJobRequest & AddCodeGenConfigurationNodes(Aws::String &&key, const CodeGenConfigurationNode &value)
CreateJobRequest & AddCodeGenConfigurationNodes(Aws::String &&key, CodeGenConfigurationNode &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetGlueVersion(const char *value)
CreateJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool ExecutionPropertyHasBeenSet() const
bool GetJobRunQueuingEnabled() const
CreateJobRequest & WithNotificationProperty(NotificationProperty &&value)
void SetMaxCapacity(double value)
CreateJobRequest & AddCodeGenConfigurationNodes(const Aws::String &key, CodeGenConfigurationNode &&value)
void SetLogUri(const char *value)
const ConnectionsList & GetConnections() const
void SetRole(Aws::String &&value)
CreateJobRequest & AddCodeGenConfigurationNodes(const char *key, const CodeGenConfigurationNode &value)
CreateJobRequest & AddDefaultArguments(const char *key, Aws::String &&value)
CreateJobRequest & WithGlueVersion(const char *value)
CreateJobRequest & WithGlueVersion(Aws::String &&value)
bool MaintenanceWindowHasBeenSet() const
void SetMaintenanceWindow(Aws::String &&value)
CreateJobRequest & WithMaintenanceWindow(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
void SetDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithDescription(const Aws::String &value)
void SetCommand(const JobCommand &value)
const JobMode & GetJobMode() const
CreateJobRequest & AddDefaultArguments(Aws::String &&key, const Aws::String &value)
bool MaxCapacityHasBeenSet() const
bool JobModeHasBeenSet() const
CreateJobRequest & WithWorkerType(WorkerType &&value)
bool NotificationPropertyHasBeenSet() const
void SetSecurityConfiguration(const char *value)
bool TagsHasBeenSet() const
CreateJobRequest & WithJobRunQueuingEnabled(bool value)
bool SecurityConfigurationHasBeenSet() const
CreateJobRequest & AddNonOverridableArguments(const Aws::String &key, const Aws::String &value)
void SetName(Aws::String &&value)
const JobCommand & GetCommand() const
CreateJobRequest & WithLogUri(const char *value)
void SetLogUri(const Aws::String &value)
void SetMaxRetries(int value)
void SetCommand(JobCommand &&value)
CreateJobRequest & AddNonOverridableArguments(Aws::String &&key, const Aws::String &value)
const Aws::String & GetLogUri() const
void SetName(const Aws::String &value)
const Aws::String & GetRole() const
CreateJobRequest & WithName(const char *value)
CreateJobRequest & WithTimeout(int value)
void SetTimeout(int value)
void SetNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
const ExecutionClass & GetExecutionClass() const
bool RoleHasBeenSet() const
bool JobRunQueuingEnabledHasBeenSet() const
void SetSecurityConfiguration(const Aws::String &value)
void SetName(const char *value)
CreateJobRequest & WithName(Aws::String &&value)
CreateJobRequest & WithCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
CreateJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateJobRequest & WithMaxCapacity(double value)
void SetNotificationProperty(NotificationProperty &&value)
CreateJobRequest & AddTags(const char *key, Aws::String &&value)
bool LogUriHasBeenSet() const
void SetCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
void SetJobMode(const JobMode &value)
CreateJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool SourceControlDetailsHasBeenSet() const
void SetMaintenanceWindow(const char *value)
void SetDescription(const char *value)
void SetExecutionProperty(const ExecutionProperty &value)
CreateJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateJobRequest & WithJobMode(const JobMode &value)
void SetDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetMaintenanceWindow() const
CreateJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateJobRequest & WithCommand(JobCommand &&value)
CreateJobRequest & WithNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithSecurityConfiguration(const Aws::String &value)
CreateJobRequest & AddDefaultArguments(Aws::String &&key, const char *value)
bool NameHasBeenSet() const
CreateJobRequest & WithDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
void SetExecutionProperty(ExecutionProperty &&value)
void SetSourceControlDetails(const SourceControlDetails &value)
CreateJobRequest & AddNonOverridableArguments(const Aws::String &key, Aws::String &&value)
void SetWorkerType(WorkerType &&value)
void SetLogUri(Aws::String &&value)
CreateJobRequest & WithLogUri(const Aws::String &value)
bool NonOverridableArgumentsHasBeenSet() const
CreateJobRequest & WithWorkerType(const WorkerType &value)
bool CommandHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
CreateJobRequest & AddNonOverridableArguments(Aws::String &&key, const char *value)
bool ExecutionClassHasBeenSet() const
CreateJobRequest & WithExecutionClass(ExecutionClass &&value)
CreateJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithMaintenanceWindow(Aws::String &&value)
CreateJobRequest & WithDescription(const char *value)
CreateJobRequest & WithCommand(const JobCommand &value)
bool DescriptionHasBeenSet() const
void SetConnections(ConnectionsList &&value)
const NotificationProperty & GetNotificationProperty() const
CreateJobRequest & AddNonOverridableArguments(const char *key, const char *value)
void SetJobMode(JobMode &&value)
CreateJobRequest & WithNumberOfWorkers(int value)
void SetConnections(const ConnectionsList &value)
CreateJobRequest & AddDefaultArguments(const Aws::String &key, Aws::String &&value)
CreateJobRequest & WithExecutionProperty(ExecutionProperty &&value)
CreateJobRequest & WithExecutionClass(const ExecutionClass &value)
CreateJobRequest & WithGlueVersion(const Aws::String &value)
void SetWorkerType(const WorkerType &value)
CreateJobRequest & AddNonOverridableArguments(Aws::String &&key, Aws::String &&value)
CreateJobRequest & WithRole(const char *value)
const WorkerType & GetWorkerType() const
void SetCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
const SourceControlDetails & GetSourceControlDetails() const
CreateJobRequest & WithExecutionProperty(const ExecutionProperty &value)
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
CreateJobRequest & AddNonOverridableArguments(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
CreateJobRequest & WithNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
void SetMaintenanceWindow(const Aws::String &value)
void SetDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
bool CodeGenConfigurationNodesHasBeenSet() const
const Aws::String & GetGlueVersion() const
CreateJobRequest & WithDescription(Aws::String &&value)
CreateJobRequest & AddDefaultArguments(const Aws::String &key, const Aws::String &value)
CreateJobRequest & WithCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
void SetExecutionClass(ExecutionClass &&value)
const Aws::String & GetDescription() const
void SetRole(const Aws::String &value)
void SetNumberOfWorkers(int value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateJobRequest & WithJobMode(JobMode &&value)
CreateJobRequest & WithMaxRetries(int value)
CreateJobRequest & WithSecurityConfiguration(const char *value)
bool ConnectionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool DefaultArgumentsHasBeenSet() const
void SetGlueVersion(const Aws::String &value)
bool TimeoutHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & AddDefaultArguments(const char *key, const char *value)
CreateJobRequest & WithNotificationProperty(const NotificationProperty &value)
bool NumberOfWorkersHasBeenSet() const
CreateJobRequest & WithConnections(const ConnectionsList &value)
void SetSourceControlDetails(SourceControlDetails &&value)
bool GlueVersionHasBeenSet() const
CreateJobRequest & WithSourceControlDetails(const SourceControlDetails &value)
CreateJobRequest & AddCodeGenConfigurationNodes(const Aws::String &key, const CodeGenConfigurationNode &value)
CreateJobRequest & WithSecurityConfiguration(Aws::String &&value)
AWS_GLUE_API CreateJobRequest()
CreateJobRequest & AddTags(Aws::String &&key, const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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