AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRecoveryPointResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/RecoveryPointCreator.h>
10#include <aws/backup/model/RecoveryPointStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/backup/model/CalculatedLifecycle.h>
13#include <aws/backup/model/Lifecycle.h>
14#include <aws/backup/model/StorageClass.h>
15#include <aws/backup/model/VaultType.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace Backup
31{
32namespace Model
33{
35 {
36 public:
40
41
43
47 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
48 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
49 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
50 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
52 inline DescribeRecoveryPointResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
53 inline DescribeRecoveryPointResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
55
57
62 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
63 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; }
64 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); }
65 inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); }
67 inline DescribeRecoveryPointResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
68 inline DescribeRecoveryPointResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
70
72
76 inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; }
77 inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; }
78 inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); }
79 inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); }
80 inline DescribeRecoveryPointResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;}
81 inline DescribeRecoveryPointResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;}
82 inline DescribeRecoveryPointResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;}
84
86
93 inline const Aws::String& GetSourceBackupVaultArn() const{ return m_sourceBackupVaultArn; }
94 inline void SetSourceBackupVaultArn(const Aws::String& value) { m_sourceBackupVaultArn = value; }
95 inline void SetSourceBackupVaultArn(Aws::String&& value) { m_sourceBackupVaultArn = std::move(value); }
96 inline void SetSourceBackupVaultArn(const char* value) { m_sourceBackupVaultArn.assign(value); }
99 inline DescribeRecoveryPointResult& WithSourceBackupVaultArn(const char* value) { SetSourceBackupVaultArn(value); return *this;}
101
103
107 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
108 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
109 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
110 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
111 inline DescribeRecoveryPointResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
112 inline DescribeRecoveryPointResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
113 inline DescribeRecoveryPointResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
115
117
122 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
123 inline void SetResourceType(const Aws::String& value) { m_resourceType = value; }
124 inline void SetResourceType(Aws::String&& value) { m_resourceType = std::move(value); }
125 inline void SetResourceType(const char* value) { m_resourceType.assign(value); }
126 inline DescribeRecoveryPointResult& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
127 inline DescribeRecoveryPointResult& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
128 inline DescribeRecoveryPointResult& WithResourceType(const char* value) { SetResourceType(value); return *this;}
130
132
138 inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; }
139 inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdBy = value; }
140 inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdBy = std::move(value); }
141 inline DescribeRecoveryPointResult& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;}
142 inline DescribeRecoveryPointResult& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
144
146
150 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
151 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
152 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
153 inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
154 inline DescribeRecoveryPointResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
155 inline DescribeRecoveryPointResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
156 inline DescribeRecoveryPointResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
158
160
189 inline const RecoveryPointStatus& GetStatus() const{ return m_status; }
190 inline void SetStatus(const RecoveryPointStatus& value) { m_status = value; }
191 inline void SetStatus(RecoveryPointStatus&& value) { m_status = std::move(value); }
192 inline DescribeRecoveryPointResult& WithStatus(const RecoveryPointStatus& value) { SetStatus(value); return *this;}
193 inline DescribeRecoveryPointResult& WithStatus(RecoveryPointStatus&& value) { SetStatus(std::move(value)); return *this;}
195
197
200 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
201 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
202 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
203 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
204 inline DescribeRecoveryPointResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
205 inline DescribeRecoveryPointResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
206 inline DescribeRecoveryPointResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
208
210
216 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
217 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
218 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
220 inline DescribeRecoveryPointResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
222
224
230 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
231 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDate = value; }
232 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDate = std::move(value); }
236
238
241 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
242 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytes = value; }
243 inline DescribeRecoveryPointResult& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
245
247
251 inline const CalculatedLifecycle& GetCalculatedLifecycle() const{ return m_calculatedLifecycle; }
252 inline void SetCalculatedLifecycle(const CalculatedLifecycle& value) { m_calculatedLifecycle = value; }
253 inline void SetCalculatedLifecycle(CalculatedLifecycle&& value) { m_calculatedLifecycle = std::move(value); }
257
259
272 inline const Lifecycle& GetLifecycle() const{ return m_lifecycle; }
273 inline void SetLifecycle(const Lifecycle& value) { m_lifecycle = value; }
274 inline void SetLifecycle(Lifecycle&& value) { m_lifecycle = std::move(value); }
275 inline DescribeRecoveryPointResult& WithLifecycle(const Lifecycle& value) { SetLifecycle(value); return *this;}
276 inline DescribeRecoveryPointResult& WithLifecycle(Lifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
278
280
284 inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; }
285 inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArn = value; }
286 inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArn = std::move(value); }
287 inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArn.assign(value); }
289 inline DescribeRecoveryPointResult& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;}
290 inline DescribeRecoveryPointResult& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;}
292
294
299 inline bool GetIsEncrypted() const{ return m_isEncrypted; }
300 inline void SetIsEncrypted(bool value) { m_isEncrypted = value; }
301 inline DescribeRecoveryPointResult& WithIsEncrypted(bool value) { SetIsEncrypted(value); return *this;}
303
305
309 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
310 inline void SetStorageClass(const StorageClass& value) { m_storageClass = value; }
311 inline void SetStorageClass(StorageClass&& value) { m_storageClass = std::move(value); }
312 inline DescribeRecoveryPointResult& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
313 inline DescribeRecoveryPointResult& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
315
317
323 inline const Aws::Utils::DateTime& GetLastRestoreTime() const{ return m_lastRestoreTime; }
324 inline void SetLastRestoreTime(const Aws::Utils::DateTime& value) { m_lastRestoreTime = value; }
325 inline void SetLastRestoreTime(Aws::Utils::DateTime&& value) { m_lastRestoreTime = std::move(value); }
329
331
336 inline const Aws::String& GetParentRecoveryPointArn() const{ return m_parentRecoveryPointArn; }
337 inline void SetParentRecoveryPointArn(const Aws::String& value) { m_parentRecoveryPointArn = value; }
338 inline void SetParentRecoveryPointArn(Aws::String&& value) { m_parentRecoveryPointArn = std::move(value); }
339 inline void SetParentRecoveryPointArn(const char* value) { m_parentRecoveryPointArn.assign(value); }
342 inline DescribeRecoveryPointResult& WithParentRecoveryPointArn(const char* value) { SetParentRecoveryPointArn(value); return *this;}
344
346
353 inline const Aws::String& GetCompositeMemberIdentifier() const{ return m_compositeMemberIdentifier; }
354 inline void SetCompositeMemberIdentifier(const Aws::String& value) { m_compositeMemberIdentifier = value; }
355 inline void SetCompositeMemberIdentifier(Aws::String&& value) { m_compositeMemberIdentifier = std::move(value); }
356 inline void SetCompositeMemberIdentifier(const char* value) { m_compositeMemberIdentifier.assign(value); }
361
363
367 inline bool GetIsParent() const{ return m_isParent; }
368 inline void SetIsParent(bool value) { m_isParent = value; }
369 inline DescribeRecoveryPointResult& WithIsParent(bool value) { SetIsParent(value); return *this;}
371
373
376 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
377 inline void SetResourceName(const Aws::String& value) { m_resourceName = value; }
378 inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); }
379 inline void SetResourceName(const char* value) { m_resourceName.assign(value); }
380 inline DescribeRecoveryPointResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
381 inline DescribeRecoveryPointResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
382 inline DescribeRecoveryPointResult& WithResourceName(const char* value) { SetResourceName(value); return *this;}
384
386
389 inline const VaultType& GetVaultType() const{ return m_vaultType; }
390 inline void SetVaultType(const VaultType& value) { m_vaultType = value; }
391 inline void SetVaultType(VaultType&& value) { m_vaultType = std::move(value); }
392 inline DescribeRecoveryPointResult& WithVaultType(const VaultType& value) { SetVaultType(value); return *this;}
393 inline DescribeRecoveryPointResult& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;}
395
397
398 inline const Aws::String& GetRequestId() const{ return m_requestId; }
399 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
400 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
401 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
402 inline DescribeRecoveryPointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
403 inline DescribeRecoveryPointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
404 inline DescribeRecoveryPointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
406 private:
407
408 Aws::String m_recoveryPointArn;
409
410 Aws::String m_backupVaultName;
411
412 Aws::String m_backupVaultArn;
413
414 Aws::String m_sourceBackupVaultArn;
415
416 Aws::String m_resourceArn;
417
418 Aws::String m_resourceType;
419
420 RecoveryPointCreator m_createdBy;
421
422 Aws::String m_iamRoleArn;
423
424 RecoveryPointStatus m_status;
425
426 Aws::String m_statusMessage;
427
428 Aws::Utils::DateTime m_creationDate;
429
430 Aws::Utils::DateTime m_completionDate;
431
432 long long m_backupSizeInBytes;
433
434 CalculatedLifecycle m_calculatedLifecycle;
435
436 Lifecycle m_lifecycle;
437
438 Aws::String m_encryptionKeyArn;
439
440 bool m_isEncrypted;
441
442 StorageClass m_storageClass;
443
444 Aws::Utils::DateTime m_lastRestoreTime;
445
446 Aws::String m_parentRecoveryPointArn;
447
448 Aws::String m_compositeMemberIdentifier;
449
450 bool m_isParent;
451
452 Aws::String m_resourceName;
453
454 VaultType m_vaultType;
455
456 Aws::String m_requestId;
457 };
458
459} // namespace Model
460} // namespace Backup
461} // namespace Aws
DescribeRecoveryPointResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeRecoveryPointResult & WithCompletionDate(const Aws::Utils::DateTime &value)
DescribeRecoveryPointResult & WithResourceType(Aws::String &&value)
DescribeRecoveryPointResult & WithVaultType(VaultType &&value)
DescribeRecoveryPointResult & WithEncryptionKeyArn(const char *value)
DescribeRecoveryPointResult & WithStorageClass(const StorageClass &value)
DescribeRecoveryPointResult & WithResourceArn(const Aws::String &value)
DescribeRecoveryPointResult & WithEncryptionKeyArn(const Aws::String &value)
AWS_BACKUP_API DescribeRecoveryPointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRecoveryPointResult & WithIamRoleArn(const Aws::String &value)
DescribeRecoveryPointResult & WithStatusMessage(Aws::String &&value)
DescribeRecoveryPointResult & WithStatus(const RecoveryPointStatus &value)
DescribeRecoveryPointResult & WithRequestId(const char *value)
DescribeRecoveryPointResult & WithRecoveryPointArn(const Aws::String &value)
DescribeRecoveryPointResult & WithBackupVaultArn(Aws::String &&value)
DescribeRecoveryPointResult & WithBackupVaultName(const char *value)
DescribeRecoveryPointResult & WithCreatedBy(RecoveryPointCreator &&value)
DescribeRecoveryPointResult & WithParentRecoveryPointArn(const Aws::String &value)
DescribeRecoveryPointResult & WithRecoveryPointArn(const char *value)
DescribeRecoveryPointResult & WithCalculatedLifecycle(const CalculatedLifecycle &value)
DescribeRecoveryPointResult & WithLifecycle(Lifecycle &&value)
DescribeRecoveryPointResult & WithRequestId(Aws::String &&value)
DescribeRecoveryPointResult & WithResourceArn(const char *value)
DescribeRecoveryPointResult & WithResourceName(const char *value)
DescribeRecoveryPointResult & WithCompositeMemberIdentifier(const Aws::String &value)
DescribeRecoveryPointResult & WithLifecycle(const Lifecycle &value)
DescribeRecoveryPointResult & WithIamRoleArn(const char *value)
DescribeRecoveryPointResult & WithCompositeMemberIdentifier(const char *value)
DescribeRecoveryPointResult & WithBackupSizeInBytes(long long value)
DescribeRecoveryPointResult & WithStatus(RecoveryPointStatus &&value)
DescribeRecoveryPointResult & WithSourceBackupVaultArn(const Aws::String &value)
void SetCreatedBy(const RecoveryPointCreator &value)
DescribeRecoveryPointResult & WithParentRecoveryPointArn(const char *value)
void SetCalculatedLifecycle(const CalculatedLifecycle &value)
DescribeRecoveryPointResult & WithIsEncrypted(bool value)
DescribeRecoveryPointResult & WithCompositeMemberIdentifier(Aws::String &&value)
DescribeRecoveryPointResult & WithStatusMessage(const Aws::String &value)
DescribeRecoveryPointResult & WithIsParent(bool value)
DescribeRecoveryPointResult & WithIamRoleArn(Aws::String &&value)
DescribeRecoveryPointResult & WithCompletionDate(Aws::Utils::DateTime &&value)
DescribeRecoveryPointResult & WithResourceType(const char *value)
DescribeRecoveryPointResult & WithStatusMessage(const char *value)
DescribeRecoveryPointResult & WithLastRestoreTime(const Aws::Utils::DateTime &value)
DescribeRecoveryPointResult & WithBackupVaultName(Aws::String &&value)
DescribeRecoveryPointResult & WithSourceBackupVaultArn(const char *value)
DescribeRecoveryPointResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeRecoveryPointResult & WithEncryptionKeyArn(Aws::String &&value)
DescribeRecoveryPointResult & WithRecoveryPointArn(Aws::String &&value)
DescribeRecoveryPointResult & WithBackupVaultArn(const char *value)
DescribeRecoveryPointResult & WithSourceBackupVaultArn(Aws::String &&value)
void SetCompletionDate(const Aws::Utils::DateTime &value)
DescribeRecoveryPointResult & WithResourceName(Aws::String &&value)
DescribeRecoveryPointResult & WithResourceType(const Aws::String &value)
DescribeRecoveryPointResult & WithBackupVaultArn(const Aws::String &value)
DescribeRecoveryPointResult & WithResourceArn(Aws::String &&value)
DescribeRecoveryPointResult & WithCreatedBy(const RecoveryPointCreator &value)
AWS_BACKUP_API DescribeRecoveryPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRecoveryPointResult & WithVaultType(const VaultType &value)
DescribeRecoveryPointResult & WithRequestId(const Aws::String &value)
DescribeRecoveryPointResult & WithResourceName(const Aws::String &value)
DescribeRecoveryPointResult & WithLastRestoreTime(Aws::Utils::DateTime &&value)
DescribeRecoveryPointResult & WithBackupVaultName(const Aws::String &value)
DescribeRecoveryPointResult & WithCalculatedLifecycle(CalculatedLifecycle &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetLastRestoreTime(const Aws::Utils::DateTime &value)
DescribeRecoveryPointResult & WithParentRecoveryPointArn(Aws::String &&value)
DescribeRecoveryPointResult & WithStorageClass(StorageClass &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue