AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackupJob.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/backup/model/BackupJobState.h>
11#include <aws/backup/model/RecoveryPointCreator.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_BACKUP_API BackupJob();
39 AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline BackupJob& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline BackupJob& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline BackupJob& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; }
63 inline bool BackupJobIdHasBeenSet() const { return m_backupJobIdHasBeenSet; }
64 inline void SetBackupJobId(const Aws::String& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = value; }
65 inline void SetBackupJobId(Aws::String&& value) { m_backupJobIdHasBeenSet = true; m_backupJobId = std::move(value); }
66 inline void SetBackupJobId(const char* value) { m_backupJobIdHasBeenSet = true; m_backupJobId.assign(value); }
67 inline BackupJob& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;}
68 inline BackupJob& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;}
69 inline BackupJob& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;}
71
73
78 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
79 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
80 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
81 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
82 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
83 inline BackupJob& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
84 inline BackupJob& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
85 inline BackupJob& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
87
89
94 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
95 inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; }
96 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; }
97 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); }
98 inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); }
99 inline BackupJob& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
100 inline BackupJob& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
101 inline BackupJob& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
103
105
109 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
110 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
111 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
112 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
113 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
114 inline BackupJob& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
115 inline BackupJob& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
116 inline BackupJob& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
118
120
124 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
125 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
126 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
127 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
128 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
129 inline BackupJob& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
130 inline BackupJob& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
131 inline BackupJob& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
133
135
141 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
142 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
143 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
144 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
145 inline BackupJob& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
146 inline BackupJob& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
148
150
156 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
157 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
158 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDateHasBeenSet = true; m_completionDate = value; }
159 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::move(value); }
160 inline BackupJob& WithCompletionDate(const Aws::Utils::DateTime& value) { SetCompletionDate(value); return *this;}
161 inline BackupJob& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
163
165
168 inline const BackupJobState& GetState() const{ return m_state; }
169 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
170 inline void SetState(const BackupJobState& value) { m_stateHasBeenSet = true; m_state = value; }
171 inline void SetState(BackupJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
172 inline BackupJob& WithState(const BackupJobState& value) { SetState(value); return *this;}
173 inline BackupJob& WithState(BackupJobState&& value) { SetState(std::move(value)); return *this;}
175
177
181 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
182 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
183 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
184 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
185 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
186 inline BackupJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
187 inline BackupJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
188 inline BackupJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
190
192
196 inline const Aws::String& GetPercentDone() const{ return m_percentDone; }
197 inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; }
198 inline void SetPercentDone(const Aws::String& value) { m_percentDoneHasBeenSet = true; m_percentDone = value; }
199 inline void SetPercentDone(Aws::String&& value) { m_percentDoneHasBeenSet = true; m_percentDone = std::move(value); }
200 inline void SetPercentDone(const char* value) { m_percentDoneHasBeenSet = true; m_percentDone.assign(value); }
201 inline BackupJob& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;}
202 inline BackupJob& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;}
203 inline BackupJob& WithPercentDone(const char* value) { SetPercentDone(value); return *this;}
205
207
210 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
211 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
212 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; }
213 inline BackupJob& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
215
217
224 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
225 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
226 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
227 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
228 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
229 inline BackupJob& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
230 inline BackupJob& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
231 inline BackupJob& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
233
235
241 inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; }
242 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
243 inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
244 inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
245 inline BackupJob& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;}
246 inline BackupJob& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
248
250
257 inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const{ return m_expectedCompletionDate; }
258 inline bool ExpectedCompletionDateHasBeenSet() const { return m_expectedCompletionDateHasBeenSet; }
259 inline void SetExpectedCompletionDate(const Aws::Utils::DateTime& value) { m_expectedCompletionDateHasBeenSet = true; m_expectedCompletionDate = value; }
260 inline void SetExpectedCompletionDate(Aws::Utils::DateTime&& value) { m_expectedCompletionDateHasBeenSet = true; m_expectedCompletionDate = std::move(value); }
262 inline BackupJob& WithExpectedCompletionDate(Aws::Utils::DateTime&& value) { SetExpectedCompletionDate(std::move(value)); return *this;}
264
266
275 inline const Aws::Utils::DateTime& GetStartBy() const{ return m_startBy; }
276 inline bool StartByHasBeenSet() const { return m_startByHasBeenSet; }
277 inline void SetStartBy(const Aws::Utils::DateTime& value) { m_startByHasBeenSet = true; m_startBy = value; }
278 inline void SetStartBy(Aws::Utils::DateTime&& value) { m_startByHasBeenSet = true; m_startBy = std::move(value); }
279 inline BackupJob& WithStartBy(const Aws::Utils::DateTime& value) { SetStartBy(value); return *this;}
280 inline BackupJob& WithStartBy(Aws::Utils::DateTime&& value) { SetStartBy(std::move(value)); return *this;}
282
284
290 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
291 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
292 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
293 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
294 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
295 inline BackupJob& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
296 inline BackupJob& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
297 inline BackupJob& WithResourceType(const char* value) { SetResourceType(value); return *this;}
299
301
305 inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
306 inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; }
307 inline void SetBytesTransferred(long long value) { m_bytesTransferredHasBeenSet = true; m_bytesTransferred = value; }
308 inline BackupJob& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
310
312
321 inline const Aws::Map<Aws::String, Aws::String>& GetBackupOptions() const{ return m_backupOptions; }
322 inline bool BackupOptionsHasBeenSet() const { return m_backupOptionsHasBeenSet; }
323 inline void SetBackupOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_backupOptionsHasBeenSet = true; m_backupOptions = value; }
324 inline void SetBackupOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions = std::move(value); }
326 inline BackupJob& WithBackupOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetBackupOptions(std::move(value)); return *this;}
327 inline BackupJob& AddBackupOptions(const Aws::String& key, const Aws::String& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, value); return *this; }
328 inline BackupJob& AddBackupOptions(Aws::String&& key, const Aws::String& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), value); return *this; }
329 inline BackupJob& AddBackupOptions(const Aws::String& key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, std::move(value)); return *this; }
330 inline BackupJob& AddBackupOptions(Aws::String&& key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), std::move(value)); return *this; }
331 inline BackupJob& AddBackupOptions(const char* key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, std::move(value)); return *this; }
332 inline BackupJob& AddBackupOptions(Aws::String&& key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), value); return *this; }
333 inline BackupJob& AddBackupOptions(const char* key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, value); return *this; }
335
337
340 inline const Aws::String& GetBackupType() const{ return m_backupType; }
341 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
342 inline void SetBackupType(const Aws::String& value) { m_backupTypeHasBeenSet = true; m_backupType = value; }
343 inline void SetBackupType(Aws::String&& value) { m_backupTypeHasBeenSet = true; m_backupType = std::move(value); }
344 inline void SetBackupType(const char* value) { m_backupTypeHasBeenSet = true; m_backupType.assign(value); }
345 inline BackupJob& WithBackupType(const Aws::String& value) { SetBackupType(value); return *this;}
346 inline BackupJob& WithBackupType(Aws::String&& value) { SetBackupType(std::move(value)); return *this;}
347 inline BackupJob& WithBackupType(const char* value) { SetBackupType(value); return *this;}
349
351
355 inline const Aws::String& GetParentJobId() const{ return m_parentJobId; }
356 inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; }
357 inline void SetParentJobId(const Aws::String& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = value; }
358 inline void SetParentJobId(Aws::String&& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = std::move(value); }
359 inline void SetParentJobId(const char* value) { m_parentJobIdHasBeenSet = true; m_parentJobId.assign(value); }
360 inline BackupJob& WithParentJobId(const Aws::String& value) { SetParentJobId(value); return *this;}
361 inline BackupJob& WithParentJobId(Aws::String&& value) { SetParentJobId(std::move(value)); return *this;}
362 inline BackupJob& WithParentJobId(const char* value) { SetParentJobId(value); return *this;}
364
366
370 inline bool GetIsParent() const{ return m_isParent; }
371 inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; }
372 inline void SetIsParent(bool value) { m_isParentHasBeenSet = true; m_isParent = value; }
373 inline BackupJob& WithIsParent(bool value) { SetIsParent(value); return *this;}
375
377
380 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
381 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
382 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
383 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
384 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
385 inline BackupJob& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
386 inline BackupJob& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
387 inline BackupJob& WithResourceName(const char* value) { SetResourceName(value); return *this;}
389
391
394 inline const Aws::Utils::DateTime& GetInitiationDate() const{ return m_initiationDate; }
395 inline bool InitiationDateHasBeenSet() const { return m_initiationDateHasBeenSet; }
396 inline void SetInitiationDate(const Aws::Utils::DateTime& value) { m_initiationDateHasBeenSet = true; m_initiationDate = value; }
397 inline void SetInitiationDate(Aws::Utils::DateTime&& value) { m_initiationDateHasBeenSet = true; m_initiationDate = std::move(value); }
398 inline BackupJob& WithInitiationDate(const Aws::Utils::DateTime& value) { SetInitiationDate(value); return *this;}
399 inline BackupJob& WithInitiationDate(Aws::Utils::DateTime&& value) { SetInitiationDate(std::move(value)); return *this;}
401
403
412 inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; }
413 inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; }
414 inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; }
415 inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); }
416 inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); }
417 inline BackupJob& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;}
418 inline BackupJob& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;}
419 inline BackupJob& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;}
421 private:
422
423 Aws::String m_accountId;
424 bool m_accountIdHasBeenSet = false;
425
426 Aws::String m_backupJobId;
427 bool m_backupJobIdHasBeenSet = false;
428
429 Aws::String m_backupVaultName;
430 bool m_backupVaultNameHasBeenSet = false;
431
432 Aws::String m_backupVaultArn;
433 bool m_backupVaultArnHasBeenSet = false;
434
435 Aws::String m_recoveryPointArn;
436 bool m_recoveryPointArnHasBeenSet = false;
437
438 Aws::String m_resourceArn;
439 bool m_resourceArnHasBeenSet = false;
440
441 Aws::Utils::DateTime m_creationDate;
442 bool m_creationDateHasBeenSet = false;
443
444 Aws::Utils::DateTime m_completionDate;
445 bool m_completionDateHasBeenSet = false;
446
447 BackupJobState m_state;
448 bool m_stateHasBeenSet = false;
449
450 Aws::String m_statusMessage;
451 bool m_statusMessageHasBeenSet = false;
452
453 Aws::String m_percentDone;
454 bool m_percentDoneHasBeenSet = false;
455
456 long long m_backupSizeInBytes;
457 bool m_backupSizeInBytesHasBeenSet = false;
458
459 Aws::String m_iamRoleArn;
460 bool m_iamRoleArnHasBeenSet = false;
461
462 RecoveryPointCreator m_createdBy;
463 bool m_createdByHasBeenSet = false;
464
465 Aws::Utils::DateTime m_expectedCompletionDate;
466 bool m_expectedCompletionDateHasBeenSet = false;
467
468 Aws::Utils::DateTime m_startBy;
469 bool m_startByHasBeenSet = false;
470
471 Aws::String m_resourceType;
472 bool m_resourceTypeHasBeenSet = false;
473
474 long long m_bytesTransferred;
475 bool m_bytesTransferredHasBeenSet = false;
476
478 bool m_backupOptionsHasBeenSet = false;
479
480 Aws::String m_backupType;
481 bool m_backupTypeHasBeenSet = false;
482
483 Aws::String m_parentJobId;
484 bool m_parentJobIdHasBeenSet = false;
485
486 bool m_isParent;
487 bool m_isParentHasBeenSet = false;
488
489 Aws::String m_resourceName;
490 bool m_resourceNameHasBeenSet = false;
491
492 Aws::Utils::DateTime m_initiationDate;
493 bool m_initiationDateHasBeenSet = false;
494
495 Aws::String m_messageCategory;
496 bool m_messageCategoryHasBeenSet = false;
497 };
498
499} // namespace Model
500} // namespace Backup
501} // namespace Aws
bool BackupVaultNameHasBeenSet() const
Definition BackupJob.h:79
void SetBackupVaultArn(const char *value)
Definition BackupJob.h:98
BackupJob & WithResourceArn(Aws::String &&value)
Definition BackupJob.h:130
bool ExpectedCompletionDateHasBeenSet() const
Definition BackupJob.h:258
BackupJob & WithRecoveryPointArn(Aws::String &&value)
Definition BackupJob.h:115
BackupJob & WithBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition BackupJob.h:326
BackupJob & WithIamRoleArn(const Aws::String &value)
Definition BackupJob.h:229
BackupJob & WithResourceType(const char *value)
Definition BackupJob.h:297
bool BackupSizeInBytesHasBeenSet() const
Definition BackupJob.h:211
BackupJob & WithParentJobId(Aws::String &&value)
Definition BackupJob.h:361
BackupJob & WithCompletionDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:161
void SetBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition BackupJob.h:324
void SetBackupType(const char *value)
Definition BackupJob.h:344
BackupJob & WithBackupType(const char *value)
Definition BackupJob.h:347
const Aws::String & GetBackupJobId() const
Definition BackupJob.h:62
void SetInitiationDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:396
BackupJob & WithStatusMessage(const char *value)
Definition BackupJob.h:188
void SetBackupVaultArn(const Aws::String &value)
Definition BackupJob.h:96
const Aws::String & GetRecoveryPointArn() const
Definition BackupJob.h:109
void SetStartBy(Aws::Utils::DateTime &&value)
Definition BackupJob.h:278
void SetIamRoleArn(const char *value)
Definition BackupJob.h:228
void SetBackupVaultName(Aws::String &&value)
Definition BackupJob.h:81
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
Definition BackupJob.h:321
BackupJob & WithPercentDone(const char *value)
Definition BackupJob.h:203
void SetCreatedBy(const RecoveryPointCreator &value)
Definition BackupJob.h:243
BackupJob & AddBackupOptions(Aws::String &&key, const Aws::String &value)
Definition BackupJob.h:328
BackupJob & WithState(BackupJobState &&value)
Definition BackupJob.h:173
void SetMessageCategory(const char *value)
Definition BackupJob.h:416
BackupJob & WithBackupSizeInBytes(long long value)
Definition BackupJob.h:213
void SetBackupSizeInBytes(long long value)
Definition BackupJob.h:212
BackupJob & WithBackupType(const Aws::String &value)
Definition BackupJob.h:345
BackupJob & WithBackupVaultArn(const Aws::String &value)
Definition BackupJob.h:99
void SetResourceName(const Aws::String &value)
Definition BackupJob.h:382
void SetPercentDone(Aws::String &&value)
Definition BackupJob.h:199
BackupJob & WithParentJobId(const char *value)
Definition BackupJob.h:362
bool InitiationDateHasBeenSet() const
Definition BackupJob.h:395
BackupJob & AddBackupOptions(const char *key, Aws::String &&value)
Definition BackupJob.h:331
bool MessageCategoryHasBeenSet() const
Definition BackupJob.h:413
BackupJob & WithResourceName(Aws::String &&value)
Definition BackupJob.h:386
BackupJob & WithPercentDone(const Aws::String &value)
Definition BackupJob.h:201
void SetBackupVaultName(const Aws::String &value)
Definition BackupJob.h:80
const Aws::String & GetBackupType() const
Definition BackupJob.h:340
void SetParentJobId(const char *value)
Definition BackupJob.h:359
const Aws::String & GetStatusMessage() const
Definition BackupJob.h:181
bool ResourceNameHasBeenSet() const
Definition BackupJob.h:381
BackupJob & WithResourceType(const Aws::String &value)
Definition BackupJob.h:295
BackupJob & WithStatusMessage(const Aws::String &value)
Definition BackupJob.h:186
BackupJob & WithBackupVaultName(const char *value)
Definition BackupJob.h:85
void SetResourceName(const char *value)
Definition BackupJob.h:384
BackupJob & WithExpectedCompletionDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:261
const RecoveryPointCreator & GetCreatedBy() const
Definition BackupJob.h:241
AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue)
BackupJob & WithBackupType(Aws::String &&value)
Definition BackupJob.h:346
BackupJob & WithResourceArn(const char *value)
Definition BackupJob.h:131
void SetResourceArn(const char *value)
Definition BackupJob.h:128
BackupJob & WithInitiationDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:399
bool IamRoleArnHasBeenSet() const
Definition BackupJob.h:225
bool BackupOptionsHasBeenSet() const
Definition BackupJob.h:322
const Aws::Utils::DateTime & GetStartBy() const
Definition BackupJob.h:275
BackupJob & WithRecoveryPointArn(const char *value)
Definition BackupJob.h:116
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(const Aws::String &value)
Definition BackupJob.h:292
void SetBackupJobId(const Aws::String &value)
Definition BackupJob.h:64
BackupJob & WithAccountId(Aws::String &&value)
Definition BackupJob.h:54
BackupJob & WithBackupVaultArn(const char *value)
Definition BackupJob.h:101
void SetState(const BackupJobState &value)
Definition BackupJob.h:170
void SetStartBy(const Aws::Utils::DateTime &value)
Definition BackupJob.h:277
const Aws::String & GetIamRoleArn() const
Definition BackupJob.h:224
void SetResourceType(const char *value)
Definition BackupJob.h:294
bool CreationDateHasBeenSet() const
Definition BackupJob.h:142
bool RecoveryPointArnHasBeenSet() const
Definition BackupJob.h:110
const Aws::String & GetParentJobId() const
Definition BackupJob.h:355
void SetRecoveryPointArn(const char *value)
Definition BackupJob.h:113
bool CompletionDateHasBeenSet() const
Definition BackupJob.h:157
void SetAccountId(const char *value)
Definition BackupJob.h:52
void SetRecoveryPointArn(const Aws::String &value)
Definition BackupJob.h:111
bool BackupVaultArnHasBeenSet() const
Definition BackupJob.h:95
BackupJob & WithBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition BackupJob.h:325
bool BackupJobIdHasBeenSet() const
Definition BackupJob.h:63
BackupJob & WithAccountId(const char *value)
Definition BackupJob.h:55
BackupJob & WithMessageCategory(const char *value)
Definition BackupJob.h:419
BackupJob & WithBackupVaultName(const Aws::String &value)
Definition BackupJob.h:83
long long GetBytesTransferred() const
Definition BackupJob.h:305
BackupJob & WithIsParent(bool value)
Definition BackupJob.h:373
void SetAccountId(Aws::String &&value)
Definition BackupJob.h:51
const Aws::String & GetAccountId() const
Definition BackupJob.h:48
const BackupJobState & GetState() const
Definition BackupJob.h:168
void SetBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition BackupJob.h:323
void SetStatusMessage(const Aws::String &value)
Definition BackupJob.h:183
BackupJob & WithPercentDone(Aws::String &&value)
Definition BackupJob.h:202
BackupJob & WithBackupVaultArn(Aws::String &&value)
Definition BackupJob.h:100
void SetBackupJobId(Aws::String &&value)
Definition BackupJob.h:65
BackupJob & WithMessageCategory(const Aws::String &value)
Definition BackupJob.h:417
void SetParentJobId(Aws::String &&value)
Definition BackupJob.h:358
AWS_BACKUP_API BackupJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
Definition BackupJob.h:49
const Aws::String & GetPercentDone() const
Definition BackupJob.h:196
const Aws::String & GetBackupVaultArn() const
Definition BackupJob.h:94
void SetMessageCategory(Aws::String &&value)
Definition BackupJob.h:415
BackupJob & WithExpectedCompletionDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:262
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
Definition BackupJob.h:257
BackupJob & WithStartBy(Aws::Utils::DateTime &&value)
Definition BackupJob.h:280
BackupJob & WithState(const BackupJobState &value)
Definition BackupJob.h:172
bool ResourceArnHasBeenSet() const
Definition BackupJob.h:125
BackupJob & AddBackupOptions(Aws::String &&key, Aws::String &&value)
Definition BackupJob.h:330
BackupJob & WithMessageCategory(Aws::String &&value)
Definition BackupJob.h:418
void SetResourceName(Aws::String &&value)
Definition BackupJob.h:383
bool BackupTypeHasBeenSet() const
Definition BackupJob.h:341
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:143
void SetStatusMessage(Aws::String &&value)
Definition BackupJob.h:184
void SetParentJobId(const Aws::String &value)
Definition BackupJob.h:357
long long GetBackupSizeInBytes() const
Definition BackupJob.h:210
void SetInitiationDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:397
BackupJob & WithAccountId(const Aws::String &value)
Definition BackupJob.h:53
BackupJob & WithBytesTransferred(long long value)
Definition BackupJob.h:308
BackupJob & AddBackupOptions(const Aws::String &key, const Aws::String &value)
Definition BackupJob.h:327
const Aws::String & GetResourceType() const
Definition BackupJob.h:290
BackupJob & AddBackupOptions(Aws::String &&key, const char *value)
Definition BackupJob.h:332
bool PercentDoneHasBeenSet() const
Definition BackupJob.h:197
BackupJob & WithInitiationDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:398
const Aws::Utils::DateTime & GetInitiationDate() const
Definition BackupJob.h:394
bool StatusMessageHasBeenSet() const
Definition BackupJob.h:182
BackupJob & WithBackupJobId(Aws::String &&value)
Definition BackupJob.h:68
BackupJob & AddBackupOptions(const char *key, const char *value)
Definition BackupJob.h:333
BackupJob & WithResourceType(Aws::String &&value)
Definition BackupJob.h:296
void SetMessageCategory(const Aws::String &value)
Definition BackupJob.h:414
BackupJob & WithBackupJobId(const Aws::String &value)
Definition BackupJob.h:67
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:144
void SetResourceType(Aws::String &&value)
Definition BackupJob.h:293
const Aws::String & GetResourceName() const
Definition BackupJob.h:380
void SetPercentDone(const char *value)
Definition BackupJob.h:200
void SetBackupType(const Aws::String &value)
Definition BackupJob.h:342
void SetBytesTransferred(long long value)
Definition BackupJob.h:307
BackupJob & WithResourceName(const char *value)
Definition BackupJob.h:387
BackupJob & WithIamRoleArn(Aws::String &&value)
Definition BackupJob.h:230
BackupJob & WithCreatedBy(const RecoveryPointCreator &value)
Definition BackupJob.h:245
bool ResourceTypeHasBeenSet() const
Definition BackupJob.h:291
bool ParentJobIdHasBeenSet() const
Definition BackupJob.h:356
const Aws::String & GetResourceArn() const
Definition BackupJob.h:124
BackupJob & WithCreatedBy(RecoveryPointCreator &&value)
Definition BackupJob.h:246
void SetRecoveryPointArn(Aws::String &&value)
Definition BackupJob.h:112
void SetCompletionDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:158
BackupJob & WithStartBy(const Aws::Utils::DateTime &value)
Definition BackupJob.h:279
const Aws::String & GetMessageCategory() const
Definition BackupJob.h:412
void SetExpectedCompletionDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:259
BackupJob & WithResourceArn(const Aws::String &value)
Definition BackupJob.h:129
BackupJob & WithRecoveryPointArn(const Aws::String &value)
Definition BackupJob.h:114
void SetPercentDone(const Aws::String &value)
Definition BackupJob.h:198
BackupJob & WithCompletionDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:160
void SetBackupVaultArn(Aws::String &&value)
Definition BackupJob.h:97
void SetCreatedBy(RecoveryPointCreator &&value)
Definition BackupJob.h:244
BackupJob & WithStatusMessage(Aws::String &&value)
Definition BackupJob.h:187
const Aws::Utils::DateTime & GetCompletionDate() const
Definition BackupJob.h:156
void SetIsParent(bool value)
Definition BackupJob.h:372
void SetStatusMessage(const char *value)
Definition BackupJob.h:185
void SetIamRoleArn(const Aws::String &value)
Definition BackupJob.h:226
void SetResourceArn(Aws::String &&value)
Definition BackupJob.h:127
void SetCompletionDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:159
void SetState(BackupJobState &&value)
Definition BackupJob.h:171
BackupJob & WithBackupJobId(const char *value)
Definition BackupJob.h:69
void SetAccountId(const Aws::String &value)
Definition BackupJob.h:50
void SetResourceArn(const Aws::String &value)
Definition BackupJob.h:126
void SetExpectedCompletionDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:260
BackupJob & WithBackupVaultName(Aws::String &&value)
Definition BackupJob.h:84
BackupJob & WithCreationDate(const Aws::Utils::DateTime &value)
Definition BackupJob.h:145
bool BytesTransferredHasBeenSet() const
Definition BackupJob.h:306
const Aws::String & GetBackupVaultName() const
Definition BackupJob.h:78
BackupJob & WithResourceName(const Aws::String &value)
Definition BackupJob.h:385
BackupJob & WithIamRoleArn(const char *value)
Definition BackupJob.h:231
BackupJob & WithParentJobId(const Aws::String &value)
Definition BackupJob.h:360
BackupJob & AddBackupOptions(const Aws::String &key, Aws::String &&value)
Definition BackupJob.h:329
void SetIamRoleArn(Aws::String &&value)
Definition BackupJob.h:227
void SetBackupJobId(const char *value)
Definition BackupJob.h:66
BackupJob & WithCreationDate(Aws::Utils::DateTime &&value)
Definition BackupJob.h:146
void SetBackupVaultName(const char *value)
Definition BackupJob.h:82
void SetBackupType(Aws::String &&value)
Definition BackupJob.h:343
const Aws::Utils::DateTime & GetCreationDate() const
Definition BackupJob.h:141
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