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>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
86 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
108 template<
typename LogUriT = Aws::String>
109 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet =
true; m_logUri = std::forward<LogUriT>(value); }
110 template<
typename LogUriT = Aws::String>
121 template<
typename RoleT = Aws::String>
122 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
123 template<
typename RoleT = Aws::String>
134 template<
typename ExecutionPropertyT = ExecutionProperty>
135 void SetExecutionProperty(ExecutionPropertyT&& value) { m_executionPropertyHasBeenSet =
true; m_executionProperty = std::forward<ExecutionPropertyT>(value); }
136 template<
typename ExecutionPropertyT = ExecutionProperty>
146 template<
typename CommandT = JobCommand>
147 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
148 template<
typename CommandT = JobCommand>
174 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
175 void SetDefaultArguments(DefaultArgumentsT&& value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments = std::forward<DefaultArgumentsT>(value); }
176 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
178 template<
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
180 m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
return *
this;
191 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
192 void SetNonOverridableArguments(NonOverridableArgumentsT&& value) { m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments = std::forward<NonOverridableArgumentsT>(value); }
193 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
195 template<
typename NonOverr
idableArgumentsKeyT = Aws::String,
typename NonOverr
idableArgumentsValueT = Aws::String>
197 m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments.emplace(std::forward<NonOverridableArgumentsKeyT>(key), std::forward<NonOverridableArgumentsValueT>(value));
return *
this;
207 template<
typename ConnectionsT = ConnectionsList>
208 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
209 template<
typename ConnectionsT = ConnectionsList>
219 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
238 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
265 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
276 template<
typename SecurityConfigurationT = Aws::String>
277 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
278 template<
typename SecurityConfigurationT = Aws::String>
291 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
292 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
293 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
295 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
297 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
307 template<
typename NotificationPropertyT = NotificationProperty>
308 void SetNotificationProperty(NotificationPropertyT&& value) { m_notificationPropertyHasBeenSet =
true; m_notificationProperty = std::forward<NotificationPropertyT>(value); }
309 template<
typename NotificationPropertyT = NotificationProperty>
329 template<
typename GlueVersionT = Aws::String>
330 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet =
true; m_glueVersion = std::forward<GlueVersionT>(value); }
331 template<
typename GlueVersionT = Aws::String>
342 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
393 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
394 void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) { m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value); }
395 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
397 template<
typename CodeGenConfigurationNodesKeyT = Aws::String,
typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
399 m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key), std::forward<CodeGenConfigurationNodesValueT>(value));
return *
this;
426 template<
typename SourceControlDetailsT = SourceControlDetails>
427 void SetSourceControlDetails(SourceControlDetailsT&& value) { m_sourceControlDetailsHasBeenSet =
true; m_sourceControlDetails = std::forward<SourceControlDetailsT>(value); }
428 template<
typename SourceControlDetailsT = SourceControlDetails>
443 template<
typename Ma
intenanceWindowT = Aws::String>
444 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
445 template<
typename Ma
intenanceWindowT = Aws::String>
451 bool m_nameHasBeenSet =
false;
454 bool m_jobModeHasBeenSet =
false;
456 bool m_jobRunQueuingEnabled{
false};
457 bool m_jobRunQueuingEnabledHasBeenSet =
false;
460 bool m_descriptionHasBeenSet =
false;
463 bool m_logUriHasBeenSet =
false;
466 bool m_roleHasBeenSet =
false;
468 ExecutionProperty m_executionProperty;
469 bool m_executionPropertyHasBeenSet =
false;
471 JobCommand m_command;
472 bool m_commandHasBeenSet =
false;
475 bool m_defaultArgumentsHasBeenSet =
false;
478 bool m_nonOverridableArgumentsHasBeenSet =
false;
480 ConnectionsList m_connections;
481 bool m_connectionsHasBeenSet =
false;
484 bool m_maxRetriesHasBeenSet =
false;
487 bool m_timeoutHasBeenSet =
false;
489 double m_maxCapacity{0.0};
490 bool m_maxCapacityHasBeenSet =
false;
493 bool m_securityConfigurationHasBeenSet =
false;
496 bool m_tagsHasBeenSet =
false;
498 NotificationProperty m_notificationProperty;
499 bool m_notificationPropertyHasBeenSet =
false;
502 bool m_glueVersionHasBeenSet =
false;
504 int m_numberOfWorkers{0};
505 bool m_numberOfWorkersHasBeenSet =
false;
508 bool m_workerTypeHasBeenSet =
false;
511 bool m_codeGenConfigurationNodesHasBeenSet =
false;
514 bool m_executionClassHasBeenSet =
false;
516 SourceControlDetails m_sourceControlDetails;
517 bool m_sourceControlDetailsHasBeenSet =
false;
520 bool m_maintenanceWindowHasBeenSet =
false;
void SetNonOverridableArguments(NonOverridableArgumentsT &&value)
void SetRole(RoleT &&value)
CreateJobRequest & WithWorkerType(WorkerType value)
const ExecutionProperty & GetExecutionProperty() const
CreateJobRequest & AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT &&key, CodeGenConfigurationNodesValueT &&value)
int GetNumberOfWorkers() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool MaxRetriesHasBeenSet() const
void SetDescription(DescriptionT &&value)
int GetMaxRetries() const
bool WorkerTypeHasBeenSet() const
double GetMaxCapacity() const
const Aws::String & GetName() const
void SetJobRunQueuingEnabled(bool value)
CreateJobRequest & WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
bool ExecutionPropertyHasBeenSet() const
bool GetJobRunQueuingEnabled() const
void SetMaxCapacity(double value)
const ConnectionsList & GetConnections() const
void SetTags(TagsT &&value)
CreateJobRequest & WithNonOverridableArguments(NonOverridableArgumentsT &&value)
CreateJobRequest & WithConnections(ConnectionsT &&value)
CreateJobRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
bool MaintenanceWindowHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
CreateJobRequest & WithDefaultArguments(DefaultArgumentsT &&value)
JobMode GetJobMode() const
bool MaxCapacityHasBeenSet() const
bool JobModeHasBeenSet() const
CreateJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool NotificationPropertyHasBeenSet() const
bool TagsHasBeenSet() const
CreateJobRequest & WithJobRunQueuingEnabled(bool value)
bool SecurityConfigurationHasBeenSet() const
void SetDefaultArguments(DefaultArgumentsT &&value)
const JobCommand & GetCommand() const
void SetMaxRetries(int value)
void SetCommand(CommandT &&value)
const Aws::String & GetLogUri() const
CreateJobRequest & WithLogUri(LogUriT &&value)
const Aws::String & GetRole() const
CreateJobRequest & WithTimeout(int value)
void SetTimeout(int value)
bool RoleHasBeenSet() const
bool JobRunQueuingEnabledHasBeenSet() const
void SetSecurityConfiguration(SecurityConfigurationT &&value)
CreateJobRequest & WithMaxCapacity(double value)
bool LogUriHasBeenSet() const
CreateJobRequest & WithTags(TagsT &&value)
CreateJobRequest & WithSourceControlDetails(SourceControlDetailsT &&value)
void SetGlueVersion(GlueVersionT &&value)
bool SourceControlDetailsHasBeenSet() const
void SetMaintenanceWindow(MaintenanceWindowT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetMaintenanceWindow() const
CreateJobRequest & WithDescription(DescriptionT &&value)
AWS_GLUE_API CreateJobRequest()=default
void SetNotificationProperty(NotificationPropertyT &&value)
CreateJobRequest & WithJobMode(JobMode value)
bool NameHasBeenSet() const
CreateJobRequest & WithRole(RoleT &&value)
bool NonOverridableArgumentsHasBeenSet() const
bool CommandHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
CreateJobRequest & AddNonOverridableArguments(NonOverridableArgumentsKeyT &&key, NonOverridableArgumentsValueT &&value)
bool ExecutionClassHasBeenSet() const
CreateJobRequest & WithCommand(CommandT &&value)
CreateJobRequest & WithExecutionProperty(ExecutionPropertyT &&value)
CreateJobRequest & WithGlueVersion(GlueVersionT &&value)
bool DescriptionHasBeenSet() const
const NotificationProperty & GetNotificationProperty() const
CreateJobRequest & WithNumberOfWorkers(int value)
void SetWorkerType(WorkerType value)
CreateJobRequest & WithMaintenanceWindow(MaintenanceWindowT &&value)
WorkerType GetWorkerType() const
const SourceControlDetails & GetSourceControlDetails() const
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
void SetLogUri(LogUriT &&value)
void SetExecutionProperty(ExecutionPropertyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
void SetJobMode(JobMode value)
bool CodeGenConfigurationNodesHasBeenSet() const
const Aws::String & GetGlueVersion() const
const Aws::String & GetDescription() const
void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
void SetNumberOfWorkers(int value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
CreateJobRequest & WithName(NameT &&value)
CreateJobRequest & WithMaxRetries(int value)
bool ConnectionsHasBeenSet() const
CreateJobRequest & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
virtual const char * GetServiceRequestName() const override
bool DefaultArgumentsHasBeenSet() const
void SetExecutionClass(ExecutionClass value)
CreateJobRequest & WithNotificationProperty(NotificationPropertyT &&value)
bool TimeoutHasBeenSet() const
CreateJobRequest & WithExecutionClass(ExecutionClass value)
ExecutionClass GetExecutionClass() const
bool NumberOfWorkersHasBeenSet() const
bool GlueVersionHasBeenSet() const
void SetConnections(ConnectionsT &&value)
void SetSourceControlDetails(SourceControlDetailsT &&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