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>
45 AWS_GLUE_API
Job() =
default;
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
89 inline void SetJobRunQueuingEnabled(
bool value) { m_jobRunQueuingEnabledHasBeenSet =
true; m_jobRunQueuingEnabled = value; }
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
111 template<
typename LogUriT = Aws::String>
112 void SetLogUri(LogUriT&& value) { m_logUriHasBeenSet =
true; m_logUri = std::forward<LogUriT>(value); }
113 template<
typename LogUriT = Aws::String>
124 template<
typename RoleT = Aws::String>
125 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
126 template<
typename RoleT = Aws::String>
136 template<
typename CreatedOnT = Aws::Utils::DateTime>
137 void SetCreatedOn(CreatedOnT&& value) { m_createdOnHasBeenSet =
true; m_createdOn = std::forward<CreatedOnT>(value); }
138 template<
typename CreatedOnT = Aws::Utils::DateTime>
148 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
149 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet =
true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
150 template<
typename LastModifiedOnT = Aws::Utils::DateTime>
161 template<
typename ExecutionPropertyT = ExecutionProperty>
162 void SetExecutionProperty(ExecutionPropertyT&& value) { m_executionPropertyHasBeenSet =
true; m_executionProperty = std::forward<ExecutionPropertyT>(value); }
163 template<
typename ExecutionPropertyT = ExecutionProperty>
173 template<
typename CommandT = JobCommand>
174 void SetCommand(CommandT&& value) { m_commandHasBeenSet =
true; m_command = std::forward<CommandT>(value); }
175 template<
typename CommandT = JobCommand>
201 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
202 void SetDefaultArguments(DefaultArgumentsT&& value) { m_defaultArgumentsHasBeenSet =
true; m_defaultArguments = std::forward<DefaultArgumentsT>(value); }
203 template<
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
205 template<
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
207 m_defaultArgumentsHasBeenSet =
true; m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
return *
this;
218 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
219 void SetNonOverridableArguments(NonOverridableArgumentsT&& value) { m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments = std::forward<NonOverridableArgumentsT>(value); }
220 template<
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
222 template<
typename NonOverr
idableArgumentsKeyT = Aws::String,
typename NonOverr
idableArgumentsValueT = Aws::String>
224 m_nonOverridableArgumentsHasBeenSet =
true; m_nonOverridableArguments.emplace(std::forward<NonOverridableArgumentsKeyT>(key), std::forward<NonOverridableArgumentsValueT>(value));
return *
this;
234 template<
typename ConnectionsT = ConnectionsList>
235 void SetConnections(ConnectionsT&& value) { m_connectionsHasBeenSet =
true; m_connections = std::forward<ConnectionsT>(value); }
236 template<
typename ConnectionsT = ConnectionsList>
246 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
265 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
292 inline void SetMaxCapacity(
double value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
343 inline void SetNumberOfWorkers(
int value) { m_numberOfWorkersHasBeenSet =
true; m_numberOfWorkers = value; }
354 template<
typename SecurityConfigurationT = Aws::String>
355 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet =
true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
356 template<
typename SecurityConfigurationT = Aws::String>
366 template<
typename NotificationPropertyT = NotificationProperty>
367 void SetNotificationProperty(NotificationPropertyT&& value) { m_notificationPropertyHasBeenSet =
true; m_notificationProperty = std::forward<NotificationPropertyT>(value); }
368 template<
typename NotificationPropertyT = NotificationProperty>
388 template<
typename GlueVersionT = Aws::String>
389 void SetGlueVersion(GlueVersionT&& value) { m_glueVersionHasBeenSet =
true; m_glueVersion = std::forward<GlueVersionT>(value); }
390 template<
typename GlueVersionT = Aws::String>
401 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
402 void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) { m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value); }
403 template<
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
405 template<
typename CodeGenConfigurationNodesKeyT = Aws::String,
typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
407 m_codeGenConfigurationNodesHasBeenSet =
true; m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key), std::forward<CodeGenConfigurationNodesValueT>(value));
return *
this;
434 template<
typename SourceControlDetailsT = SourceControlDetails>
435 void SetSourceControlDetails(SourceControlDetailsT&& value) { m_sourceControlDetailsHasBeenSet =
true; m_sourceControlDetails = std::forward<SourceControlDetailsT>(value); }
436 template<
typename SourceControlDetailsT = SourceControlDetails>
451 template<
typename Ma
intenanceWindowT = Aws::String>
452 void SetMaintenanceWindow(MaintenanceWindowT&& value) { m_maintenanceWindowHasBeenSet =
true; m_maintenanceWindow = std::forward<MaintenanceWindowT>(value); }
453 template<
typename Ma
intenanceWindowT = Aws::String>
463 template<
typename ProfileNameT = Aws::String>
464 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet =
true; m_profileName = std::forward<ProfileNameT>(value); }
465 template<
typename ProfileNameT = Aws::String>
471 bool m_nameHasBeenSet =
false;
474 bool m_jobModeHasBeenSet =
false;
476 bool m_jobRunQueuingEnabled{
false};
477 bool m_jobRunQueuingEnabledHasBeenSet =
false;
480 bool m_descriptionHasBeenSet =
false;
483 bool m_logUriHasBeenSet =
false;
486 bool m_roleHasBeenSet =
false;
489 bool m_createdOnHasBeenSet =
false;
492 bool m_lastModifiedOnHasBeenSet =
false;
494 ExecutionProperty m_executionProperty;
495 bool m_executionPropertyHasBeenSet =
false;
497 JobCommand m_command;
498 bool m_commandHasBeenSet =
false;
501 bool m_defaultArgumentsHasBeenSet =
false;
504 bool m_nonOverridableArgumentsHasBeenSet =
false;
506 ConnectionsList m_connections;
507 bool m_connectionsHasBeenSet =
false;
510 bool m_maxRetriesHasBeenSet =
false;
513 bool m_timeoutHasBeenSet =
false;
515 double m_maxCapacity{0.0};
516 bool m_maxCapacityHasBeenSet =
false;
519 bool m_workerTypeHasBeenSet =
false;
521 int m_numberOfWorkers{0};
522 bool m_numberOfWorkersHasBeenSet =
false;
525 bool m_securityConfigurationHasBeenSet =
false;
527 NotificationProperty m_notificationProperty;
528 bool m_notificationPropertyHasBeenSet =
false;
531 bool m_glueVersionHasBeenSet =
false;
534 bool m_codeGenConfigurationNodesHasBeenSet =
false;
537 bool m_executionClassHasBeenSet =
false;
539 SourceControlDetails m_sourceControlDetails;
540 bool m_sourceControlDetailsHasBeenSet =
false;
543 bool m_maintenanceWindowHasBeenSet =
false;
546 bool m_profileNameHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastModifiedOn() const
Job & WithExecutionProperty(ExecutionPropertyT &&value)
bool CommandHasBeenSet() const
void SetNotificationProperty(NotificationPropertyT &&value)
Job & WithLogUri(LogUriT &&value)
Job & WithRole(RoleT &&value)
bool CreatedOnHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
bool NotificationPropertyHasBeenSet() const
const SourceControlDetails & GetSourceControlDetails() const
bool MaxRetriesHasBeenSet() const
Job & WithSourceControlDetails(SourceControlDetailsT &&value)
Job & WithExecutionClass(ExecutionClass value)
void SetMaintenanceWindow(MaintenanceWindowT &&value)
Job & WithDescription(DescriptionT &&value)
int GetMaxRetries() const
void SetWorkerType(WorkerType value)
bool ExecutionClassHasBeenSet() const
Job & WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
bool DescriptionHasBeenSet() const
bool SourceControlDetailsHasBeenSet() const
Job & WithJobMode(JobMode value)
const Aws::String & GetGlueVersion() const
AWS_GLUE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCommand(CommandT &&value)
bool WorkerTypeHasBeenSet() const
const NotificationProperty & GetNotificationProperty() const
bool RoleHasBeenSet() const
JobMode GetJobMode() const
const Aws::String & GetName() const
bool TimeoutHasBeenSet() const
Job & WithNonOverridableArguments(NonOverridableArgumentsT &&value)
WorkerType GetWorkerType() const
Job & WithSecurityConfiguration(SecurityConfigurationT &&value)
Job & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
Job & WithWorkerType(WorkerType value)
void SetRole(RoleT &&value)
bool JobModeHasBeenSet() const
const Aws::String & GetRole() const
void SetProfileName(ProfileNameT &&value)
AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionClass(ExecutionClass value)
void SetCreatedOn(CreatedOnT &&value)
Job & WithTimeout(int value)
void SetLastModifiedOn(LastModifiedOnT &&value)
void SetGlueVersion(GlueVersionT &&value)
void SetMaxCapacity(double value)
const ExecutionProperty & GetExecutionProperty() const
void SetSourceControlDetails(SourceControlDetailsT &&value)
void SetDefaultArguments(DefaultArgumentsT &&value)
Job & WithMaxRetries(int value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Job & WithDefaultArguments(DefaultArgumentsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
bool CodeGenConfigurationNodesHasBeenSet() const
Job & WithMaxCapacity(double value)
bool GetJobRunQueuingEnabled() const
bool NumberOfWorkersHasBeenSet() const
void SetName(NameT &&value)
void SetNonOverridableArguments(NonOverridableArgumentsT &&value)
bool LastModifiedOnHasBeenSet() const
void SetConnections(ConnectionsT &&value)
void SetNumberOfWorkers(int value)
bool SecurityConfigurationHasBeenSet() const
ExecutionClass GetExecutionClass() const
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
bool ExecutionPropertyHasBeenSet() const
void SetJobRunQueuingEnabled(bool value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedOn() const
int GetNumberOfWorkers() const
const Aws::String & GetMaintenanceWindow() const
const ConnectionsList & GetConnections() const
Job & WithCreatedOn(CreatedOnT &&value)
AWS_GLUE_API Job()=default
void SetLogUri(LogUriT &&value)
bool DefaultArgumentsHasBeenSet() const
Job & WithGlueVersion(GlueVersionT &&value)
Job & AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT &&key, CodeGenConfigurationNodesValueT &&value)
bool GlueVersionHasBeenSet() const
void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
Job & WithNotificationProperty(NotificationPropertyT &&value)
Job & WithJobRunQueuingEnabled(bool value)
bool MaintenanceWindowHasBeenSet() const
void SetTimeout(int value)
bool ProfileNameHasBeenSet() const
const Aws::String & GetLogUri() const
bool JobRunQueuingEnabledHasBeenSet() const
const Aws::String & GetSecurityConfiguration() const
void SetExecutionProperty(ExecutionPropertyT &&value)
bool MaxCapacityHasBeenSet() const
bool ConnectionsHasBeenSet() const
Job & WithConnections(ConnectionsT &&value)
Job & WithProfileName(ProfileNameT &&value)
void SetMaxRetries(int value)
double GetMaxCapacity() const
const Aws::String & GetProfileName() const
const JobCommand & GetCommand() const
Job & WithMaintenanceWindow(MaintenanceWindowT &&value)
Job & WithLastModifiedOn(LastModifiedOnT &&value)
Job & WithNumberOfWorkers(int value)
bool NameHasBeenSet() const
Job & AddNonOverridableArguments(NonOverridableArgumentsKeyT &&key, NonOverridableArgumentsValueT &&value)
const Aws::String & GetDescription() const
Job & WithName(NameT &&value)
void SetJobMode(JobMode value)
bool NonOverridableArgumentsHasBeenSet() const
bool LogUriHasBeenSet() const
void SetSecurityConfiguration(SecurityConfigurationT &&value)
Job & WithCommand(CommandT &&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
Aws::Utils::Json::JsonValue JsonValue