AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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
346 inline int GetTimeout() const { return m_timeout; }
347 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
348 inline void SetTimeout(int value) {
349 m_timeoutHasBeenSet = true;
350 m_timeout = value;
351 }
352 inline Job& WithTimeout(int value) {
353 SetTimeout(value);
354 return *this;
355 }
357
359
379 inline double GetMaxCapacity() const { return m_maxCapacity; }
380 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
381 inline void SetMaxCapacity(double value) {
382 m_maxCapacityHasBeenSet = true;
383 m_maxCapacity = value;
384 }
385 inline Job& WithMaxCapacity(double value) {
386 SetMaxCapacity(value);
387 return *this;
388 }
390
392
407 inline WorkerType GetWorkerType() const { return m_workerType; }
408 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
409 inline void SetWorkerType(WorkerType value) {
410 m_workerTypeHasBeenSet = true;
411 m_workerType = value;
412 }
414 SetWorkerType(value);
415 return *this;
416 }
418
420
424 inline int GetNumberOfWorkers() const { return m_numberOfWorkers; }
425 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
426 inline void SetNumberOfWorkers(int value) {
427 m_numberOfWorkersHasBeenSet = true;
428 m_numberOfWorkers = value;
429 }
430 inline Job& WithNumberOfWorkers(int value) {
431 SetNumberOfWorkers(value);
432 return *this;
433 }
435
437
441 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
442 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
443 template <typename SecurityConfigurationT = Aws::String>
444 void SetSecurityConfiguration(SecurityConfigurationT&& value) {
445 m_securityConfigurationHasBeenSet = true;
446 m_securityConfiguration = std::forward<SecurityConfigurationT>(value);
447 }
448 template <typename SecurityConfigurationT = Aws::String>
449 Job& WithSecurityConfiguration(SecurityConfigurationT&& value) {
450 SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value));
451 return *this;
452 }
454
456
459 inline const NotificationProperty& GetNotificationProperty() const { return m_notificationProperty; }
460 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
461 template <typename NotificationPropertyT = NotificationProperty>
462 void SetNotificationProperty(NotificationPropertyT&& value) {
463 m_notificationPropertyHasBeenSet = true;
464 m_notificationProperty = std::forward<NotificationPropertyT>(value);
465 }
466 template <typename NotificationPropertyT = NotificationProperty>
467 Job& WithNotificationProperty(NotificationPropertyT&& value) {
468 SetNotificationProperty(std::forward<NotificationPropertyT>(value));
469 return *this;
470 }
472
474
487 inline const Aws::String& GetGlueVersion() const { return m_glueVersion; }
488 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
489 template <typename GlueVersionT = Aws::String>
490 void SetGlueVersion(GlueVersionT&& value) {
491 m_glueVersionHasBeenSet = true;
492 m_glueVersion = std::forward<GlueVersionT>(value);
493 }
494 template <typename GlueVersionT = Aws::String>
495 Job& WithGlueVersion(GlueVersionT&& value) {
496 SetGlueVersion(std::forward<GlueVersionT>(value));
497 return *this;
498 }
500
502
506 inline const Aws::Map<Aws::String, CodeGenConfigurationNode>& GetCodeGenConfigurationNodes() const { return m_codeGenConfigurationNodes; }
507 inline bool CodeGenConfigurationNodesHasBeenSet() const { return m_codeGenConfigurationNodesHasBeenSet; }
508 template <typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
509 void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) {
510 m_codeGenConfigurationNodesHasBeenSet = true;
511 m_codeGenConfigurationNodes = std::forward<CodeGenConfigurationNodesT>(value);
512 }
513 template <typename CodeGenConfigurationNodesT = Aws::Map<Aws::String, CodeGenConfigurationNode>>
514 Job& WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT&& value) {
515 SetCodeGenConfigurationNodes(std::forward<CodeGenConfigurationNodesT>(value));
516 return *this;
517 }
518 template <typename CodeGenConfigurationNodesKeyT = Aws::String, typename CodeGenConfigurationNodesValueT = CodeGenConfigurationNode>
519 Job& AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT&& key, CodeGenConfigurationNodesValueT&& value) {
520 m_codeGenConfigurationNodesHasBeenSet = true;
521 m_codeGenConfigurationNodes.emplace(std::forward<CodeGenConfigurationNodesKeyT>(key),
522 std::forward<CodeGenConfigurationNodesValueT>(value));
523 return *this;
524 }
526
528
537 inline ExecutionClass GetExecutionClass() const { return m_executionClass; }
538 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
540 m_executionClassHasBeenSet = true;
541 m_executionClass = value;
542 }
544 SetExecutionClass(value);
545 return *this;
546 }
548
550
554 inline const SourceControlDetails& GetSourceControlDetails() const { return m_sourceControlDetails; }
555 inline bool SourceControlDetailsHasBeenSet() const { return m_sourceControlDetailsHasBeenSet; }
556 template <typename SourceControlDetailsT = SourceControlDetails>
557 void SetSourceControlDetails(SourceControlDetailsT&& value) {
558 m_sourceControlDetailsHasBeenSet = true;
559 m_sourceControlDetails = std::forward<SourceControlDetailsT>(value);
560 }
561 template <typename SourceControlDetailsT = SourceControlDetails>
562 Job& WithSourceControlDetails(SourceControlDetailsT&& value) {
563 SetSourceControlDetails(std::forward<SourceControlDetailsT>(value));
564 return *this;
565 }
567
569
577 inline const Aws::String& GetMaintenanceWindow() const { return m_maintenanceWindow; }
578 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
579 template <typename MaintenanceWindowT = Aws::String>
580 void SetMaintenanceWindow(MaintenanceWindowT&& value) {
581 m_maintenanceWindowHasBeenSet = true;
582 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
583 }
584 template <typename MaintenanceWindowT = Aws::String>
585 Job& WithMaintenanceWindow(MaintenanceWindowT&& value) {
586 SetMaintenanceWindow(std::forward<MaintenanceWindowT>(value));
587 return *this;
588 }
590
592
595 inline const Aws::String& GetProfileName() const { return m_profileName; }
596 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
597 template <typename ProfileNameT = Aws::String>
598 void SetProfileName(ProfileNameT&& value) {
599 m_profileNameHasBeenSet = true;
600 m_profileName = std::forward<ProfileNameT>(value);
601 }
602 template <typename ProfileNameT = Aws::String>
603 Job& WithProfileName(ProfileNameT&& value) {
604 SetProfileName(std::forward<ProfileNameT>(value));
605 return *this;
606 }
608 private:
609 Aws::String m_name;
610
611 JobMode m_jobMode{JobMode::NOT_SET};
612
613 bool m_jobRunQueuingEnabled{false};
614
615 Aws::String m_description;
616
617 Aws::String m_logUri;
618
619 Aws::String m_role;
620
621 Aws::Utils::DateTime m_createdOn{};
622
623 Aws::Utils::DateTime m_lastModifiedOn{};
624
625 ExecutionProperty m_executionProperty;
626
627 JobCommand m_command;
628
629 Aws::Map<Aws::String, Aws::String> m_defaultArguments;
630
631 Aws::Map<Aws::String, Aws::String> m_nonOverridableArguments;
632
633 ConnectionsList m_connections;
634
635 int m_maxRetries{0};
636
637 int m_timeout{0};
638
639 double m_maxCapacity{0.0};
640
641 WorkerType m_workerType{WorkerType::NOT_SET};
642
643 int m_numberOfWorkers{0};
644
645 Aws::String m_securityConfiguration;
646
647 NotificationProperty m_notificationProperty;
648
649 Aws::String m_glueVersion;
650
651 Aws::Map<Aws::String, CodeGenConfigurationNode> m_codeGenConfigurationNodes;
652
653 ExecutionClass m_executionClass{ExecutionClass::NOT_SET};
654
655 SourceControlDetails m_sourceControlDetails;
656
657 Aws::String m_maintenanceWindow;
658
659 Aws::String m_profileName;
660 bool m_nameHasBeenSet = false;
661 bool m_jobModeHasBeenSet = false;
662 bool m_jobRunQueuingEnabledHasBeenSet = false;
663 bool m_descriptionHasBeenSet = false;
664 bool m_logUriHasBeenSet = false;
665 bool m_roleHasBeenSet = false;
666 bool m_createdOnHasBeenSet = false;
667 bool m_lastModifiedOnHasBeenSet = false;
668 bool m_executionPropertyHasBeenSet = false;
669 bool m_commandHasBeenSet = false;
670 bool m_defaultArgumentsHasBeenSet = false;
671 bool m_nonOverridableArgumentsHasBeenSet = false;
672 bool m_connectionsHasBeenSet = false;
673 bool m_maxRetriesHasBeenSet = false;
674 bool m_timeoutHasBeenSet = false;
675 bool m_maxCapacityHasBeenSet = false;
676 bool m_workerTypeHasBeenSet = false;
677 bool m_numberOfWorkersHasBeenSet = false;
678 bool m_securityConfigurationHasBeenSet = false;
679 bool m_notificationPropertyHasBeenSet = false;
680 bool m_glueVersionHasBeenSet = false;
681 bool m_codeGenConfigurationNodesHasBeenSet = false;
682 bool m_executionClassHasBeenSet = false;
683 bool m_sourceControlDetailsHasBeenSet = false;
684 bool m_maintenanceWindowHasBeenSet = false;
685 bool m_profileNameHasBeenSet = false;
686};
687
688} // namespace Model
689} // namespace Glue
690} // 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:462
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:460
const SourceControlDetails & GetSourceControlDetails() const
Definition Job.h:554
bool MaxRetriesHasBeenSet() const
Definition Job.h:321
Job & WithSourceControlDetails(SourceControlDetailsT &&value)
Definition Job.h:562
Job & WithExecutionClass(ExecutionClass value)
Definition Job.h:543
void SetMaintenanceWindow(MaintenanceWindowT &&value)
Definition Job.h:580
Job & WithDescription(DescriptionT &&value)
Definition Job.h:117
int GetMaxRetries() const
Definition Job.h:320
void SetWorkerType(WorkerType value)
Definition Job.h:409
bool ExecutionClassHasBeenSet() const
Definition Job.h:538
Job & WithCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
Definition Job.h:514
bool DescriptionHasBeenSet() const
Definition Job.h:110
bool SourceControlDetailsHasBeenSet() const
Definition Job.h:555
Job & WithJobMode(JobMode value)
Definition Job.h:79
const Aws::String & GetGlueVersion() const
Definition Job.h:487
AWS_GLUE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCommand(CommandT &&value)
Definition Job.h:222
bool WorkerTypeHasBeenSet() const
Definition Job.h:408
const NotificationProperty & GetNotificationProperty() const
Definition Job.h:459
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:347
Job & WithNonOverridableArguments(NonOverridableArgumentsT &&value)
Definition Job.h:286
WorkerType GetWorkerType() const
Definition Job.h:407
Job & WithSecurityConfiguration(SecurityConfigurationT &&value)
Definition Job.h:449
Job & AddDefaultArguments(DefaultArgumentsKeyT &&key, DefaultArgumentsValueT &&value)
Definition Job.h:266
Job & WithWorkerType(WorkerType value)
Definition Job.h:413
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:598
AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionClass(ExecutionClass value)
Definition Job.h:539
void SetCreatedOn(CreatedOnT &&value)
Definition Job.h:167
Job & WithTimeout(int value)
Definition Job.h:352
void SetLastModifiedOn(LastModifiedOnT &&value)
Definition Job.h:185
void SetGlueVersion(GlueVersionT &&value)
Definition Job.h:490
void SetMaxCapacity(double value)
Definition Job.h:381
const ExecutionProperty & GetExecutionProperty() const
Definition Job.h:201
void SetSourceControlDetails(SourceControlDetailsT &&value)
Definition Job.h:557
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:507
int GetTimeout() const
Definition Job.h:346
Job & WithMaxCapacity(double value)
Definition Job.h:385
bool GetJobRunQueuingEnabled() const
Definition Job.h:93
bool NumberOfWorkersHasBeenSet() const
Definition Job.h:425
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:426
bool SecurityConfigurationHasBeenSet() const
Definition Job.h:442
ExecutionClass GetExecutionClass() const
Definition Job.h:537
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
Definition Job.h:506
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:424
const Aws::String & GetMaintenanceWindow() const
Definition Job.h:577
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:495
Job & AddCodeGenConfigurationNodes(CodeGenConfigurationNodesKeyT &&key, CodeGenConfigurationNodesValueT &&value)
Definition Job.h:519
bool GlueVersionHasBeenSet() const
Definition Job.h:488
void SetCodeGenConfigurationNodes(CodeGenConfigurationNodesT &&value)
Definition Job.h:509
Job & WithNotificationProperty(NotificationPropertyT &&value)
Definition Job.h:467
Job & WithJobRunQueuingEnabled(bool value)
Definition Job.h:99
bool MaintenanceWindowHasBeenSet() const
Definition Job.h:578
void SetTimeout(int value)
Definition Job.h:348
bool ProfileNameHasBeenSet() const
Definition Job.h:596
const Aws::String & GetLogUri() const
Definition Job.h:127
bool JobRunQueuingEnabledHasBeenSet() const
Definition Job.h:94
const Aws::String & GetSecurityConfiguration() const
Definition Job.h:441
void SetExecutionProperty(ExecutionPropertyT &&value)
Definition Job.h:204
bool MaxCapacityHasBeenSet() const
Definition Job.h:380
bool ConnectionsHasBeenSet() const
Definition Job.h:303
Job & WithConnections(ConnectionsT &&value)
Definition Job.h:310
Job & WithProfileName(ProfileNameT &&value)
Definition Job.h:603
void SetMaxRetries(int value)
Definition Job.h:322
double GetMaxCapacity() const
Definition Job.h:379
const Aws::String & GetProfileName() const
Definition Job.h:595
const JobCommand & GetCommand() const
Definition Job.h:219
Job & WithMaintenanceWindow(MaintenanceWindowT &&value)
Definition Job.h:585
Job & WithLastModifiedOn(LastModifiedOnT &&value)
Definition Job.h:190
Job & WithNumberOfWorkers(int value)
Definition Job.h:430
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:444
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