7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/CodeGenConfigurationNode.h>
12#include <aws/glue/model/ConnectionsList.h>
13#include <aws/glue/model/ExecutionClass.h>
14#include <aws/glue/model/ExecutionProperty.h>
15#include <aws/glue/model/JobCommand.h>
16#include <aws/glue/model/JobMode.h>
17#include <aws/glue/model/NotificationProperty.h>
18#include <aws/glue/model/SourceControlDetails.h>
19#include <aws/glue/model/WorkerType.h>
40 AWS_GLUE_API
Job() =
default;
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
76 m_jobModeHasBeenSet =
true;
96 m_jobRunQueuingEnabledHasBeenSet =
true;
97 m_jobRunQueuingEnabled = value;
111 template <
typename DescriptionT = Aws::String>
113 m_descriptionHasBeenSet =
true;
114 m_description = std::forward<DescriptionT>(value);
116 template <
typename DescriptionT = Aws::String>
129 template <
typename LogUriT = Aws::String>
131 m_logUriHasBeenSet =
true;
132 m_logUri = std::forward<LogUriT>(value);
134 template <
typename LogUriT = Aws::String>
148 template <
typename RoleT = Aws::String>
150 m_roleHasBeenSet =
true;
151 m_role = std::forward<RoleT>(value);
153 template <
typename RoleT = Aws::String>
155 SetRole(std::forward<RoleT>(value));
166 template <
typename CreatedOnT = Aws::Utils::DateTime>
168 m_createdOnHasBeenSet =
true;
169 m_createdOn = std::forward<CreatedOnT>(value);
171 template <
typename CreatedOnT = Aws::Utils::DateTime>
184 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
186 m_lastModifiedOnHasBeenSet =
true;
187 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
189 template <
typename LastModifiedOnT = Aws::Utils::DateTime>
203 template <
typename ExecutionPropertyT = ExecutionProperty>
205 m_executionPropertyHasBeenSet =
true;
206 m_executionProperty = std::forward<ExecutionPropertyT>(value);
208 template <
typename ExecutionPropertyT = ExecutionProperty>
221 template <
typename CommandT = JobCommand>
223 m_commandHasBeenSet =
true;
224 m_command = std::forward<CommandT>(value);
226 template <
typename CommandT = JobCommand>
255 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
257 m_defaultArgumentsHasBeenSet =
true;
258 m_defaultArguments = std::forward<DefaultArgumentsT>(value);
260 template <
typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
265 template <
typename DefaultArgumentsKeyT = Aws::String,
typename DefaultArgumentsValueT = Aws::String>
267 m_defaultArgumentsHasBeenSet =
true;
268 m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
280 template <
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
282 m_nonOverridableArgumentsHasBeenSet =
true;
283 m_nonOverridableArguments = std::forward<NonOverridableArgumentsT>(value);
285 template <
typename NonOverr
idableArgumentsT = Aws::Map<Aws::String, Aws::String>>
290 template <
typename NonOverr
idableArgumentsKeyT = Aws::String,
typename NonOverr
idableArgumentsValueT = Aws::String>
292 m_nonOverridableArgumentsHasBeenSet =
true;
293 m_nonOverridableArguments.emplace(std::forward<NonOverridableArgumentsKeyT>(key), std::forward<NonOverridableArgumentsValueT>(value));
304 template <
typename ConnectionsT = ConnectionsList>
306 m_connectionsHasBeenSet =
true;
307 m_connections = std::forward<ConnectionsT>(value);
309 template <
typename ConnectionsT = ConnectionsList>
323 m_maxRetriesHasBeenSet =
true;
324 m_maxRetries = value;
348 m_timeoutHasBeenSet =
true;
381 m_maxCapacityHasBeenSet =
true;
382 m_maxCapacity = value;
409 m_workerTypeHasBeenSet =
true;
410 m_workerType = value;
426 m_numberOfWorkersHasBeenSet =
true;
427 m_numberOfWorkers = value;
442 template <
typename SecurityConfigurationT = Aws::String>
444 m_securityConfigurationHasBeenSet =
true;
445 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
447 template <
typename SecurityConfigurationT = Aws::String>
460 template <
typename NotificationPropertyT = NotificationProperty>
462 m_notificationPropertyHasBeenSet =
true;
463 m_notificationProperty = std::forward<NotificationPropertyT>(value);
465 template <
typename NotificationPropertyT = NotificationProperty>
488 template <
typename GlueVersionT = Aws::String>
490 m_glueVersionHasBeenSet =
true;
491 m_glueVersion = std::forward<GlueVersionT>(value);
493 template <
typename GlueVersionT = Aws::String>
507 template <
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
509 m_codeGenConfigurationNodesHasBeenSet =
true;
510 m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value);
512 template <
typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
517 template <
typename CodeGenConfigurationNodesKeyT = Aws::String,
typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
519 m_codeGenConfigurationNodesHasBeenSet =
true;
520 m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key),
521 std::forward<CodeGenConfigurationNodesValueT>(value));
539 m_executionClassHasBeenSet =
true;
540 m_executionClass = value;
555 template <
typename SourceControlDetailsT = SourceControlDetails>
557 m_sourceControlDetailsHasBeenSet =
true;
558 m_sourceControlDetails = std::forward<SourceControlDetailsT>(value);
560 template <
typename SourceControlDetailsT = SourceControlDetails>
578 template <
typename Ma
intenanceWindowT = Aws::String>
580 m_maintenanceWindowHasBeenSet =
true;
581 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
583 template <
typename Ma
intenanceWindowT = Aws::String>
596 template <
typename ProfileNameT = Aws::String>
598 m_profileNameHasBeenSet =
true;
599 m_profileName = std::forward<ProfileNameT>(value);
601 template <
typename ProfileNameT = Aws::String>
612 bool m_jobRunQueuingEnabled{
false};
624 ExecutionProperty m_executionProperty;
626 JobCommand m_command;
632 ConnectionsList m_connections;
638 double m_maxCapacity{0.0};
642 int m_numberOfWorkers{0};
646 NotificationProperty m_notificationProperty;
654 SourceControlDetails m_sourceControlDetails;
659 bool m_nameHasBeenSet =
false;
660 bool m_jobModeHasBeenSet =
false;
661 bool m_jobRunQueuingEnabledHasBeenSet =
false;
662 bool m_descriptionHasBeenSet =
false;
663 bool m_logUriHasBeenSet =
false;
664 bool m_roleHasBeenSet =
false;
665 bool m_createdOnHasBeenSet =
false;
666 bool m_lastModifiedOnHasBeenSet =
false;
667 bool m_executionPropertyHasBeenSet =
false;
668 bool m_commandHasBeenSet =
false;
669 bool m_defaultArgumentsHasBeenSet =
false;
670 bool m_nonOverridableArgumentsHasBeenSet =
false;
671 bool m_connectionsHasBeenSet =
false;
672 bool m_maxRetriesHasBeenSet =
false;
673 bool m_timeoutHasBeenSet =
false;
674 bool m_maxCapacityHasBeenSet =
false;
675 bool m_workerTypeHasBeenSet =
false;
676 bool m_numberOfWorkersHasBeenSet =
false;
677 bool m_securityConfigurationHasBeenSet =
false;
678 bool m_notificationPropertyHasBeenSet =
false;
679 bool m_glueVersionHasBeenSet =
false;
680 bool m_codeGenConfigurationNodesHasBeenSet =
false;
681 bool m_executionClassHasBeenSet =
false;
682 bool m_sourceControlDetailsHasBeenSet =
false;
683 bool m_maintenanceWindowHasBeenSet =
false;
684 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