AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
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>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace Glue {
31namespace Model {
32
38class Job {
39 public:
40 AWS_GLUE_API Job() = default;
41 AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GLUE_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template <typename NameT = Aws::String>
52 void SetName(NameT&& value) {
53 m_nameHasBeenSet = true;
54 m_name = std::forward<NameT>(value);
55 }
56 template <typename NameT = Aws::String>
57 Job& WithName(NameT&& value) {
58 SetName(std::forward<NameT>(value));
59 return *this;
60 }
62
64
73 inline JobMode GetJobMode() const { return m_jobMode; }
74 inline bool JobModeHasBeenSet() const { return m_jobModeHasBeenSet; }
75 inline void SetJobMode(JobMode value) {
76 m_jobModeHasBeenSet = true;
77 m_jobMode = value;
78 }
79 inline Job& WithJobMode(JobMode value) {
80 SetJobMode(value);
81 return *this;
82 }
84
86
93 inline bool GetJobRunQueuingEnabled() const { return m_jobRunQueuingEnabled; }
94 inline bool JobRunQueuingEnabledHasBeenSet() const { return m_jobRunQueuingEnabledHasBeenSet; }
95 inline void SetJobRunQueuingEnabled(bool value) {
96 m_jobRunQueuingEnabledHasBeenSet = true;
97 m_jobRunQueuingEnabled = value;
98 }
99 inline Job& WithJobRunQueuingEnabled(bool value) {
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
117 Job& WithDescription(DescriptionT&& value) {
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetLogUri() const { return m_logUri; }
128 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
129 template <typename LogUriT = Aws::String>
130 void SetLogUri(LogUriT&& value) {
131 m_logUriHasBeenSet = true;
132 m_logUri = std::forward<LogUriT>(value);
133 }
134 template <typename LogUriT = Aws::String>
135 Job& WithLogUri(LogUriT&& value) {
136 SetLogUri(std::forward<LogUriT>(value));
137 return *this;
138 }
140
142
146 inline const Aws::String& GetRole() const { return m_role; }
147 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
148 template <typename RoleT = Aws::String>
149 void SetRole(RoleT&& value) {
150 m_roleHasBeenSet = true;
151 m_role = std::forward<RoleT>(value);
152 }
153 template <typename RoleT = Aws::String>
154 Job& WithRole(RoleT&& value) {
155 SetRole(std::forward<RoleT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetCreatedOn() const { return m_createdOn; }
165 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
166 template <typename CreatedOnT = Aws::Utils::DateTime>
167 void SetCreatedOn(CreatedOnT&& value) {
168 m_createdOnHasBeenSet = true;
169 m_createdOn = std::forward<CreatedOnT>(value);
170 }
171 template <typename CreatedOnT = Aws::Utils::DateTime>
172 Job& WithCreatedOn(CreatedOnT&& value) {
173 SetCreatedOn(std::forward<CreatedOnT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
183 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
184 template <typename LastModifiedOnT = Aws::Utils::DateTime>
185 void SetLastModifiedOn(LastModifiedOnT&& value) {
186 m_lastModifiedOnHasBeenSet = true;
187 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
188 }
189 template <typename LastModifiedOnT = Aws::Utils::DateTime>
190 Job& WithLastModifiedOn(LastModifiedOnT&& value) {
191 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
192 return *this;
193 }
195
197
201 inline const ExecutionProperty& GetExecutionProperty() const { return m_executionProperty; }
202 inline bool ExecutionPropertyHasBeenSet() const { return m_executionPropertyHasBeenSet; }
203 template <typename ExecutionPropertyT = ExecutionProperty>
204 void SetExecutionProperty(ExecutionPropertyT&& value) {
205 m_executionPropertyHasBeenSet = true;
206 m_executionProperty = std::forward<ExecutionPropertyT>(value);
207 }
208 template <typename ExecutionPropertyT = ExecutionProperty>
209 Job& WithExecutionProperty(ExecutionPropertyT&& value) {
210 SetExecutionProperty(std::forward<ExecutionPropertyT>(value));
211 return *this;
212 }
214
216
219 inline const JobCommand& GetCommand() const { return m_command; }
220 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
221 template <typename CommandT = JobCommand>
222 void SetCommand(CommandT&& value) {
223 m_commandHasBeenSet = true;
224 m_command = std::forward<CommandT>(value);
225 }
226 template <typename CommandT = JobCommand>
227 Job& WithCommand(CommandT&& value) {
228 SetCommand(std::forward<CommandT>(value));
229 return *this;
230 }
232
234
253 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultArguments() const { return m_defaultArguments; }
254 inline bool DefaultArgumentsHasBeenSet() const { return m_defaultArgumentsHasBeenSet; }
255 template <typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
256 void SetDefaultArguments(DefaultArgumentsT&& value) {
257 m_defaultArgumentsHasBeenSet = true;
258 m_defaultArguments = std::forward<DefaultArgumentsT>(value);
259 }
260 template <typename DefaultArgumentsT = Aws::Map<Aws::String, Aws::String>>
261 Job& WithDefaultArguments(DefaultArgumentsT&& value) {
262 SetDefaultArguments(std::forward<DefaultArgumentsT>(value));
263 return *this;
264 }
265 template <typename DefaultArgumentsKeyT = Aws::String, typename DefaultArgumentsValueT = Aws::String>
266 Job& AddDefaultArguments(DefaultArgumentsKeyT&& key, DefaultArgumentsValueT&& value) {
267 m_defaultArgumentsHasBeenSet = true;
268 m_defaultArguments.emplace(std::forward<DefaultArgumentsKeyT>(key), std::forward<DefaultArgumentsValueT>(value));
269 return *this;
270 }
272
274
278 inline const Aws::Map<Aws::String, Aws::String>& GetNonOverridableArguments() const { return m_nonOverridableArguments; }
279 inline bool NonOverridableArgumentsHasBeenSet() const { return m_nonOverridableArgumentsHasBeenSet; }
280 template <typename NonOverridableArgumentsT = Aws::Map<Aws::String, Aws::String>>
281 void SetNonOverridableArguments(NonOverridableArgumentsT&& value) {
282 m_nonOverridableArgumentsHasBeenSet = true;
283 m_nonOverridableArguments = std::forward<NonOverridableArgumentsT>(value);
284 }
285 template <typename NonOverridableArgumentsT = Aws::Map<Aws::String, Aws::String>>
286 Job& WithNonOverridableArguments(NonOverridableArgumentsT&& value) {
287 SetNonOverridableArguments(std::forward<NonOverridableArgumentsT>(value));
288 return *this;
289 }
290 template <typename NonOverridableArgumentsKeyT = Aws::String, typename NonOverridableArgumentsValueT = Aws::String>
291 Job& AddNonOverridableArguments(NonOverridableArgumentsKeyT&& key, NonOverridableArgumentsValueT&& value) {
292 m_nonOverridableArgumentsHasBeenSet = true;
293 m_nonOverridableArguments.emplace(std::forward<NonOverridableArgumentsKeyT>(key), std::forward<NonOverridableArgumentsValueT>(value));
294 return *this;
295 }
297
299
302 inline const ConnectionsList& GetConnections() const { return m_connections; }
303 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
304 template <typename ConnectionsT = ConnectionsList>
305 void SetConnections(ConnectionsT&& value) {
306 m_connectionsHasBeenSet = true;
307 m_connections = std::forward<ConnectionsT>(value);
308 }
309 template <typename ConnectionsT = ConnectionsList>
310 Job& WithConnections(ConnectionsT&& value) {
311 SetConnections(std::forward<ConnectionsT>(value));
312 return *this;
313 }
315
317
320 inline int GetMaxRetries() const { return m_maxRetries; }
321 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
322 inline void SetMaxRetries(int value) {
323 m_maxRetriesHasBeenSet = true;
324 m_maxRetries = value;
325 }
326 inline Job& WithMaxRetries(int value) {
327 SetMaxRetries(value);
328 return *this;
329 }
331
333
345 inline int GetTimeout() const { return m_timeout; }
346 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
347 inline void SetTimeout(int value) {
348 m_timeoutHasBeenSet = true;
349 m_timeout = value;
350 }
351 inline Job& WithTimeout(int value) {
352 SetTimeout(value);
353 return *this;
354 }
356
358
378 inline double GetMaxCapacity() const { return m_maxCapacity; }
379 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
380 inline void SetMaxCapacity(double value) {
381 m_maxCapacityHasBeenSet = true;
382 m_maxCapacity = value;
383 }
384 inline Job& WithMaxCapacity(double value) {
385 SetMaxCapacity(value);
386 return *this;
387 }
389
391
406 inline WorkerType GetWorkerType() const { return m_workerType; }
407 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
408 inline void SetWorkerType(WorkerType value) {
409 m_workerTypeHasBeenSet = true;
410 m_workerType = value;
411 }
413 SetWorkerType(value);
414 return *this;
415 }
417
419
423 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
424 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
425 inline void SetNumberOfWorkers(int value) {
426 m_numberOfWorkersHasBeenSet = true;
427 m_numberOfWorkers = value;
428 }
429 inline Job& WithNumberOfWorkers(int value) {
430 SetNumberOfWorkers(value);
431 return *this;
432 }
434
436
440 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
441 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
442 template <typename SecurityConfigurationT = Aws::String>
443 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
444 m_securityConfigurationHasBeenSet = true;
445 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
446 }
447 template <typename SecurityConfigurationT = Aws::String>
448 Job& WithSecurityConfiguration(SecurityConfigurationT&& value) {
449 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
450 return *this;
451 }
453
455
458 inline const NotificationProperty& GetNotificationProperty() const { return m_notificationProperty; }
459 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
460 template <typename NotificationPropertyT = NotificationProperty>
461 void SetNotificationProperty(NotificationPropertyT&& value) {
462 m_notificationPropertyHasBeenSet = true;
463 m_notificationProperty = std::forward<NotificationPropertyT>(value);
464 }
465 template <typename NotificationPropertyT = NotificationProperty>
466 Job& WithNotificationProperty(NotificationPropertyT&& value) {
467 SetNotificationProperty(std::forward<NotificationPropertyT>(value));
468 return *this;
469 }
471
473
486 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
487 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
488 template <typename GlueVersionT = Aws::String>
489 void SetGlueVersion(GlueVersionT&& value) {
490 m_glueVersionHasBeenSet = true;
491 m_glueVersion = std::forward<GlueVersionT>(value);
492 }
493 template <typename GlueVersionT = Aws::String>
494 Job& WithGlueVersion(GlueVersionT&& value) {
495 SetGlueVersion(std::forward<GlueVersionT>(value));
496 return *this;
497 }
499
501
505 inline const Aws::Map<Aws::String, CodeGenConfigurationNode>& GetCodeGenConfigurationNodes() const { return m_codeGenConfigurationNodes; }
506 inline bool CodeGenConfigurationNodesHasBeenSet() const { return m_codeGenConfigurationNodesHasBeenSet; }
507 template <typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
508 void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) {
509 m_codeGenConfigurationNodesHasBeenSet = true;
510 m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value);
511 }
512 template <typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
513 Job& WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) {
514 SetCodeGenConfigurationNodes(std::forward<CodeGenConfigurationNodesT>(value));
515 return *this;
516 }
517 template <typename CodeGenConfigurationNodesKeyT = Aws::String, typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
518 Job& AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT&& key, CodeGenConfigurationNodesValueT&& value) {
519 m_codeGenConfigurationNodesHasBeenSet = true;
520 m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key),
521 std::forward<CodeGenConfigurationNodesValueT>(value));
522 return *this;
523 }
525
527
536 inline ExecutionClass GetExecutionClass() const { return m_executionClass; }
537 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
539 m_executionClassHasBeenSet = true;
540 m_executionClass = value;
541 }
543 SetExecutionClass(value);
544 return *this;
545 }
547
549
553 inline const SourceControlDetails& GetSourceControlDetails() const { return m_sourceControlDetails; }
554 inline bool SourceControlDetailsHasBeenSet() const { return m_sourceControlDetailsHasBeenSet; }
555 template <typename SourceControlDetailsT = SourceControlDetails>
556 void SetSourceControlDetails(SourceControlDetailsT&& value) {
557 m_sourceControlDetailsHasBeenSet = true;
558 m_sourceControlDetails = std::forward<SourceControlDetailsT>(value);
559 }
560 template <typename SourceControlDetailsT = SourceControlDetails>
561 Job& WithSourceControlDetails(SourceControlDetailsT&& value) {
562 SetSourceControlDetails(std::forward<SourceControlDetailsT>(value));
563 return *this;
564 }
566
568
576 inline const Aws::String& GetMaintenanceWindow() const { return m_maintenanceWindow; }
577 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
578 template <typename MaintenanceWindowT = Aws::String>
579 void SetMaintenanceWindow(MaintenanceWindowT&& value) {
580 m_maintenanceWindowHasBeenSet = true;
581 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
582 }
583 template <typename MaintenanceWindowT = Aws::String>
584 Job& WithMaintenanceWindow(MaintenanceWindowT&& value) {
585 SetMaintenanceWindow(std::forward<MaintenanceWindowT>(value));
586 return *this;
587 }
589
591
594 inline const Aws::String& GetProfileName() const { return m_profileName; }
595 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
596 template <typename ProfileNameT = Aws::String>
597 void SetProfileName(ProfileNameT&& value) {
598 m_profileNameHasBeenSet = true;
599 m_profileName = std::forward<ProfileNameT>(value);
600 }
601 template <typename ProfileNameT = Aws::String>
602 Job& WithProfileName(ProfileNameT&& value) {
603 SetProfileName(std::forward<ProfileNameT>(value));
604 return *this;
605 }
607 private:
608 Aws::String m_name;
609
610 JobMode m_jobMode{JobMode::NOT_SET};
611
612 bool m_jobRunQueuingEnabled{false};
613
614 Aws::String m_description;
615
616 Aws::String m_logUri;
617
618 Aws::String m_role;
619
620 Aws::Utils::DateTime m_createdOn{};
621
622 Aws::Utils::DateTime m_lastModifiedOn{};
623
624 ExecutionProperty m_executionProperty;
625
626 JobCommand m_command;
627
628 Aws::Map<Aws::String, Aws::String> m_defaultArguments;
629
630 Aws::Map<Aws::String, Aws::String> m_nonOverridableArguments;
631
632 ConnectionsList m_connections;
633
634 int m_maxRetries{0};
635
636 int m_timeout{0};
637
638 double m_maxCapacity{0.0};
639
640 WorkerType m_workerType{WorkerType::NOT_SET};
641
642 int m_numberOfWorkers{0};
643
644 Aws::String m_securityConfiguration;
645
646 NotificationProperty m_notificationProperty;
647
648 Aws::String m_glueVersion;
649
650 Aws::Map<Aws::String, CodeGenConfigurationNode> m_codeGenConfigurationNodes;
651
652 ExecutionClass m_executionClass{ExecutionClass::NOT_SET};
653
654 SourceControlDetails m_sourceControlDetails;
655
656 Aws::String m_maintenanceWindow;
657
658 Aws::String m_profileName;
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;
685};
686
687} // namespace Model
688} // namespace Glue
689} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Job.h:182
Job & WithExecutionProperty(ExecutionPropertyT &&value)
Definition Job.h:209
bool CommandHasBeenSet() const
Definition Job.h:220
void SetNotificationProperty(NotificationPropertyT &&value)
Definition Job.h:461
Job & WithLogUri(LogUriT &&value)
Definition Job.h:135
Job & WithRole(RoleT &&value)
Definition Job.h:154
bool CreatedOnHasBeenSet() const
Definition Job.h:165
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
Definition Job.h:278
bool NotificationPropertyHasBeenSet() const
Definition Job.h:459
const SourceControlDetails & GetSourceControlDetails() const
Definition Job.h:553
bool MaxRetriesHasBeenSet() const
Definition Job.h:321
Job & WithSourceControlDetails(SourceControlDetailsT &&value)
Definition Job.h:561
Job & WithExecutionClass(ExecutionClass value)
Definition Job.h:542
void SetMaintenanceWindow(MaintenanceWindowT &&value)
Definition Job.h:579
Job & WithDescription(DescriptionT &&value)
Definition Job.h:117
int GetMaxRetries() const
Definition Job.h:320
void SetWorkerType(WorkerType value)
Definition Job.h:408
bool ExecutionClassHasBeenSet() const
Definition Job.h:537
Job & WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
Definition Job.h:513
bool DescriptionHasBeenSet() const
Definition Job.h:110
bool SourceControlDetailsHasBeenSet() const
Definition Job.h:554
Job & WithJobMode(JobMode value)
Definition Job.h:79
const Aws::String & GetGlueVersion() const
Definition Job.h:486
AWS_GLUE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCommand(CommandT &&value)
Definition Job.h:222
bool WorkerTypeHasBeenSet() const
Definition Job.h:407
const NotificationProperty & GetNotificationProperty() const
Definition Job.h:458
bool RoleHasBeenSet() const
Definition Job.h:147
JobMode GetJobMode() const
Definition Job.h:73
const Aws::String & GetName() const
Definition Job.h:49
bool TimeoutHasBeenSet() const
Definition Job.h:346
Job & WithNonOverridableArguments(NonOverridableArgumentsT &&value)
Definition Job.h:286
WorkerType GetWorkerType() const
Definition Job.h:406
Job & WithSecurityConfiguration(SecurityConfigurationT &&value)
Definition Job.h:448
Job & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
Definition Job.h:266
Job & WithWorkerType(WorkerType value)
Definition Job.h:412
void SetRole(RoleT &&value)
Definition Job.h:149
bool JobModeHasBeenSet() const
Definition Job.h:74
const Aws::String & GetRole() const
Definition Job.h:146
void SetProfileName(ProfileNameT &&value)
Definition Job.h:597
AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionClass(ExecutionClass value)
Definition Job.h:538
void SetCreatedOn(CreatedOnT &&value)
Definition Job.h:167
Job & WithTimeout(int value)
Definition Job.h:351
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition Job.h:185
void SetGlueVersion(GlueVersionT &&value)
Definition Job.h:489
void SetMaxCapacity(double value)
Definition Job.h:380
const ExecutionProperty & GetExecutionProperty() const
Definition Job.h:201
void SetSourceControlDetails(SourceControlDetailsT &&value)
Definition Job.h:556
void SetDefaultArguments(DefaultArgumentsT &&value)
Definition Job.h:256
Job & WithMaxRetries(int value)
Definition Job.h:326
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Job & WithDefaultArguments(DefaultArgumentsT &&value)
Definition Job.h:261
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
Definition Job.h:253
bool CodeGenConfigurationNodesHasBeenSet() const
Definition Job.h:506
int GetTimeout() const
Definition Job.h:345
Job & WithMaxCapacity(double value)
Definition Job.h:384
bool GetJobRunQueuingEnabled() const
Definition Job.h:93
bool NumberOfWorkersHasBeenSet() const
Definition Job.h:424
void SetName(NameT &&value)
Definition Job.h:52
void SetNonOverridableArguments(NonOverridableArgumentsT &&value)
Definition Job.h:281
bool LastModifiedOnHasBeenSet() const
Definition Job.h:183
void SetConnections(ConnectionsT &&value)
Definition Job.h:305
void SetNumberOfWorkers(int value)
Definition Job.h:425
bool SecurityConfigurationHasBeenSet() const
Definition Job.h:441
ExecutionClass GetExecutionClass() const
Definition Job.h:536
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
Definition Job.h:505
bool ExecutionPropertyHasBeenSet() const
Definition Job.h:202
void SetJobRunQueuingEnabled(bool value)
Definition Job.h:95
void SetDescription(DescriptionT &&value)
Definition Job.h:112
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Job.h:164
int GetNumberOfWorkers() const
Definition Job.h:423
const Aws::String & GetMaintenanceWindow() const
Definition Job.h:576
const ConnectionsList & GetConnections() const
Definition Job.h:302
Job & WithCreatedOn(CreatedOnT &&value)
Definition Job.h:172
AWS_GLUE_API Job()=default
void SetLogUri(LogUriT &&value)
Definition Job.h:130
bool DefaultArgumentsHasBeenSet() const
Definition Job.h:254
Job & WithGlueVersion(GlueVersionT &&value)
Definition Job.h:494
Job & AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT &&key, CodeGenConfigurationNodesValueT &&value)
Definition Job.h:518
bool GlueVersionHasBeenSet() const
Definition Job.h:487
void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
Definition Job.h:508
Job & WithNotificationProperty(NotificationPropertyT &&value)
Definition Job.h:466
Job & WithJobRunQueuingEnabled(bool value)
Definition Job.h:99
bool MaintenanceWindowHasBeenSet() const
Definition Job.h:577
void SetTimeout(int value)
Definition Job.h:347
bool ProfileNameHasBeenSet() const
Definition Job.h:595
const Aws::String & GetLogUri() const
Definition Job.h:127
bool JobRunQueuingEnabledHasBeenSet() const
Definition Job.h:94
const Aws::String & GetSecurityConfiguration() const
Definition Job.h:440
void SetExecutionProperty(ExecutionPropertyT &&value)
Definition Job.h:204
bool MaxCapacityHasBeenSet() const
Definition Job.h:379
bool ConnectionsHasBeenSet() const
Definition Job.h:303
Job & WithConnections(ConnectionsT &&value)
Definition Job.h:310
Job & WithProfileName(ProfileNameT &&value)
Definition Job.h:602
void SetMaxRetries(int value)
Definition Job.h:322
double GetMaxCapacity() const
Definition Job.h:378
const Aws::String & GetProfileName() const
Definition Job.h:594
const JobCommand & GetCommand() const
Definition Job.h:219
Job & WithMaintenanceWindow(MaintenanceWindowT &&value)
Definition Job.h:584
Job & WithLastModifiedOn(LastModifiedOnT &&value)
Definition Job.h:190
Job & WithNumberOfWorkers(int value)
Definition Job.h:429
bool NameHasBeenSet() const
Definition Job.h:50
Job & AddNonOverridableArguments(NonOverridableArgumentsKeyT &&key, NonOverridableArgumentsValueT &&value)
Definition Job.h:291
const Aws::String & GetDescription() const
Definition Job.h:109
Job & WithName(NameT &&value)
Definition Job.h:57
void SetJobMode(JobMode value)
Definition Job.h:75
bool NonOverridableArgumentsHasBeenSet() const
Definition Job.h:279
bool LogUriHasBeenSet() const
Definition Job.h:128
void SetSecurityConfiguration(SecurityConfigurationT &&value)
Definition Job.h:443
Job & WithCommand(CommandT &&value)
Definition Job.h:227
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