AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
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>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace Glue
33{
34namespace Model
35{
36
42 class Job
43 {
44 public:
45 AWS_GLUE_API Job();
46 AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue);
47 AWS_GLUE_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
49
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline Job& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline Job& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline Job& WithName(const char* value) { SetName(value); return *this;}
64
66
75 inline const JobMode& GetJobMode() const{ return m_jobMode; }
76 inline bool JobModeHasBeenSet() const { return m_jobModeHasBeenSet; }
77 inline void SetJobMode(const JobMode& value) { m_jobModeHasBeenSet = true; m_jobMode = value; }
78 inline void SetJobMode(JobMode&& value) { m_jobModeHasBeenSet = true; m_jobMode = std::move(value); }
79 inline Job& WithJobMode(const JobMode& value) { SetJobMode(value); return *this;}
80 inline Job& WithJobMode(JobMode&& value) { SetJobMode(std::move(value)); return *this;}
82
84
91 inline bool GetJobRunQueuingEnabled() const{ return m_jobRunQueuingEnabled; }
92 inline bool JobRunQueuingEnabledHasBeenSet() const { return m_jobRunQueuingEnabledHasBeenSet; }
93 inline void SetJobRunQueuingEnabled(bool value) { m_jobRunQueuingEnabledHasBeenSet = true; m_jobRunQueuingEnabled = value; }
94 inline Job& WithJobRunQueuingEnabled(bool value) { SetJobRunQueuingEnabled(value); return *this;}
96
98
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
104 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
105 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
106 inline Job& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 inline Job& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
108 inline Job& WithDescription(const char* value) { SetDescription(value); return *this;}
110
112
115 inline const Aws::String& GetLogUri() const{ return m_logUri; }
116 inline bool LogUriHasBeenSet() const { return m_logUriHasBeenSet; }
117 inline void SetLogUri(const Aws::String& value) { m_logUriHasBeenSet = true; m_logUri = value; }
118 inline void SetLogUri(Aws::String&& value) { m_logUriHasBeenSet = true; m_logUri = std::move(value); }
119 inline void SetLogUri(const char* value) { m_logUriHasBeenSet = true; m_logUri.assign(value); }
120 inline Job& WithLogUri(const Aws::String& value) { SetLogUri(value); return *this;}
121 inline Job& WithLogUri(Aws::String&& value) { SetLogUri(std::move(value)); return *this;}
122 inline Job& WithLogUri(const char* value) { SetLogUri(value); return *this;}
124
126
130 inline const Aws::String& GetRole() const{ return m_role; }
131 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
132 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
133 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
134 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
135 inline Job& WithRole(const Aws::String& value) { SetRole(value); return *this;}
136 inline Job& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
137 inline Job& WithRole(const char* value) { SetRole(value); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; }
145 inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; }
146 inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; }
147 inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); }
148 inline Job& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;}
149 inline Job& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; }
157 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
158 inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; }
159 inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); }
160 inline Job& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;}
161 inline Job& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;}
163
165
169 inline const ExecutionProperty& GetExecutionProperty() const{ return m_executionProperty; }
170 inline bool ExecutionPropertyHasBeenSet() const { return m_executionPropertyHasBeenSet; }
171 inline void SetExecutionProperty(const ExecutionProperty& value) { m_executionPropertyHasBeenSet = true; m_executionProperty = value; }
172 inline void SetExecutionProperty(ExecutionProperty&& value) { m_executionPropertyHasBeenSet = true; m_executionProperty = std::move(value); }
173 inline Job& WithExecutionProperty(const ExecutionProperty& value) { SetExecutionProperty(value); return *this;}
174 inline Job& WithExecutionProperty(ExecutionProperty&& value) { SetExecutionProperty(std::move(value)); return *this;}
176
178
181 inline const JobCommand& GetCommand() const{ return m_command; }
182 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
183 inline void SetCommand(const JobCommand& value) { m_commandHasBeenSet = true; m_command = value; }
184 inline void SetCommand(JobCommand&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
185 inline Job& WithCommand(const JobCommand& value) { SetCommand(value); return *this;}
186 inline Job& WithCommand(JobCommand&& value) { SetCommand(std::move(value)); return *this;}
188
190
209 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultArguments() const{ return m_defaultArguments; }
210 inline bool DefaultArgumentsHasBeenSet() const { return m_defaultArgumentsHasBeenSet; }
211 inline void SetDefaultArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments = value; }
212 inline void SetDefaultArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments = std::move(value); }
214 inline Job& WithDefaultArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetDefaultArguments(std::move(value)); return *this;}
215 inline Job& AddDefaultArguments(const Aws::String& key, const Aws::String& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, value); return *this; }
216 inline Job& AddDefaultArguments(Aws::String&& key, const Aws::String& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), value); return *this; }
217 inline Job& AddDefaultArguments(const Aws::String& key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, std::move(value)); return *this; }
218 inline Job& AddDefaultArguments(Aws::String&& key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), std::move(value)); return *this; }
219 inline Job& AddDefaultArguments(const char* key, Aws::String&& value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, std::move(value)); return *this; }
220 inline Job& AddDefaultArguments(Aws::String&& key, const char* value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(std::move(key), value); return *this; }
221 inline Job& AddDefaultArguments(const char* key, const char* value) { m_defaultArgumentsHasBeenSet = true; m_defaultArguments.emplace(key, value); return *this; }
223
225
229 inline const Aws::Map<Aws::String, Aws::String>& GetNonOverridableArguments() const{ return m_nonOverridableArguments; }
230 inline bool NonOverridableArgumentsHasBeenSet() const { return m_nonOverridableArgumentsHasBeenSet; }
231 inline void SetNonOverridableArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments = value; }
232 inline void SetNonOverridableArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments = std::move(value); }
235 inline Job& AddNonOverridableArguments(const Aws::String& key, const Aws::String& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, value); return *this; }
236 inline Job& AddNonOverridableArguments(Aws::String&& key, const Aws::String& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), value); return *this; }
237 inline Job& AddNonOverridableArguments(const Aws::String& key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, std::move(value)); return *this; }
238 inline Job& AddNonOverridableArguments(Aws::String&& key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), std::move(value)); return *this; }
239 inline Job& AddNonOverridableArguments(const char* key, Aws::String&& value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, std::move(value)); return *this; }
240 inline Job& AddNonOverridableArguments(Aws::String&& key, const char* value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(std::move(key), value); return *this; }
241 inline Job& AddNonOverridableArguments(const char* key, const char* value) { m_nonOverridableArgumentsHasBeenSet = true; m_nonOverridableArguments.emplace(key, value); return *this; }
243
245
248 inline const ConnectionsList& GetConnections() const{ return m_connections; }
249 inline bool ConnectionsHasBeenSet() const { return m_connectionsHasBeenSet; }
250 inline void SetConnections(const ConnectionsList& value) { m_connectionsHasBeenSet = true; m_connections = value; }
251 inline void SetConnections(ConnectionsList&& value) { m_connectionsHasBeenSet = true; m_connections = std::move(value); }
252 inline Job& WithConnections(const ConnectionsList& value) { SetConnections(value); return *this;}
253 inline Job& WithConnections(ConnectionsList&& value) { SetConnections(std::move(value)); return *this;}
255
257
260 inline int GetMaxRetries() const{ return m_maxRetries; }
261 inline bool MaxRetriesHasBeenSet() const { return m_maxRetriesHasBeenSet; }
262 inline void SetMaxRetries(int value) { m_maxRetriesHasBeenSet = true; m_maxRetries = value; }
263 inline Job& WithMaxRetries(int value) { SetMaxRetries(value); return *this;}
265
267
276 inline int GetTimeout() const{ return m_timeout; }
277 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
278 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
279 inline Job& WithTimeout(int value) { SetTimeout(value); return *this;}
281
283
303 inline double GetMaxCapacity() const{ return m_maxCapacity; }
304 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
305 inline void SetMaxCapacity(double value) { m_maxCapacityHasBeenSet = true; m_maxCapacity = value; }
306 inline Job& WithMaxCapacity(double value) { SetMaxCapacity(value); return *this;}
308
310
345 inline const WorkerType& GetWorkerType() const{ return m_workerType; }
346 inline bool WorkerTypeHasBeenSet() const { return m_workerTypeHasBeenSet; }
347 inline void SetWorkerType(const WorkerType& value) { m_workerTypeHasBeenSet = true; m_workerType = value; }
348 inline void SetWorkerType(WorkerType&& value) { m_workerTypeHasBeenSet = true; m_workerType = std::move(value); }
349 inline Job& WithWorkerType(const WorkerType& value) { SetWorkerType(value); return *this;}
350 inline Job& WithWorkerType(WorkerType&& value) { SetWorkerType(std::move(value)); return *this;}
352
354
358 inline int GetNumberOfWorkers() const{ return m_numberOfWorkers; }
359 inline bool NumberOfWorkersHasBeenSet() const { return m_numberOfWorkersHasBeenSet; }
360 inline void SetNumberOfWorkers(int value) { m_numberOfWorkersHasBeenSet = true; m_numberOfWorkers = value; }
361 inline Job& WithNumberOfWorkers(int value) { SetNumberOfWorkers(value); return *this;}
363
365
369 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
370 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
371 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
372 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
373 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
374 inline Job& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
375 inline Job& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
376 inline Job& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
378
380
383 inline const NotificationProperty& GetNotificationProperty() const{ return m_notificationProperty; }
384 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
385 inline void SetNotificationProperty(const NotificationProperty& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = value; }
386 inline void SetNotificationProperty(NotificationProperty&& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = std::move(value); }
387 inline Job& WithNotificationProperty(const NotificationProperty& value) { SetNotificationProperty(value); return *this;}
388 inline Job& WithNotificationProperty(NotificationProperty&& value) { SetNotificationProperty(std::move(value)); return *this;}
390
392
405 inline const Aws::String& GetGlueVersion() const{ return m_glueVersion; }
406 inline bool GlueVersionHasBeenSet() const { return m_glueVersionHasBeenSet; }
407 inline void SetGlueVersion(const Aws::String& value) { m_glueVersionHasBeenSet = true; m_glueVersion = value; }
408 inline void SetGlueVersion(Aws::String&& value) { m_glueVersionHasBeenSet = true; m_glueVersion = std::move(value); }
409 inline void SetGlueVersion(const char* value) { m_glueVersionHasBeenSet = true; m_glueVersion.assign(value); }
410 inline Job& WithGlueVersion(const Aws::String& value) { SetGlueVersion(value); return *this;}
411 inline Job& WithGlueVersion(Aws::String&& value) { SetGlueVersion(std::move(value)); return *this;}
412 inline Job& WithGlueVersion(const char* value) { SetGlueVersion(value); return *this;}
414
416
420 inline const Aws::Map<Aws::String, CodeGenConfigurationNode>& GetCodeGenConfigurationNodes() const{ return m_codeGenConfigurationNodes; }
421 inline bool CodeGenConfigurationNodesHasBeenSet() const { return m_codeGenConfigurationNodesHasBeenSet; }
422 inline void SetCodeGenConfigurationNodes(const Aws::Map<Aws::String, CodeGenConfigurationNode>& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes = value; }
423 inline void SetCodeGenConfigurationNodes(Aws::Map<Aws::String, CodeGenConfigurationNode>&& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes = std::move(value); }
426 inline Job& AddCodeGenConfigurationNodes(const Aws::String& key, const CodeGenConfigurationNode& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(key, value); return *this; }
427 inline Job& AddCodeGenConfigurationNodes(Aws::String&& key, const CodeGenConfigurationNode& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(std::move(key), value); return *this; }
428 inline Job& AddCodeGenConfigurationNodes(const Aws::String& key, CodeGenConfigurationNode&& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(key, std::move(value)); return *this; }
429 inline Job& AddCodeGenConfigurationNodes(Aws::String&& key, CodeGenConfigurationNode&& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(std::move(key), std::move(value)); return *this; }
430 inline Job& AddCodeGenConfigurationNodes(const char* key, CodeGenConfigurationNode&& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(key, std::move(value)); return *this; }
431 inline Job& AddCodeGenConfigurationNodes(const char* key, const CodeGenConfigurationNode& value) { m_codeGenConfigurationNodesHasBeenSet = true; m_codeGenConfigurationNodes.emplace(key, value); return *this; }
433
435
444 inline const ExecutionClass& GetExecutionClass() const{ return m_executionClass; }
445 inline bool ExecutionClassHasBeenSet() const { return m_executionClassHasBeenSet; }
446 inline void SetExecutionClass(const ExecutionClass& value) { m_executionClassHasBeenSet = true; m_executionClass = value; }
447 inline void SetExecutionClass(ExecutionClass&& value) { m_executionClassHasBeenSet = true; m_executionClass = std::move(value); }
448 inline Job& WithExecutionClass(const ExecutionClass& value) { SetExecutionClass(value); return *this;}
449 inline Job& WithExecutionClass(ExecutionClass&& value) { SetExecutionClass(std::move(value)); return *this;}
451
453
457 inline const SourceControlDetails& GetSourceControlDetails() const{ return m_sourceControlDetails; }
458 inline bool SourceControlDetailsHasBeenSet() const { return m_sourceControlDetailsHasBeenSet; }
459 inline void SetSourceControlDetails(const SourceControlDetails& value) { m_sourceControlDetailsHasBeenSet = true; m_sourceControlDetails = value; }
460 inline void SetSourceControlDetails(SourceControlDetails&& value) { m_sourceControlDetailsHasBeenSet = true; m_sourceControlDetails = std::move(value); }
461 inline Job& WithSourceControlDetails(const SourceControlDetails& value) { SetSourceControlDetails(value); return *this;}
462 inline Job& WithSourceControlDetails(SourceControlDetails&& value) { SetSourceControlDetails(std::move(value)); return *this;}
464
466
474 inline const Aws::String& GetMaintenanceWindow() const{ return m_maintenanceWindow; }
475 inline bool MaintenanceWindowHasBeenSet() const { return m_maintenanceWindowHasBeenSet; }
476 inline void SetMaintenanceWindow(const Aws::String& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = value; }
477 inline void SetMaintenanceWindow(Aws::String&& value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow = std::move(value); }
478 inline void SetMaintenanceWindow(const char* value) { m_maintenanceWindowHasBeenSet = true; m_maintenanceWindow.assign(value); }
479 inline Job& WithMaintenanceWindow(const Aws::String& value) { SetMaintenanceWindow(value); return *this;}
480 inline Job& WithMaintenanceWindow(Aws::String&& value) { SetMaintenanceWindow(std::move(value)); return *this;}
481 inline Job& WithMaintenanceWindow(const char* value) { SetMaintenanceWindow(value); return *this;}
483
485
488 inline const Aws::String& GetProfileName() const{ return m_profileName; }
489 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
490 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
491 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
492 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
493 inline Job& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
494 inline Job& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
495 inline Job& WithProfileName(const char* value) { SetProfileName(value); return *this;}
497 private:
498
499 Aws::String m_name;
500 bool m_nameHasBeenSet = false;
501
502 JobMode m_jobMode;
503 bool m_jobModeHasBeenSet = false;
504
505 bool m_jobRunQueuingEnabled;
506 bool m_jobRunQueuingEnabledHasBeenSet = false;
507
508 Aws::String m_description;
509 bool m_descriptionHasBeenSet = false;
510
511 Aws::String m_logUri;
512 bool m_logUriHasBeenSet = false;
513
514 Aws::String m_role;
515 bool m_roleHasBeenSet = false;
516
517 Aws::Utils::DateTime m_createdOn;
518 bool m_createdOnHasBeenSet = false;
519
520 Aws::Utils::DateTime m_lastModifiedOn;
521 bool m_lastModifiedOnHasBeenSet = false;
522
523 ExecutionProperty m_executionProperty;
524 bool m_executionPropertyHasBeenSet = false;
525
526 JobCommand m_command;
527 bool m_commandHasBeenSet = false;
528
529 Aws::Map<Aws::String, Aws::String> m_defaultArguments;
530 bool m_defaultArgumentsHasBeenSet = false;
531
532 Aws::Map<Aws::String, Aws::String> m_nonOverridableArguments;
533 bool m_nonOverridableArgumentsHasBeenSet = false;
534
535 ConnectionsList m_connections;
536 bool m_connectionsHasBeenSet = false;
537
538 int m_maxRetries;
539 bool m_maxRetriesHasBeenSet = false;
540
541 int m_timeout;
542 bool m_timeoutHasBeenSet = false;
543
544 double m_maxCapacity;
545 bool m_maxCapacityHasBeenSet = false;
546
547 WorkerType m_workerType;
548 bool m_workerTypeHasBeenSet = false;
549
550 int m_numberOfWorkers;
551 bool m_numberOfWorkersHasBeenSet = false;
552
553 Aws::String m_securityConfiguration;
554 bool m_securityConfigurationHasBeenSet = false;
555
556 NotificationProperty m_notificationProperty;
557 bool m_notificationPropertyHasBeenSet = false;
558
559 Aws::String m_glueVersion;
560 bool m_glueVersionHasBeenSet = false;
561
562 Aws::Map<Aws::String, CodeGenConfigurationNode> m_codeGenConfigurationNodes;
563 bool m_codeGenConfigurationNodesHasBeenSet = false;
564
565 ExecutionClass m_executionClass;
566 bool m_executionClassHasBeenSet = false;
567
568 SourceControlDetails m_sourceControlDetails;
569 bool m_sourceControlDetailsHasBeenSet = false;
570
571 Aws::String m_maintenanceWindow;
572 bool m_maintenanceWindowHasBeenSet = false;
573
574 Aws::String m_profileName;
575 bool m_profileNameHasBeenSet = false;
576 };
577
578} // namespace Model
579} // namespace Glue
580} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedOn() const
Definition Job.h:156
void SetMaintenanceWindow(const char *value)
Definition Job.h:478
void SetCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
Definition Job.h:422
Job & AddDefaultArguments(const char *key, const char *value)
Definition Job.h:221
Job & AddDefaultArguments(const Aws::String &key, Aws::String &&value)
Definition Job.h:217
void SetExecutionProperty(const ExecutionProperty &value)
Definition Job.h:171
bool CommandHasBeenSet() const
Definition Job.h:182
void SetProfileName(Aws::String &&value)
Definition Job.h:491
Job & WithCreatedOn(Aws::Utils::DateTime &&value)
Definition Job.h:149
bool CreatedOnHasBeenSet() const
Definition Job.h:145
Job & WithRole(const Aws::String &value)
Definition Job.h:135
Job & WithExecutionClass(ExecutionClass &&value)
Definition Job.h:449
const Aws::Map< Aws::String, Aws::String > & GetNonOverridableArguments() const
Definition Job.h:229
Job & AddDefaultArguments(Aws::String &&key, const Aws::String &value)
Definition Job.h:216
bool NotificationPropertyHasBeenSet() const
Definition Job.h:384
void SetName(Aws::String &&value)
Definition Job.h:58
const SourceControlDetails & GetSourceControlDetails() const
Definition Job.h:457
void SetSecurityConfiguration(Aws::String &&value)
Definition Job.h:372
void SetLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Job.h:158
Job & WithRole(Aws::String &&value)
Definition Job.h:136
bool MaxRetriesHasBeenSet() const
Definition Job.h:261
Job & WithDescription(Aws::String &&value)
Definition Job.h:107
const JobMode & GetJobMode() const
Definition Job.h:75
Job & WithLogUri(const Aws::String &value)
Definition Job.h:120
Job & WithMaintenanceWindow(const Aws::String &value)
Definition Job.h:479
Job & WithProfileName(const Aws::String &value)
Definition Job.h:493
int GetMaxRetries() const
Definition Job.h:260
Job & AddDefaultArguments(const Aws::String &key, const Aws::String &value)
Definition Job.h:215
bool ExecutionClassHasBeenSet() const
Definition Job.h:445
void SetMaintenanceWindow(const Aws::String &value)
Definition Job.h:476
void SetSecurityConfiguration(const Aws::String &value)
Definition Job.h:371
Job & AddCodeGenConfigurationNodes(const char *key, CodeGenConfigurationNode &&value)
Definition Job.h:430
bool DescriptionHasBeenSet() const
Definition Job.h:102
bool SourceControlDetailsHasBeenSet() const
Definition Job.h:458
Job & AddDefaultArguments(Aws::String &&key, Aws::String &&value)
Definition Job.h:218
const Aws::String & GetGlueVersion() const
Definition Job.h:405
Job & WithLastModifiedOn(const Aws::Utils::DateTime &value)
Definition Job.h:160
AWS_GLUE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition Job.h:105
Job & WithNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:234
void SetDescription(Aws::String &&value)
Definition Job.h:104
const WorkerType & GetWorkerType() const
Definition Job.h:345
bool WorkerTypeHasBeenSet() const
Definition Job.h:346
Job & WithSourceControlDetails(SourceControlDetails &&value)
Definition Job.h:462
const NotificationProperty & GetNotificationProperty() const
Definition Job.h:383
void SetProfileName(const char *value)
Definition Job.h:492
void SetCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
Definition Job.h:423
bool RoleHasBeenSet() const
Definition Job.h:131
void SetSourceControlDetails(SourceControlDetails &&value)
Definition Job.h:460
void SetLogUri(const Aws::String &value)
Definition Job.h:117
const Aws::String & GetName() const
Definition Job.h:55
Job & AddDefaultArguments(Aws::String &&key, const char *value)
Definition Job.h:220
Job & WithCodeGenConfigurationNodes(const Aws::Map< Aws::String, CodeGenConfigurationNode > &value)
Definition Job.h:424
Job & WithDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:214
bool TimeoutHasBeenSet() const
Definition Job.h:277
Job & WithJobMode(JobMode &&value)
Definition Job.h:80
void SetExecutionProperty(ExecutionProperty &&value)
Definition Job.h:172
Job & WithLogUri(Aws::String &&value)
Definition Job.h:121
void SetDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:211
void SetWorkerType(WorkerType &&value)
Definition Job.h:348
void SetCreatedOn(const Aws::Utils::DateTime &value)
Definition Job.h:146
Job & AddNonOverridableArguments(const char *key, const char *value)
Definition Job.h:241
bool JobModeHasBeenSet() const
Definition Job.h:76
Job & WithDescription(const char *value)
Definition Job.h:108
const Aws::String & GetRole() const
Definition Job.h:130
Job & WithName(const char *value)
Definition Job.h:62
void SetProfileName(const Aws::String &value)
Definition Job.h:490
AWS_GLUE_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithWorkerType(const WorkerType &value)
Definition Job.h:349
const ExecutionClass & GetExecutionClass() const
Definition Job.h:444
Job & WithTimeout(int value)
Definition Job.h:279
void SetJobMode(const JobMode &value)
Definition Job.h:77
Job & WithDefaultArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:213
Job & WithJobMode(const JobMode &value)
Definition Job.h:79
void SetMaxCapacity(double value)
Definition Job.h:305
const ExecutionProperty & GetExecutionProperty() const
Definition Job.h:169
Job & WithGlueVersion(const char *value)
Definition Job.h:412
void SetRole(Aws::String &&value)
Definition Job.h:133
Job & AddNonOverridableArguments(Aws::String &&key, const char *value)
Definition Job.h:240
Job & WithMaxRetries(int value)
Definition Job.h:263
Job & AddCodeGenConfigurationNodes(const Aws::String &key, CodeGenConfigurationNode &&value)
Definition Job.h:428
Job & AddCodeGenConfigurationNodes(const Aws::String &key, const CodeGenConfigurationNode &value)
Definition Job.h:426
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetDefaultArguments() const
Definition Job.h:209
bool CodeGenConfigurationNodesHasBeenSet() const
Definition Job.h:421
int GetTimeout() const
Definition Job.h:276
Job & WithMaxCapacity(double value)
Definition Job.h:306
bool GetJobRunQueuingEnabled() const
Definition Job.h:91
Job & WithName(const Aws::String &value)
Definition Job.h:60
Job & WithNotificationProperty(NotificationProperty &&value)
Definition Job.h:388
Job & WithConnections(const ConnectionsList &value)
Definition Job.h:252
void SetName(const char *value)
Definition Job.h:59
bool NumberOfWorkersHasBeenSet() const
Definition Job.h:359
Job & WithCodeGenConfigurationNodes(Aws::Map< Aws::String, CodeGenConfigurationNode > &&value)
Definition Job.h:425
Job & WithSecurityConfiguration(Aws::String &&value)
Definition Job.h:375
Job & WithConnections(ConnectionsList &&value)
Definition Job.h:253
Job & WithMaintenanceWindow(Aws::String &&value)
Definition Job.h:480
void SetLogUri(const char *value)
Definition Job.h:119
void SetExecutionClass(ExecutionClass &&value)
Definition Job.h:447
void SetCreatedOn(Aws::Utils::DateTime &&value)
Definition Job.h:147
void SetNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:231
void SetDescription(const Aws::String &value)
Definition Job.h:103
Job & AddNonOverridableArguments(Aws::String &&key, const Aws::String &value)
Definition Job.h:236
Job & WithName(Aws::String &&value)
Definition Job.h:61
bool LastModifiedOnHasBeenSet() const
Definition Job.h:157
Job & WithLogUri(const char *value)
Definition Job.h:122
Job & WithProfileName(Aws::String &&value)
Definition Job.h:494
Job & WithWorkerType(WorkerType &&value)
Definition Job.h:350
Job & WithCreatedOn(const Aws::Utils::DateTime &value)
Definition Job.h:148
Job & WithNonOverridableArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Job.h:233
Job & WithExecutionProperty(ExecutionProperty &&value)
Definition Job.h:174
void SetNumberOfWorkers(int value)
Definition Job.h:360
void SetWorkerType(const WorkerType &value)
Definition Job.h:347
Job & AddNonOverridableArguments(const char *key, Aws::String &&value)
Definition Job.h:239
Job & WithLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Job.h:161
bool SecurityConfigurationHasBeenSet() const
Definition Job.h:370
Job & WithCommand(const JobCommand &value)
Definition Job.h:185
Job & WithSecurityConfiguration(const Aws::String &value)
Definition Job.h:374
const Aws::Map< Aws::String, CodeGenConfigurationNode > & GetCodeGenConfigurationNodes() const
Definition Job.h:420
Job & AddDefaultArguments(const char *key, Aws::String &&value)
Definition Job.h:219
bool ExecutionPropertyHasBeenSet() const
Definition Job.h:170
Job & WithNotificationProperty(const NotificationProperty &value)
Definition Job.h:387
void SetJobRunQueuingEnabled(bool value)
Definition Job.h:93
void SetName(const Aws::String &value)
Definition Job.h:57
Job & WithCommand(JobCommand &&value)
Definition Job.h:186
void SetExecutionClass(const ExecutionClass &value)
Definition Job.h:446
void SetGlueVersion(const char *value)
Definition Job.h:409
Job & WithDescription(const Aws::String &value)
Definition Job.h:106
void SetNonOverridableArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:232
const Aws::Utils::DateTime & GetCreatedOn() const
Definition Job.h:144
int GetNumberOfWorkers() const
Definition Job.h:358
const Aws::String & GetMaintenanceWindow() const
Definition Job.h:474
const ConnectionsList & GetConnections() const
Definition Job.h:248
void SetJobMode(JobMode &&value)
Definition Job.h:78
void SetNotificationProperty(NotificationProperty &&value)
Definition Job.h:386
bool DefaultArgumentsHasBeenSet() const
Definition Job.h:210
Job & WithExecutionClass(const ExecutionClass &value)
Definition Job.h:448
void SetGlueVersion(const Aws::String &value)
Definition Job.h:407
void SetCommand(JobCommand &&value)
Definition Job.h:184
bool GlueVersionHasBeenSet() const
Definition Job.h:406
Job & AddNonOverridableArguments(Aws::String &&key, Aws::String &&value)
Definition Job.h:238
void SetNotificationProperty(const NotificationProperty &value)
Definition Job.h:385
Job & WithJobRunQueuingEnabled(bool value)
Definition Job.h:94
Job & AddNonOverridableArguments(const Aws::String &key, Aws::String &&value)
Definition Job.h:237
Job & WithGlueVersion(const Aws::String &value)
Definition Job.h:410
Job & WithGlueVersion(Aws::String &&value)
Definition Job.h:411
bool MaintenanceWindowHasBeenSet() const
Definition Job.h:475
void SetTimeout(int value)
Definition Job.h:278
void SetSourceControlDetails(const SourceControlDetails &value)
Definition Job.h:459
void SetConnections(const ConnectionsList &value)
Definition Job.h:250
void SetLastModifiedOn(Aws::Utils::DateTime &&value)
Definition Job.h:159
Job & AddNonOverridableArguments(const Aws::String &key, const Aws::String &value)
Definition Job.h:235
bool ProfileNameHasBeenSet() const
Definition Job.h:489
void SetRole(const char *value)
Definition Job.h:134
const Aws::String & GetLogUri() const
Definition Job.h:115
AWS_GLUE_API Job()
Job & WithExecutionProperty(const ExecutionProperty &value)
Definition Job.h:173
Job & WithRole(const char *value)
Definition Job.h:137
bool JobRunQueuingEnabledHasBeenSet() const
Definition Job.h:92
const Aws::String & GetSecurityConfiguration() const
Definition Job.h:369
void SetCommand(const JobCommand &value)
Definition Job.h:183
void SetSecurityConfiguration(const char *value)
Definition Job.h:373
Job & AddCodeGenConfigurationNodes(const char *key, const CodeGenConfigurationNode &value)
Definition Job.h:431
Job & AddCodeGenConfigurationNodes(Aws::String &&key, const CodeGenConfigurationNode &value)
Definition Job.h:427
void SetLogUri(Aws::String &&value)
Definition Job.h:118
bool MaxCapacityHasBeenSet() const
Definition Job.h:304
void SetGlueVersion(Aws::String &&value)
Definition Job.h:408
bool ConnectionsHasBeenSet() const
Definition Job.h:249
void SetMaintenanceWindow(Aws::String &&value)
Definition Job.h:477
void SetDefaultArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Job.h:212
Job & WithSourceControlDetails(const SourceControlDetails &value)
Definition Job.h:461
Job & AddCodeGenConfigurationNodes(Aws::String &&key, CodeGenConfigurationNode &&value)
Definition Job.h:429
Job & WithProfileName(const char *value)
Definition Job.h:495
Job & WithSecurityConfiguration(const char *value)
Definition Job.h:376
void SetMaxRetries(int value)
Definition Job.h:262
double GetMaxCapacity() const
Definition Job.h:303
const Aws::String & GetProfileName() const
Definition Job.h:488
Job & WithMaintenanceWindow(const char *value)
Definition Job.h:481
const JobCommand & GetCommand() const
Definition Job.h:181
void SetRole(const Aws::String &value)
Definition Job.h:132
void SetConnections(ConnectionsList &&value)
Definition Job.h:251
Job & WithNumberOfWorkers(int value)
Definition Job.h:361
bool NameHasBeenSet() const
Definition Job.h:56
const Aws::String & GetDescription() const
Definition Job.h:101
bool NonOverridableArgumentsHasBeenSet() const
Definition Job.h:230
bool LogUriHasBeenSet() const
Definition Job.h:116
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