AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TargetSelection.h>
10#include <aws/iot/model/JobStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/PresignedUrlConfig.h>
13#include <aws/iot/model/JobExecutionsRolloutConfig.h>
14#include <aws/iot/model/AbortConfig.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/iot/model/JobProcessDetails.h>
17#include <aws/iot/model/TimeoutConfig.h>
18#include <aws/iot/model/JobExecutionsRetryConfig.h>
19#include <aws/core/utils/memory/stl/AWSMap.h>
20#include <aws/iot/model/SchedulingConfig.h>
21#include <aws/iot/model/ScheduledJobRollout.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace IoT
35{
36namespace Model
37{
38
45 class Job
46 {
47 public:
48 AWS_IOT_API Job() = default;
49 AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue);
50 AWS_IOT_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
52
53
55
59 inline const Aws::String& GetJobArn() const { return m_jobArn; }
60 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
61 template<typename JobArnT = Aws::String>
62 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
63 template<typename JobArnT = Aws::String>
64 Job& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetJobId() const { return m_jobId; }
72 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
73 template<typename JobIdT = Aws::String>
74 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
75 template<typename JobIdT = Aws::String>
76 Job& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
78
80
91 inline TargetSelection GetTargetSelection() const { return m_targetSelection; }
92 inline bool TargetSelectionHasBeenSet() const { return m_targetSelectionHasBeenSet; }
93 inline void SetTargetSelection(TargetSelection value) { m_targetSelectionHasBeenSet = true; m_targetSelection = value; }
94 inline Job& WithTargetSelection(TargetSelection value) { SetTargetSelection(value); return *this;}
96
98
103 inline JobStatus GetStatus() const { return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
106 inline Job& WithStatus(JobStatus value) { SetStatus(value); return *this;}
108
110
114 inline bool GetForceCanceled() const { return m_forceCanceled; }
115 inline bool ForceCanceledHasBeenSet() const { return m_forceCanceledHasBeenSet; }
116 inline void SetForceCanceled(bool value) { m_forceCanceledHasBeenSet = true; m_forceCanceled = value; }
117 inline Job& WithForceCanceled(bool value) { SetForceCanceled(value); return *this;}
119
121
124 inline const Aws::String& GetReasonCode() const { return m_reasonCode; }
125 inline bool ReasonCodeHasBeenSet() const { return m_reasonCodeHasBeenSet; }
126 template<typename ReasonCodeT = Aws::String>
127 void SetReasonCode(ReasonCodeT&& value) { m_reasonCodeHasBeenSet = true; m_reasonCode = std::forward<ReasonCodeT>(value); }
128 template<typename ReasonCodeT = Aws::String>
129 Job& WithReasonCode(ReasonCodeT&& value) { SetReasonCode(std::forward<ReasonCodeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetComment() const { return m_comment; }
137 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
138 template<typename CommentT = Aws::String>
139 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
140 template<typename CommentT = Aws::String>
141 Job& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
143
145
148 inline const Aws::Vector<Aws::String>& GetTargets() const { return m_targets; }
149 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
150 template<typename TargetsT = Aws::Vector<Aws::String>>
151 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets = std::forward<TargetsT>(value); }
152 template<typename TargetsT = Aws::Vector<Aws::String>>
153 Job& WithTargets(TargetsT&& value) { SetTargets(std::forward<TargetsT>(value)); return *this;}
154 template<typename TargetsT = Aws::String>
155 Job& AddTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets.emplace_back(std::forward<TargetsT>(value)); return *this; }
157
159
162 inline const Aws::String& GetDescription() const { return m_description; }
163 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
164 template<typename DescriptionT = Aws::String>
165 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
166 template<typename DescriptionT = Aws::String>
167 Job& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
169
171
174 inline const PresignedUrlConfig& GetPresignedUrlConfig() const { return m_presignedUrlConfig; }
175 inline bool PresignedUrlConfigHasBeenSet() const { return m_presignedUrlConfigHasBeenSet; }
176 template<typename PresignedUrlConfigT = PresignedUrlConfig>
177 void SetPresignedUrlConfig(PresignedUrlConfigT&& value) { m_presignedUrlConfigHasBeenSet = true; m_presignedUrlConfig = std::forward<PresignedUrlConfigT>(value); }
178 template<typename PresignedUrlConfigT = PresignedUrlConfig>
179 Job& WithPresignedUrlConfig(PresignedUrlConfigT&& value) { SetPresignedUrlConfig(std::forward<PresignedUrlConfigT>(value)); return *this;}
181
183
186 inline const JobExecutionsRolloutConfig& GetJobExecutionsRolloutConfig() const { return m_jobExecutionsRolloutConfig; }
187 inline bool JobExecutionsRolloutConfigHasBeenSet() const { return m_jobExecutionsRolloutConfigHasBeenSet; }
188 template<typename JobExecutionsRolloutConfigT = JobExecutionsRolloutConfig>
189 void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT&& value) { m_jobExecutionsRolloutConfigHasBeenSet = true; m_jobExecutionsRolloutConfig = std::forward<JobExecutionsRolloutConfigT>(value); }
190 template<typename JobExecutionsRolloutConfigT = JobExecutionsRolloutConfig>
191 Job& WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT&& value) { SetJobExecutionsRolloutConfig(std::forward<JobExecutionsRolloutConfigT>(value)); return *this;}
193
195
198 inline const AbortConfig& GetAbortConfig() const { return m_abortConfig; }
199 inline bool AbortConfigHasBeenSet() const { return m_abortConfigHasBeenSet; }
200 template<typename AbortConfigT = AbortConfig>
201 void SetAbortConfig(AbortConfigT&& value) { m_abortConfigHasBeenSet = true; m_abortConfig = std::forward<AbortConfigT>(value); }
202 template<typename AbortConfigT = AbortConfig>
203 Job& WithAbortConfig(AbortConfigT&& value) { SetAbortConfig(std::forward<AbortConfigT>(value)); return *this;}
205
207
210 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
211 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
212 template<typename CreatedAtT = Aws::Utils::DateTime>
213 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
214 template<typename CreatedAtT = Aws::Utils::DateTime>
215 Job& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
217
219
222 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
223 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
224 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
225 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
226 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
227 Job& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
229
231
234 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
235 inline bool CompletedAtHasBeenSet() const { return m_completedAtHasBeenSet; }
236 template<typename CompletedAtT = Aws::Utils::DateTime>
237 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::forward<CompletedAtT>(value); }
238 template<typename CompletedAtT = Aws::Utils::DateTime>
239 Job& WithCompletedAt(CompletedAtT&& value) { SetCompletedAt(std::forward<CompletedAtT>(value)); return *this;}
241
243
246 inline const JobProcessDetails& GetJobProcessDetails() const { return m_jobProcessDetails; }
247 inline bool JobProcessDetailsHasBeenSet() const { return m_jobProcessDetailsHasBeenSet; }
248 template<typename JobProcessDetailsT = JobProcessDetails>
249 void SetJobProcessDetails(JobProcessDetailsT&& value) { m_jobProcessDetailsHasBeenSet = true; m_jobProcessDetails = std::forward<JobProcessDetailsT>(value); }
250 template<typename JobProcessDetailsT = JobProcessDetails>
251 Job& WithJobProcessDetails(JobProcessDetailsT&& value) { SetJobProcessDetails(std::forward<JobProcessDetailsT>(value)); return *this;}
253
255
262 inline const TimeoutConfig& GetTimeoutConfig() const { return m_timeoutConfig; }
263 inline bool TimeoutConfigHasBeenSet() const { return m_timeoutConfigHasBeenSet; }
264 template<typename TimeoutConfigT = TimeoutConfig>
265 void SetTimeoutConfig(TimeoutConfigT&& value) { m_timeoutConfigHasBeenSet = true; m_timeoutConfig = std::forward<TimeoutConfigT>(value); }
266 template<typename TimeoutConfigT = TimeoutConfig>
267 Job& WithTimeoutConfig(TimeoutConfigT&& value) { SetTimeoutConfig(std::forward<TimeoutConfigT>(value)); return *this;}
269
271
282 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
283 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
284 template<typename NamespaceIdT = Aws::String>
285 void SetNamespaceId(NamespaceIdT&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::forward<NamespaceIdT>(value); }
286 template<typename NamespaceIdT = Aws::String>
287 Job& WithNamespaceId(NamespaceIdT&& value) { SetNamespaceId(std::forward<NamespaceIdT>(value)); return *this;}
289
291
294 inline const Aws::String& GetJobTemplateArn() const { return m_jobTemplateArn; }
295 inline bool JobTemplateArnHasBeenSet() const { return m_jobTemplateArnHasBeenSet; }
296 template<typename JobTemplateArnT = Aws::String>
297 void SetJobTemplateArn(JobTemplateArnT&& value) { m_jobTemplateArnHasBeenSet = true; m_jobTemplateArn = std::forward<JobTemplateArnT>(value); }
298 template<typename JobTemplateArnT = Aws::String>
299 Job& WithJobTemplateArn(JobTemplateArnT&& value) { SetJobTemplateArn(std::forward<JobTemplateArnT>(value)); return *this;}
301
303
306 inline const JobExecutionsRetryConfig& GetJobExecutionsRetryConfig() const { return m_jobExecutionsRetryConfig; }
307 inline bool JobExecutionsRetryConfigHasBeenSet() const { return m_jobExecutionsRetryConfigHasBeenSet; }
308 template<typename JobExecutionsRetryConfigT = JobExecutionsRetryConfig>
309 void SetJobExecutionsRetryConfig(JobExecutionsRetryConfigT&& value) { m_jobExecutionsRetryConfigHasBeenSet = true; m_jobExecutionsRetryConfig = std::forward<JobExecutionsRetryConfigT>(value); }
310 template<typename JobExecutionsRetryConfigT = JobExecutionsRetryConfig>
311 Job& WithJobExecutionsRetryConfig(JobExecutionsRetryConfigT&& value) { SetJobExecutionsRetryConfig(std::forward<JobExecutionsRetryConfigT>(value)); return *this;}
313
315
323 inline const Aws::Map<Aws::String, Aws::String>& GetDocumentParameters() const { return m_documentParameters; }
324 inline bool DocumentParametersHasBeenSet() const { return m_documentParametersHasBeenSet; }
325 template<typename DocumentParametersT = Aws::Map<Aws::String, Aws::String>>
326 void SetDocumentParameters(DocumentParametersT&& value) { m_documentParametersHasBeenSet = true; m_documentParameters = std::forward<DocumentParametersT>(value); }
327 template<typename DocumentParametersT = Aws::Map<Aws::String, Aws::String>>
328 Job& WithDocumentParameters(DocumentParametersT&& value) { SetDocumentParameters(std::forward<DocumentParametersT>(value)); return *this;}
329 template<typename DocumentParametersKeyT = Aws::String, typename DocumentParametersValueT = Aws::String>
330 Job& AddDocumentParameters(DocumentParametersKeyT&& key, DocumentParametersValueT&& value) {
331 m_documentParametersHasBeenSet = true; m_documentParameters.emplace(std::forward<DocumentParametersKeyT>(key), std::forward<DocumentParametersValueT>(value)); return *this;
332 }
334
336
341 inline bool GetIsConcurrent() const { return m_isConcurrent; }
342 inline bool IsConcurrentHasBeenSet() const { return m_isConcurrentHasBeenSet; }
343 inline void SetIsConcurrent(bool value) { m_isConcurrentHasBeenSet = true; m_isConcurrent = value; }
344 inline Job& WithIsConcurrent(bool value) { SetIsConcurrent(value); return *this;}
346
348
352 inline const SchedulingConfig& GetSchedulingConfig() const { return m_schedulingConfig; }
353 inline bool SchedulingConfigHasBeenSet() const { return m_schedulingConfigHasBeenSet; }
354 template<typename SchedulingConfigT = SchedulingConfig>
355 void SetSchedulingConfig(SchedulingConfigT&& value) { m_schedulingConfigHasBeenSet = true; m_schedulingConfig = std::forward<SchedulingConfigT>(value); }
356 template<typename SchedulingConfigT = SchedulingConfig>
357 Job& WithSchedulingConfig(SchedulingConfigT&& value) { SetSchedulingConfig(std::forward<SchedulingConfigT>(value)); return *this;}
359
361
365 inline const Aws::Vector<ScheduledJobRollout>& GetScheduledJobRollouts() const { return m_scheduledJobRollouts; }
366 inline bool ScheduledJobRolloutsHasBeenSet() const { return m_scheduledJobRolloutsHasBeenSet; }
367 template<typename ScheduledJobRolloutsT = Aws::Vector<ScheduledJobRollout>>
368 void SetScheduledJobRollouts(ScheduledJobRolloutsT&& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts = std::forward<ScheduledJobRolloutsT>(value); }
369 template<typename ScheduledJobRolloutsT = Aws::Vector<ScheduledJobRollout>>
370 Job& WithScheduledJobRollouts(ScheduledJobRolloutsT&& value) { SetScheduledJobRollouts(std::forward<ScheduledJobRolloutsT>(value)); return *this;}
371 template<typename ScheduledJobRolloutsT = ScheduledJobRollout>
372 Job& AddScheduledJobRollouts(ScheduledJobRolloutsT&& value) { m_scheduledJobRolloutsHasBeenSet = true; m_scheduledJobRollouts.emplace_back(std::forward<ScheduledJobRolloutsT>(value)); return *this; }
374
376
388 inline const Aws::Vector<Aws::String>& GetDestinationPackageVersions() const { return m_destinationPackageVersions; }
389 inline bool DestinationPackageVersionsHasBeenSet() const { return m_destinationPackageVersionsHasBeenSet; }
390 template<typename DestinationPackageVersionsT = Aws::Vector<Aws::String>>
391 void SetDestinationPackageVersions(DestinationPackageVersionsT&& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions = std::forward<DestinationPackageVersionsT>(value); }
392 template<typename DestinationPackageVersionsT = Aws::Vector<Aws::String>>
393 Job& WithDestinationPackageVersions(DestinationPackageVersionsT&& value) { SetDestinationPackageVersions(std::forward<DestinationPackageVersionsT>(value)); return *this;}
394 template<typename DestinationPackageVersionsT = Aws::String>
395 Job& AddDestinationPackageVersions(DestinationPackageVersionsT&& value) { m_destinationPackageVersionsHasBeenSet = true; m_destinationPackageVersions.emplace_back(std::forward<DestinationPackageVersionsT>(value)); return *this; }
397 private:
398
399 Aws::String m_jobArn;
400 bool m_jobArnHasBeenSet = false;
401
402 Aws::String m_jobId;
403 bool m_jobIdHasBeenSet = false;
404
405 TargetSelection m_targetSelection{TargetSelection::NOT_SET};
406 bool m_targetSelectionHasBeenSet = false;
407
409 bool m_statusHasBeenSet = false;
410
411 bool m_forceCanceled{false};
412 bool m_forceCanceledHasBeenSet = false;
413
414 Aws::String m_reasonCode;
415 bool m_reasonCodeHasBeenSet = false;
416
417 Aws::String m_comment;
418 bool m_commentHasBeenSet = false;
419
420 Aws::Vector<Aws::String> m_targets;
421 bool m_targetsHasBeenSet = false;
422
423 Aws::String m_description;
424 bool m_descriptionHasBeenSet = false;
425
426 PresignedUrlConfig m_presignedUrlConfig;
427 bool m_presignedUrlConfigHasBeenSet = false;
428
429 JobExecutionsRolloutConfig m_jobExecutionsRolloutConfig;
430 bool m_jobExecutionsRolloutConfigHasBeenSet = false;
431
432 AbortConfig m_abortConfig;
433 bool m_abortConfigHasBeenSet = false;
434
435 Aws::Utils::DateTime m_createdAt{};
436 bool m_createdAtHasBeenSet = false;
437
438 Aws::Utils::DateTime m_lastUpdatedAt{};
439 bool m_lastUpdatedAtHasBeenSet = false;
440
441 Aws::Utils::DateTime m_completedAt{};
442 bool m_completedAtHasBeenSet = false;
443
444 JobProcessDetails m_jobProcessDetails;
445 bool m_jobProcessDetailsHasBeenSet = false;
446
447 TimeoutConfig m_timeoutConfig;
448 bool m_timeoutConfigHasBeenSet = false;
449
450 Aws::String m_namespaceId;
451 bool m_namespaceIdHasBeenSet = false;
452
453 Aws::String m_jobTemplateArn;
454 bool m_jobTemplateArnHasBeenSet = false;
455
456 JobExecutionsRetryConfig m_jobExecutionsRetryConfig;
457 bool m_jobExecutionsRetryConfigHasBeenSet = false;
458
459 Aws::Map<Aws::String, Aws::String> m_documentParameters;
460 bool m_documentParametersHasBeenSet = false;
461
462 bool m_isConcurrent{false};
463 bool m_isConcurrentHasBeenSet = false;
464
465 SchedulingConfig m_schedulingConfig;
466 bool m_schedulingConfigHasBeenSet = false;
467
468 Aws::Vector<ScheduledJobRollout> m_scheduledJobRollouts;
469 bool m_scheduledJobRolloutsHasBeenSet = false;
470
471 Aws::Vector<Aws::String> m_destinationPackageVersions;
472 bool m_destinationPackageVersionsHasBeenSet = false;
473 };
474
475} // namespace Model
476} // namespace IoT
477} // namespace Aws
void SetForceCanceled(bool value)
Definition Job.h:116
bool CommentHasBeenSet() const
Definition Job.h:137
void SetDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:391
const Aws::String & GetJobId() const
Definition Job.h:71
bool AbortConfigHasBeenSet() const
Definition Job.h:199
const Aws::String & GetComment() const
Definition Job.h:136
const AbortConfig & GetAbortConfig() const
Definition Job.h:198
Job & WithPresignedUrlConfig(PresignedUrlConfigT &&value)
Definition Job.h:179
bool SchedulingConfigHasBeenSet() const
Definition Job.h:353
void SetJobProcessDetails(JobProcessDetailsT &&value)
Definition Job.h:249
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Job.h:225
bool TargetSelectionHasBeenSet() const
Definition Job.h:92
AWS_IOT_API Job(Aws::Utils::Json::JsonView jsonValue)
bool JobExecutionsRolloutConfigHasBeenSet() const
Definition Job.h:187
const Aws::String & GetNamespaceId() const
Definition Job.h:282
Job & WithStatus(JobStatus value)
Definition Job.h:106
bool DocumentParametersHasBeenSet() const
Definition Job.h:324
const JobProcessDetails & GetJobProcessDetails() const
Definition Job.h:246
Job & AddScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:372
Job & WithIsConcurrent(bool value)
Definition Job.h:344
Job & WithTargets(TargetsT &&value)
Definition Job.h:153
bool TimeoutConfigHasBeenSet() const
Definition Job.h:263
bool ForceCanceledHasBeenSet() const
Definition Job.h:115
const Aws::String & GetReasonCode() const
Definition Job.h:124
void SetDocumentParameters(DocumentParametersT &&value)
Definition Job.h:326
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
Definition Job.h:186
void SetAbortConfig(AbortConfigT &&value)
Definition Job.h:201
Job & WithSchedulingConfig(SchedulingConfigT &&value)
Definition Job.h:357
Job & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Job.h:227
Job & WithDescription(DescriptionT &&value)
Definition Job.h:167
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Job.h:222
Job & AddTargets(TargetsT &&value)
Definition Job.h:155
void SetIsConcurrent(bool value)
Definition Job.h:343
const Aws::String & GetDescription() const
Definition Job.h:162
TargetSelection GetTargetSelection() const
Definition Job.h:91
bool GetIsConcurrent() const
Definition Job.h:341
Job & WithJobProcessDetails(JobProcessDetailsT &&value)
Definition Job.h:251
void SetPresignedUrlConfig(PresignedUrlConfigT &&value)
Definition Job.h:177
Job & WithForceCanceled(bool value)
Definition Job.h:117
Job & WithCompletedAt(CompletedAtT &&value)
Definition Job.h:239
Job & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT &&value)
Definition Job.h:191
Job & WithScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:370
AWS_IOT_API Job()=default
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfigT &&value)
Definition Job.h:309
Job & WithCreatedAt(CreatedAtT &&value)
Definition Job.h:215
Job & WithTargetSelection(TargetSelection value)
Definition Job.h:94
bool CompletedAtHasBeenSet() const
Definition Job.h:235
const SchedulingConfig & GetSchedulingConfig() const
Definition Job.h:352
bool DestinationPackageVersionsHasBeenSet() const
Definition Job.h:389
const TimeoutConfig & GetTimeoutConfig() const
Definition Job.h:262
void SetComment(CommentT &&value)
Definition Job.h:139
const Aws::Map< Aws::String, Aws::String > & GetDocumentParameters() const
Definition Job.h:323
Job & WithDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:393
void SetStatus(JobStatus value)
Definition Job.h:105
const Aws::Vector< ScheduledJobRollout > & GetScheduledJobRollouts() const
Definition Job.h:365
void SetCreatedAt(CreatedAtT &&value)
Definition Job.h:213
void SetTimeoutConfig(TimeoutConfigT &&value)
Definition Job.h:265
void SetScheduledJobRollouts(ScheduledJobRolloutsT &&value)
Definition Job.h:368
bool NamespaceIdHasBeenSet() const
Definition Job.h:283
const Aws::Utils::DateTime & GetCompletedAt() const
Definition Job.h:234
const Aws::String & GetJobArn() const
Definition Job.h:59
bool JobProcessDetailsHasBeenSet() const
Definition Job.h:247
void SetJobTemplateArn(JobTemplateArnT &&value)
Definition Job.h:297
Job & WithJobId(JobIdT &&value)
Definition Job.h:76
bool LastUpdatedAtHasBeenSet() const
Definition Job.h:223
void SetDescription(DescriptionT &&value)
Definition Job.h:165
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
Definition Job.h:388
bool ReasonCodeHasBeenSet() const
Definition Job.h:125
bool CreatedAtHasBeenSet() const
Definition Job.h:211
const PresignedUrlConfig & GetPresignedUrlConfig() const
Definition Job.h:174
Job & WithNamespaceId(NamespaceIdT &&value)
Definition Job.h:287
const Aws::String & GetJobTemplateArn() const
Definition Job.h:294
void SetTargetSelection(TargetSelection value)
Definition Job.h:93
Job & WithComment(CommentT &&value)
Definition Job.h:141
void SetJobArn(JobArnT &&value)
Definition Job.h:62
Job & AddDocumentParameters(DocumentParametersKeyT &&key, DocumentParametersValueT &&value)
Definition Job.h:330
bool StatusHasBeenSet() const
Definition Job.h:104
void SetSchedulingConfig(SchedulingConfigT &&value)
Definition Job.h:355
bool JobArnHasBeenSet() const
Definition Job.h:60
const Aws::Vector< Aws::String > & GetTargets() const
Definition Job.h:148
bool TargetsHasBeenSet() const
Definition Job.h:149
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Job.h:210
Job & WithReasonCode(ReasonCodeT &&value)
Definition Job.h:129
Job & WithDocumentParameters(DocumentParametersT &&value)
Definition Job.h:328
Job & AddDestinationPackageVersions(DestinationPackageVersionsT &&value)
Definition Job.h:395
bool PresignedUrlConfigHasBeenSet() const
Definition Job.h:175
bool DescriptionHasBeenSet() const
Definition Job.h:163
Job & WithJobArn(JobArnT &&value)
Definition Job.h:64
void SetTargets(TargetsT &&value)
Definition Job.h:151
bool ScheduledJobRolloutsHasBeenSet() const
Definition Job.h:366
bool IsConcurrentHasBeenSet() const
Definition Job.h:342
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
Definition Job.h:306
bool JobIdHasBeenSet() const
Definition Job.h:72
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfigT &&value)
Definition Job.h:189
void SetCompletedAt(CompletedAtT &&value)
Definition Job.h:237
AWS_IOT_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithJobExecutionsRetryConfig(JobExecutionsRetryConfigT &&value)
Definition Job.h:311
Job & WithJobTemplateArn(JobTemplateArnT &&value)
Definition Job.h:299
bool GetForceCanceled() const
Definition Job.h:114
JobStatus GetStatus() const
Definition Job.h:103
bool JobExecutionsRetryConfigHasBeenSet() const
Definition Job.h:307
Job & WithAbortConfig(AbortConfigT &&value)
Definition Job.h:203
void SetJobId(JobIdT &&value)
Definition Job.h:74
bool JobTemplateArnHasBeenSet() const
Definition Job.h:295
void SetReasonCode(ReasonCodeT &&value)
Definition Job.h:127
Job & WithTimeoutConfig(TimeoutConfigT &&value)
Definition Job.h:267
void SetNamespaceId(NamespaceIdT &&value)
Definition Job.h:285
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue