7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/JobMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/ExecutionProperty.h>
11#include <aws/glue/model/JobCommand.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glue/model/ConnectionsList.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/SourceControlDetails.h>
18#include <aws/glue/model/CodeGenConfigurationNode.h>
78 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
88 template<
typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
90 template<
typename DescriptionT = Aws::String>
100 template<
typename LogUriT = Aws::String>
101 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet =
true; m_logUri = std::forward<LogUriT>(value); }
102 template<
typename LogUriT = Aws::String>
113 template<
typename RoleT = Aws::String>
114 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
115 template<
typename RoleT = Aws::String>
126 template<
typename ExecutionPropertyT = ExecutionProperty>
127 void SetExecutionProperty(ExecutionPropertyT&& value) { m_executionPropertyHasBeenSet =
true; m_executionProperty = std::forward<ExecutionPropertyT>(value); }
128 template<
typename ExecutionPropertyT = ExecutionProperty>
138 template<
typename CommandT = JobCommand>
139 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
140 template<
typename CommandT = JobCommand>
166 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
167 void SetDefaultArguments(DefaultArgumentsT&& value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments = std::forward<DefaultArgumentsT>(value); }
168 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
170 template<
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
172 m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
return *
this;
183 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
184 void SetNonOverridableArguments(NonOverridableArgumentsT&& value) { m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments = std::forward<NonOverridableArgumentsT>(value); }
185 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
187 template<
typename NonOverr
idableArgumentsKeyT = Aws::String,
typename NonOverr
idableArgumentsValueT = Aws::String>
189 m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments.emplace(std::forward<NonOverridableArgumentsKeyT>(key), std::forward<NonOverridableArgumentsValueT>(value));
return *
this;
199 template<
typename ConnectionsT = ConnectionsList>
200 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
201 template<
typename ConnectionsT = ConnectionsList>
211 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
230 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
257 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
308 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
319 template<
typename SecurityConfigurationT = Aws::String>
320 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
321 template<
typename SecurityConfigurationT = Aws::String>
331 template<
typename NotificationPropertyT = NotificationProperty>
332 void SetNotificationProperty(NotificationPropertyT&& value) { m_notificationPropertyHasBeenSet =
true; m_notificationProperty = std::forward<NotificationPropertyT>(value); }
333 template<
typename NotificationPropertyT = NotificationProperty>
353 template<
typename GlueVersionT = Aws::String>
354 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet =
true; m_glueVersion = std::forward<GlueVersionT>(value); }
355 template<
typename GlueVersionT = Aws::String>
366 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
367 void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) { m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value); }
368 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
370 template<
typename CodeGenConfigurationNodesKeyT = Aws::String,
typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
372 m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key), std::forward<CodeGenConfigurationNodesValueT>(value));
return *
this;
399 template<
typename SourceControlDetailsT = SourceControlDetails>
400 void SetSourceControlDetails(SourceControlDetailsT&& value) { m_sourceControlDetailsHasBeenSet =
true; m_sourceControlDetails = std::forward<SourceControlDetailsT>(value); }
401 template<
typename SourceControlDetailsT = SourceControlDetails>
416 template<
typename Ma
intenanceWindowT = Aws::String>
417 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
418 template<
typename Ma
intenanceWindowT = Aws::String>
424 bool m_jobModeHasBeenSet =
false;
426 bool m_jobRunQueuingEnabled{
false};
427 bool m_jobRunQueuingEnabledHasBeenSet =
false;
430 bool m_descriptionHasBeenSet =
false;
433 bool m_logUriHasBeenSet =
false;
436 bool m_roleHasBeenSet =
false;
438 ExecutionProperty m_executionProperty;
439 bool m_executionPropertyHasBeenSet =
false;
441 JobCommand m_command;
442 bool m_commandHasBeenSet =
false;
445 bool m_defaultArgumentsHasBeenSet =
false;
448 bool m_nonOverridableArgumentsHasBeenSet =
false;
450 ConnectionsList m_connections;
451 bool m_connectionsHasBeenSet =
false;
454 bool m_maxRetriesHasBeenSet =
false;
457 bool m_timeoutHasBeenSet =
false;
459 double m_maxCapacity{0.0};
460 bool m_maxCapacityHasBeenSet =
false;
463 bool m_workerTypeHasBeenSet =
false;
465 int m_numberOfWorkers{0};
466 bool m_numberOfWorkersHasBeenSet =
false;
469 bool m_securityConfigurationHasBeenSet =
false;
471 NotificationProperty m_notificationProperty;
472 bool m_notificationPropertyHasBeenSet =
false;
475 bool m_glueVersionHasBeenSet =
false;
478 bool m_codeGenConfigurationNodesHasBeenSet =
false;
481 bool m_executionClassHasBeenSet =
false;
483 SourceControlDetails m_sourceControlDetails;
484 bool m_sourceControlDetailsHasBeenSet =
false;
487 bool m_maintenanceWindowHasBeenSet =
false;
const Aws::String & GetGlueVersion() const
JobUpdate & WithExecutionProperty(ExecutionPropertyT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJobMode(JobMode value)
JobUpdate & WithLogUri(LogUriT &&value)
double GetMaxCapacity() const
void SetNotificationProperty(NotificationPropertyT &&value)
bool JobModeHasBeenSet() const
ExecutionClass GetExecutionClass() const
const ConnectionsList & GetConnections() const
void SetWorkerType(WorkerType value)
const JobCommand & GetCommand() const
AWS_GLUE_API JobUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
JobUpdate & WithNonOverridableArguments(NonOverridableArgumentsT &&value)
void SetTimeout(int value)
void SetExecutionProperty(ExecutionPropertyT &&value)
void SetMaxCapacity(double value)
bool NumberOfWorkersHasBeenSet() const
const Aws::String & GetLogUri() const
bool LogUriHasBeenSet() const
JobUpdate & WithSourceControlDetails(SourceControlDetailsT &&value)
bool SecurityConfigurationHasBeenSet() const
bool TimeoutHasBeenSet() const
int GetMaxRetries() const
bool ExecutionClassHasBeenSet() const
bool MaxCapacityHasBeenSet() const
void SetLogUri(LogUriT &&value)
void SetSourceControlDetails(SourceControlDetailsT &&value)
JobUpdate & WithDefaultArguments(DefaultArgumentsT &&value)
JobUpdate & AddNonOverridableArguments(NonOverridableArgumentsKeyT &&key, NonOverridableArgumentsValueT &&value)
const NotificationProperty & GetNotificationProperty() const
void SetNumberOfWorkers(int value)
int GetNumberOfWorkers() const
void SetGlueVersion(GlueVersionT &&value)
bool WorkerTypeHasBeenSet() const
bool NonOverridableArgumentsHasBeenSet() const
AWS_GLUE_API JobUpdate(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
JobUpdate & WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
const ExecutionProperty & GetExecutionProperty() const
JobUpdate & WithSecurityConfiguration(SecurityConfigurationT &&value)
void SetSecurityConfiguration(SecurityConfigurationT &&value)
JobUpdate & WithConnections(ConnectionsT &&value)
JobUpdate & WithRole(RoleT &&value)
const Aws::String & GetMaintenanceWindow() const
bool GlueVersionHasBeenSet() const
void SetCommand(CommandT &&value)
JobUpdate & WithCommand(CommandT &&value)
const Aws::String & GetRole() const
bool CodeGenConfigurationNodesHasBeenSet() const
void SetJobRunQueuingEnabled(bool value)
AWS_GLUE_API JobUpdate()=default
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
JobUpdate & WithGlueVersion(GlueVersionT &&value)
bool NotificationPropertyHasBeenSet() const
void SetExecutionClass(ExecutionClass value)
void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
void SetDefaultArguments(DefaultArgumentsT &&value)
const Aws::String & GetSecurityConfiguration() const
void SetMaxRetries(int value)
JobUpdate & WithNumberOfWorkers(int value)
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
bool MaintenanceWindowHasBeenSet() const
JobUpdate & WithJobRunQueuingEnabled(bool value)
const SourceControlDetails & GetSourceControlDetails() const
void SetRole(RoleT &&value)
JobMode GetJobMode() const
void SetDescription(DescriptionT &&value)
bool ExecutionPropertyHasBeenSet() const
void SetMaintenanceWindow(MaintenanceWindowT &&value)
bool GetJobRunQueuingEnabled() const
const Aws::String & GetDescription() const
bool CommandHasBeenSet() const
JobUpdate & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
void SetNonOverridableArguments(NonOverridableArgumentsT &&value)
WorkerType GetWorkerType() const
JobUpdate & WithMaxCapacity(double value)
bool SourceControlDetailsHasBeenSet() const
bool MaxRetriesHasBeenSet() const
JobUpdate & WithNotificationProperty(NotificationPropertyT &&value)
JobUpdate & WithDescription(DescriptionT &&value)
JobUpdate & WithWorkerType(WorkerType value)
JobUpdate & AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT &&key, CodeGenConfigurationNodesValueT &&value)
bool DefaultArgumentsHasBeenSet() const
JobUpdate & WithTimeout(int value)
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
JobUpdate & WithExecutionClass(ExecutionClass value)
void SetConnections(ConnectionsT &&value)
JobUpdate & WithMaxRetries(int value)
bool JobRunQueuingEnabledHasBeenSet() const
bool ConnectionsHasBeenSet() const
JobUpdate & WithJobMode(JobMode value)
JobUpdate & WithMaintenanceWindow(MaintenanceWindowT &&value)
bool RoleHasBeenSet() 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