AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBackupJobResult.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{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Backup
28{
29namespace Model
30{
32 {
33 public:
34 AWS_BACKUP_API DescribeBackupJobResult();
37
38
40
43 inline const Aws::String& GetAccountId() const{ return m_accountId; }
44 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
45 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
46 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
47 inline DescribeBackupJobResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
48 inline DescribeBackupJobResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
49 inline DescribeBackupJobResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
51
53
56 inline const Aws::String& GetBackupJobId() const{ return m_backupJobId; }
57 inline void SetBackupJobId(const Aws::String& value) { m_backupJobId = value; }
58 inline void SetBackupJobId(Aws::String&& value) { m_backupJobId = std::move(value); }
59 inline void SetBackupJobId(const char* value) { m_backupJobId.assign(value); }
60 inline DescribeBackupJobResult& WithBackupJobId(const Aws::String& value) { SetBackupJobId(value); return *this;}
61 inline DescribeBackupJobResult& WithBackupJobId(Aws::String&& value) { SetBackupJobId(std::move(value)); return *this;}
62 inline DescribeBackupJobResult& WithBackupJobId(const char* value) { SetBackupJobId(value); return *this;}
64
66
71 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
72 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
73 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
74 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
75 inline DescribeBackupJobResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
76 inline DescribeBackupJobResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
77 inline DescribeBackupJobResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
79
81
86 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
87 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
88 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
89 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
90 inline DescribeBackupJobResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
91 inline DescribeBackupJobResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
92 inline DescribeBackupJobResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
94
96
100 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
101 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
102 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
103 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
105 inline DescribeBackupJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
106 inline DescribeBackupJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
108
110
114 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
115 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
116 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
117 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
118 inline DescribeBackupJobResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
119 inline DescribeBackupJobResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
120 inline DescribeBackupJobResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
122
124
130 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
131 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
132 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
134 inline DescribeBackupJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
136
138
144 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
145 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDate = value; }
146 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDate = std::move(value); }
148 inline DescribeBackupJobResult& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
150
152
155 inline const BackupJobState& GetState() const{ return m_state; }
156 inline void SetState(const BackupJobState& value) { m_state = value; }
157 inline void SetState(BackupJobState&& value) { m_state = std::move(value); }
158 inline DescribeBackupJobResult& WithState(const BackupJobState& value) { SetState(value); return *this;}
159 inline DescribeBackupJobResult& WithState(BackupJobState&& value) { SetState(std::move(value)); return *this;}
161
163
167 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
168 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
169 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
170 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
171 inline DescribeBackupJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
172 inline DescribeBackupJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
173 inline DescribeBackupJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
175
177
181 inline const Aws::String& GetPercentDone() const{ return m_percentDone; }
182 inline void SetPercentDone(const Aws::String& value) { m_percentDone = value; }
183 inline void SetPercentDone(Aws::String&& value) { m_percentDone = std::move(value); }
184 inline void SetPercentDone(const char* value) { m_percentDone.assign(value); }
185 inline DescribeBackupJobResult& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;}
186 inline DescribeBackupJobResult& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;}
187 inline DescribeBackupJobResult& WithPercentDone(const char* value) { SetPercentDone(value); return *this;}
189
191
194 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
195 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytes = value; }
196 inline DescribeBackupJobResult& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
198
200
204 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
205 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
206 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
207 inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
208 inline DescribeBackupJobResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
209 inline DescribeBackupJobResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
210 inline DescribeBackupJobResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
212
214
220 inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; }
221 inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdBy = value; }
222 inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdBy = std::move(value); }
223 inline DescribeBackupJobResult& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;}
224 inline DescribeBackupJobResult& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
226
228
233 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
234 inline void SetResourceType(const Aws::String& value) { m_resourceType = value; }
235 inline void SetResourceType(Aws::String&& value) { m_resourceType = std::move(value); }
236 inline void SetResourceType(const char* value) { m_resourceType.assign(value); }
237 inline DescribeBackupJobResult& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
238 inline DescribeBackupJobResult& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
239 inline DescribeBackupJobResult& WithResourceType(const char* value) { SetResourceType(value); return *this;}
241
243
247 inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
248 inline void SetBytesTransferred(long long value) { m_bytesTransferred = value; }
249 inline DescribeBackupJobResult& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
251
253
260 inline const Aws::Utils::DateTime& GetExpectedCompletionDate() const{ return m_expectedCompletionDate; }
261 inline void SetExpectedCompletionDate(const Aws::Utils::DateTime& value) { m_expectedCompletionDate = value; }
262 inline void SetExpectedCompletionDate(Aws::Utils::DateTime&& value) { m_expectedCompletionDate = std::move(value); }
266
268
277 inline const Aws::Utils::DateTime& GetStartBy() const{ return m_startBy; }
278 inline void SetStartBy(const Aws::Utils::DateTime& value) { m_startBy = value; }
279 inline void SetStartBy(Aws::Utils::DateTime&& value) { m_startBy = std::move(value); }
280 inline DescribeBackupJobResult& WithStartBy(const Aws::Utils::DateTime& value) { SetStartBy(value); return *this;}
281 inline DescribeBackupJobResult& WithStartBy(Aws::Utils::DateTime&& value) { SetStartBy(std::move(value)); return *this;}
283
285
289 inline const Aws::Map<Aws::String, Aws::String>& GetBackupOptions() const{ return m_backupOptions; }
290 inline void SetBackupOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_backupOptions = value; }
291 inline void SetBackupOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_backupOptions = std::move(value); }
294 inline DescribeBackupJobResult& AddBackupOptions(const Aws::String& key, const Aws::String& value) { m_backupOptions.emplace(key, value); return *this; }
295 inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, const Aws::String& value) { m_backupOptions.emplace(std::move(key), value); return *this; }
296 inline DescribeBackupJobResult& AddBackupOptions(const Aws::String& key, Aws::String&& value) { m_backupOptions.emplace(key, std::move(value)); return *this; }
297 inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, Aws::String&& value) { m_backupOptions.emplace(std::move(key), std::move(value)); return *this; }
298 inline DescribeBackupJobResult& AddBackupOptions(const char* key, Aws::String&& value) { m_backupOptions.emplace(key, std::move(value)); return *this; }
299 inline DescribeBackupJobResult& AddBackupOptions(Aws::String&& key, const char* value) { m_backupOptions.emplace(std::move(key), value); return *this; }
300 inline DescribeBackupJobResult& AddBackupOptions(const char* key, const char* value) { m_backupOptions.emplace(key, value); return *this; }
302
304
310 inline const Aws::String& GetBackupType() const{ return m_backupType; }
311 inline void SetBackupType(const Aws::String& value) { m_backupType = value; }
312 inline void SetBackupType(Aws::String&& value) { m_backupType = std::move(value); }
313 inline void SetBackupType(const char* value) { m_backupType.assign(value); }
314 inline DescribeBackupJobResult& WithBackupType(const Aws::String& value) { SetBackupType(value); return *this;}
315 inline DescribeBackupJobResult& WithBackupType(Aws::String&& value) { SetBackupType(std::move(value)); return *this;}
316 inline DescribeBackupJobResult& WithBackupType(const char* value) { SetBackupType(value); return *this;}
318
320
323 inline const Aws::String& GetParentJobId() const{ return m_parentJobId; }
324 inline void SetParentJobId(const Aws::String& value) { m_parentJobId = value; }
325 inline void SetParentJobId(Aws::String&& value) { m_parentJobId = std::move(value); }
326 inline void SetParentJobId(const char* value) { m_parentJobId.assign(value); }
327 inline DescribeBackupJobResult& WithParentJobId(const Aws::String& value) { SetParentJobId(value); return *this;}
328 inline DescribeBackupJobResult& WithParentJobId(Aws::String&& value) { SetParentJobId(std::move(value)); return *this;}
329 inline DescribeBackupJobResult& WithParentJobId(const char* value) { SetParentJobId(value); return *this;}
331
333
337 inline bool GetIsParent() const{ return m_isParent; }
338 inline void SetIsParent(bool value) { m_isParent = value; }
339 inline DescribeBackupJobResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
341
343
346 inline long long GetNumberOfChildJobs() const{ return m_numberOfChildJobs; }
347 inline void SetNumberOfChildJobs(long long value) { m_numberOfChildJobs = value; }
348 inline DescribeBackupJobResult& WithNumberOfChildJobs(long long value) { SetNumberOfChildJobs(value); return *this;}
350
352
355 inline const Aws::Map<BackupJobState, long long>& GetChildJobsInState() const{ return m_childJobsInState; }
356 inline void SetChildJobsInState(const Aws::Map<BackupJobState, long long>& value) { m_childJobsInState = value; }
357 inline void SetChildJobsInState(Aws::Map<BackupJobState, long long>&& value) { m_childJobsInState = std::move(value); }
360 inline DescribeBackupJobResult& AddChildJobsInState(const BackupJobState& key, long long value) { m_childJobsInState.emplace(key, value); return *this; }
361 inline DescribeBackupJobResult& AddChildJobsInState(BackupJobState&& key, long long value) { m_childJobsInState.emplace(std::move(key), value); return *this; }
363
365
368 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
369 inline void SetResourceName(const Aws::String& value) { m_resourceName = value; }
370 inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); }
371 inline void SetResourceName(const char* value) { m_resourceName.assign(value); }
372 inline DescribeBackupJobResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
373 inline DescribeBackupJobResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
374 inline DescribeBackupJobResult& WithResourceName(const char* value) { SetResourceName(value); return *this;}
376
378
381 inline const Aws::Utils::DateTime& GetInitiationDate() const{ return m_initiationDate; }
382 inline void SetInitiationDate(const Aws::Utils::DateTime& value) { m_initiationDate = value; }
383 inline void SetInitiationDate(Aws::Utils::DateTime&& value) { m_initiationDate = std::move(value); }
385 inline DescribeBackupJobResult& WithInitiationDate(Aws::Utils::DateTime&& value) { SetInitiationDate(std::move(value)); return *this;}
387
389
396 inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; }
397 inline void SetMessageCategory(const Aws::String& value) { m_messageCategory = value; }
398 inline void SetMessageCategory(Aws::String&& value) { m_messageCategory = std::move(value); }
399 inline void SetMessageCategory(const char* value) { m_messageCategory.assign(value); }
400 inline DescribeBackupJobResult& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;}
401 inline DescribeBackupJobResult& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;}
402 inline DescribeBackupJobResult& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;}
404
406
407 inline const Aws::String& GetRequestId() const{ return m_requestId; }
408 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
409 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
410 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
411 inline DescribeBackupJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
412 inline DescribeBackupJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
413 inline DescribeBackupJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
415 private:
416
417 Aws::String m_accountId;
418
419 Aws::String m_backupJobId;
420
421 Aws::String m_backupVaultName;
422
423 Aws::String m_backupVaultArn;
424
425 Aws::String m_recoveryPointArn;
426
427 Aws::String m_resourceArn;
428
429 Aws::Utils::DateTime m_creationDate;
430
431 Aws::Utils::DateTime m_completionDate;
432
433 BackupJobState m_state;
434
435 Aws::String m_statusMessage;
436
437 Aws::String m_percentDone;
438
439 long long m_backupSizeInBytes;
440
441 Aws::String m_iamRoleArn;
442
443 RecoveryPointCreator m_createdBy;
444
445 Aws::String m_resourceType;
446
447 long long m_bytesTransferred;
448
449 Aws::Utils::DateTime m_expectedCompletionDate;
450
451 Aws::Utils::DateTime m_startBy;
452
454
455 Aws::String m_backupType;
456
457 Aws::String m_parentJobId;
458
459 bool m_isParent;
460
461 long long m_numberOfChildJobs;
462
463 Aws::Map<BackupJobState, long long> m_childJobsInState;
464
465 Aws::String m_resourceName;
466
467 Aws::Utils::DateTime m_initiationDate;
468
469 Aws::String m_messageCategory;
470
471 Aws::String m_requestId;
472 };
473
474} // namespace Model
475} // namespace Backup
476} // namespace Aws
DescribeBackupJobResult & WithBackupVaultArn(Aws::String &&value)
DescribeBackupJobResult & WithRecoveryPointArn(const Aws::String &value)
DescribeBackupJobResult & WithBackupVaultName(const char *value)
DescribeBackupJobResult & WithBytesTransferred(long long value)
DescribeBackupJobResult & WithAccountId(Aws::String &&value)
DescribeBackupJobResult & WithExpectedCompletionDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithRequestId(const Aws::String &value)
void SetStartBy(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetInitiationDate() const
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
void SetExpectedCompletionDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithBackupVaultName(const Aws::String &value)
DescribeBackupJobResult & WithCompletionDate(const Aws::Utils::DateTime &value)
const Aws::Map< BackupJobState, long long > & GetChildJobsInState() const
DescribeBackupJobResult & WithMessageCategory(Aws::String &&value)
DescribeBackupJobResult & WithStatusMessage(const Aws::String &value)
DescribeBackupJobResult & WithRequestId(const char *value)
DescribeBackupJobResult & WithBackupType(const Aws::String &value)
DescribeBackupJobResult & WithInitiationDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithResourceName(const char *value)
DescribeBackupJobResult & WithCreatedBy(const RecoveryPointCreator &value)
DescribeBackupJobResult & WithBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
DescribeBackupJobResult & WithCompletionDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithStatusMessage(const char *value)
void SetInitiationDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithBackupType(Aws::String &&value)
DescribeBackupJobResult & WithAccountId(const char *value)
DescribeBackupJobResult & WithAccountId(const Aws::String &value)
DescribeBackupJobResult & WithCreationDate(Aws::Utils::DateTime &&value)
void SetBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
DescribeBackupJobResult & WithCreatedBy(RecoveryPointCreator &&value)
void SetExpectedCompletionDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithParentJobId(const char *value)
DescribeBackupJobResult & WithBackupJobId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
const RecoveryPointCreator & GetCreatedBy() const
DescribeBackupJobResult & WithChildJobsInState(Aws::Map< BackupJobState, long long > &&value)
DescribeBackupJobResult & WithResourceType(const Aws::String &value)
void SetCreatedBy(RecoveryPointCreator &&value)
DescribeBackupJobResult & WithIsParent(bool value)
AWS_BACKUP_API DescribeBackupJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBackupJobResult & WithResourceArn(const char *value)
void SetStartBy(const Aws::Utils::DateTime &value)
void SetChildJobsInState(Aws::Map< BackupJobState, long long > &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithState(const BackupJobState &value)
DescribeBackupJobResult & WithParentJobId(const Aws::String &value)
DescribeBackupJobResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithInitiationDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithMessageCategory(const char *value)
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
DescribeBackupJobResult & WithBackupJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetCompletionDate(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithRequestId(Aws::String &&value)
void SetCompletionDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & AddChildJobsInState(BackupJobState &&key, long long value)
DescribeBackupJobResult & WithBackupVaultName(Aws::String &&value)
DescribeBackupJobResult & AddBackupOptions(Aws::String &&key, Aws::String &&value)
DescribeBackupJobResult & WithBackupSizeInBytes(long long value)
DescribeBackupJobResult & WithResourceName(const Aws::String &value)
DescribeBackupJobResult & WithResourceType(const char *value)
DescribeBackupJobResult & WithState(BackupJobState &&value)
DescribeBackupJobResult & WithPercentDone(const Aws::String &value)
DescribeBackupJobResult & WithBackupJobId(const Aws::String &value)
DescribeBackupJobResult & WithBackupVaultArn(const char *value)
DescribeBackupJobResult & WithParentJobId(Aws::String &&value)
DescribeBackupJobResult & WithStatusMessage(Aws::String &&value)
DescribeBackupJobResult & WithBackupVaultArn(const Aws::String &value)
DescribeBackupJobResult & AddChildJobsInState(const BackupJobState &key, long long value)
DescribeBackupJobResult & WithResourceArn(Aws::String &&value)
DescribeBackupJobResult & WithPercentDone(Aws::String &&value)
DescribeBackupJobResult & WithIamRoleArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartBy() const
const Aws::Utils::DateTime & GetCompletionDate() const
DescribeBackupJobResult & WithPercentDone(const char *value)
DescribeBackupJobResult & WithBackupType(const char *value)
DescribeBackupJobResult & WithResourceType(Aws::String &&value)
void SetBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
DescribeBackupJobResult & AddBackupOptions(const char *key, const char *value)
void SetChildJobsInState(const Aws::Map< BackupJobState, long long > &value)
DescribeBackupJobResult & AddBackupOptions(const Aws::String &key, const Aws::String &value)
void SetCreatedBy(const RecoveryPointCreator &value)
DescribeBackupJobResult & WithResourceName(Aws::String &&value)
DescribeBackupJobResult & WithExpectedCompletionDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithChildJobsInState(const Aws::Map< BackupJobState, long long > &value)
DescribeBackupJobResult & WithNumberOfChildJobs(long long value)
DescribeBackupJobResult & AddBackupOptions(const char *key, Aws::String &&value)
DescribeBackupJobResult & AddBackupOptions(const Aws::String &key, Aws::String &&value)
DescribeBackupJobResult & WithBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
DescribeBackupJobResult & WithIamRoleArn(const char *value)
DescribeBackupJobResult & AddBackupOptions(Aws::String &&key, const char *value)
DescribeBackupJobResult & WithResourceArn(const Aws::String &value)
DescribeBackupJobResult & WithRecoveryPointArn(const char *value)
DescribeBackupJobResult & WithStartBy(const Aws::Utils::DateTime &value)
DescribeBackupJobResult & WithStartBy(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithIamRoleArn(Aws::String &&value)
DescribeBackupJobResult & WithMessageCategory(const Aws::String &value)
DescribeBackupJobResult & AddBackupOptions(Aws::String &&key, const Aws::String &value)
void SetInitiationDate(Aws::Utils::DateTime &&value)
DescribeBackupJobResult & WithRecoveryPointArn(Aws::String &&value)
AWS_BACKUP_API DescribeBackupJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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