7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsBackupRecoveryPointCalculatedLifecycleDetails.h>
10#include <aws/securityhub/model/AwsBackupRecoveryPointCreatedByDetails.h>
11#include <aws/securityhub/model/AwsBackupRecoveryPointLifecycleDetails.h>
46 m_backupSizeInBytesHasBeenSet =
true;
47 m_backupSizeInBytes = value;
61 template <
typename BackupVaultArnT = Aws::String>
63 m_backupVaultArnHasBeenSet =
true;
64 m_backupVaultArn = std::forward<BackupVaultArnT>(value);
66 template <
typename BackupVaultArnT = Aws::String>
82 template <
typename BackupVaultNameT = Aws::String>
84 m_backupVaultNameHasBeenSet =
true;
85 m_backupVaultName = std::forward<BackupVaultNameT>(value);
87 template <
typename BackupVaultNameT = Aws::String>
101 template <
typename CalculatedLifecycleT = AwsBackupRecoveryPo
intCalculatedLifecycleDetails>
103 m_calculatedLifecycleHasBeenSet =
true;
104 m_calculatedLifecycle = std::forward<CalculatedLifecycleT>(value);
106 template <
typename CalculatedLifecycleT = AwsBackupRecoveryPo
intCalculatedLifecycleDetails>
122 template <
typename CompletionDateT = Aws::String>
124 m_completionDateHasBeenSet =
true;
125 m_completionDate = std::forward<CompletionDateT>(value);
127 template <
typename CompletionDateT = Aws::String>
143 template <
typename CreatedByT = AwsBackupRecoveryPo
intCreatedByDetails>
145 m_createdByHasBeenSet =
true;
146 m_createdBy = std::forward<CreatedByT>(value);
148 template <
typename CreatedByT = AwsBackupRecoveryPo
intCreatedByDetails>
163 template <
typename CreationDateT = Aws::String>
165 m_creationDateHasBeenSet =
true;
166 m_creationDate = std::forward<CreationDateT>(value);
168 template <
typename CreationDateT = Aws::String>
182 template <
typename EncryptionKeyArnT = Aws::String>
184 m_encryptionKeyArnHasBeenSet =
true;
185 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
187 template <
typename EncryptionKeyArnT = Aws::String>
200 template <
typename IamRoleArnT = Aws::String>
202 m_iamRoleArnHasBeenSet =
true;
203 m_iamRoleArn = std::forward<IamRoleArnT>(value);
205 template <
typename IamRoleArnT = Aws::String>
221 m_isEncryptedHasBeenSet =
true;
222 m_isEncrypted = value;
239 template <
typename LastRestoreTimeT = Aws::String>
241 m_lastRestoreTimeHasBeenSet =
true;
242 m_lastRestoreTime = std::forward<LastRestoreTimeT>(value);
244 template <
typename LastRestoreTimeT = Aws::String>
259 template <
typename LifecycleT = AwsBackupRecoveryPo
intLifecycleDetails>
261 m_lifecycleHasBeenSet =
true;
262 m_lifecycle = std::forward<LifecycleT>(value);
264 template <
typename LifecycleT = AwsBackupRecoveryPo
intLifecycleDetails>
277 template <
typename RecoveryPo
intArnT = Aws::String>
279 m_recoveryPointArnHasBeenSet =
true;
280 m_recoveryPointArn = std::forward<RecoveryPointArnT>(value);
282 template <
typename RecoveryPo
intArnT = Aws::String>
296 template <
typename ResourceArnT = Aws::String>
298 m_resourceArnHasBeenSet =
true;
299 m_resourceArn = std::forward<ResourceArnT>(value);
301 template <
typename ResourceArnT = Aws::String>
315 template <
typename ResourceTypeT = Aws::String>
317 m_resourceTypeHasBeenSet =
true;
318 m_resourceType = std::forward<ResourceTypeT>(value);
320 template <
typename ResourceTypeT = Aws::String>
335 template <
typename SourceBackupVaultArnT = Aws::String>
337 m_sourceBackupVaultArnHasBeenSet =
true;
338 m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value);
340 template <
typename SourceBackupVaultArnT = Aws::String>
356 template <
typename StatusT = Aws::String>
358 m_statusHasBeenSet =
true;
359 m_status = std::forward<StatusT>(value);
361 template <
typename StatusT = Aws::String>
374 template <
typename StatusMessageT = Aws::String>
376 m_statusMessageHasBeenSet =
true;
377 m_statusMessage = std::forward<StatusMessageT>(value);
379 template <
typename StatusMessageT = Aws::String>
394 template <
typename StorageClassT = Aws::String>
396 m_storageClassHasBeenSet =
true;
397 m_storageClass = std::forward<StorageClassT>(value);
399 template <
typename StorageClassT = Aws::String>
406 long long m_backupSizeInBytes{0};
412 AwsBackupRecoveryPointCalculatedLifecycleDetails m_calculatedLifecycle;
416 AwsBackupRecoveryPointCreatedByDetails m_createdBy;
424 bool m_isEncrypted{
false};
428 AwsBackupRecoveryPointLifecycleDetails m_lifecycle;
443 bool m_backupSizeInBytesHasBeenSet =
false;
444 bool m_backupVaultArnHasBeenSet =
false;
445 bool m_backupVaultNameHasBeenSet =
false;
446 bool m_calculatedLifecycleHasBeenSet =
false;
447 bool m_completionDateHasBeenSet =
false;
448 bool m_createdByHasBeenSet =
false;
449 bool m_creationDateHasBeenSet =
false;
450 bool m_encryptionKeyArnHasBeenSet =
false;
451 bool m_iamRoleArnHasBeenSet =
false;
452 bool m_isEncryptedHasBeenSet =
false;
453 bool m_lastRestoreTimeHasBeenSet =
false;
454 bool m_lifecycleHasBeenSet =
false;
455 bool m_recoveryPointArnHasBeenSet =
false;
456 bool m_resourceArnHasBeenSet =
false;
457 bool m_resourceTypeHasBeenSet =
false;
458 bool m_sourceBackupVaultArnHasBeenSet =
false;
459 bool m_statusHasBeenSet =
false;
460 bool m_statusMessageHasBeenSet =
false;
461 bool m_storageClassHasBeenSet =
false;
void SetStorageClass(StorageClassT &&value)
bool StatusMessageHasBeenSet() const
bool ResourceArnHasBeenSet() const
AwsBackupRecoveryPointDetails & WithCreatedBy(CreatedByT &&value)
bool IamRoleArnHasBeenSet() const
const Aws::String & GetEncryptionKeyArn() const
const Aws::String & GetBackupVaultName() const
void SetStatusMessage(StatusMessageT &&value)
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
bool ResourceTypeHasBeenSet() const
bool StorageClassHasBeenSet() const
bool CreatedByHasBeenSet() const
AwsBackupRecoveryPointDetails & WithStatusMessage(StatusMessageT &&value)
const Aws::String & GetStatusMessage() const
bool RecoveryPointArnHasBeenSet() const
AwsBackupRecoveryPointDetails & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
AwsBackupRecoveryPointDetails & WithBackupVaultArn(BackupVaultArnT &&value)
void SetBackupVaultArn(BackupVaultArnT &&value)
void SetCreationDate(CreationDateT &&value)
void SetLastRestoreTime(LastRestoreTimeT &&value)
AwsBackupRecoveryPointDetails & WithResourceType(ResourceTypeT &&value)
AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
AwsBackupRecoveryPointDetails & WithIamRoleArn(IamRoleArnT &&value)
const AwsBackupRecoveryPointLifecycleDetails & GetLifecycle() const
void SetBackupSizeInBytes(long long value)
AwsBackupRecoveryPointDetails & WithLastRestoreTime(LastRestoreTimeT &&value)
bool BackupSizeInBytesHasBeenSet() const
const Aws::String & GetResourceArn() const
AwsBackupRecoveryPointDetails & WithRecoveryPointArn(RecoveryPointArnT &&value)
void SetLifecycle(LifecycleT &&value)
AwsBackupRecoveryPointDetails & WithBackupVaultName(BackupVaultNameT &&value)
const Aws::String & GetCreationDate() const
const Aws::String & GetResourceType() const
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
AwsBackupRecoveryPointDetails & WithStorageClass(StorageClassT &&value)
AwsBackupRecoveryPointDetails & WithLifecycle(LifecycleT &&value)
const Aws::String & GetBackupVaultArn() const
const Aws::String & GetIamRoleArn() const
void SetBackupVaultName(BackupVaultNameT &&value)
bool IsEncryptedHasBeenSet() const
bool BackupVaultArnHasBeenSet() const
bool SourceBackupVaultArnHasBeenSet() const
long long GetBackupSizeInBytes() const
bool BackupVaultNameHasBeenSet() const
AwsBackupRecoveryPointDetails & WithStatus(StatusT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetCompletionDate(CompletionDateT &&value)
void SetResourceArn(ResourceArnT &&value)
bool LastRestoreTimeHasBeenSet() const
const Aws::String & GetLastRestoreTime() const
const Aws::String & GetStorageClass() const
AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsBackupRecoveryPointCalculatedLifecycleDetails & GetCalculatedLifecycle() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreationDateHasBeenSet() const
AwsBackupRecoveryPointDetails & WithResourceArn(ResourceArnT &&value)
AwsBackupRecoveryPointDetails & WithCompletionDate(CompletionDateT &&value)
AWS_SECURITYHUB_API AwsBackupRecoveryPointDetails()=default
AwsBackupRecoveryPointDetails & WithCreationDate(CreationDateT &&value)
void SetIamRoleArn(IamRoleArnT &&value)
AwsBackupRecoveryPointDetails & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
AwsBackupRecoveryPointDetails & WithBackupSizeInBytes(long long value)
void SetRecoveryPointArn(RecoveryPointArnT &&value)
const Aws::String & GetCompletionDate() const
AwsBackupRecoveryPointDetails & WithIsEncrypted(bool value)
bool GetIsEncrypted() const
AwsBackupRecoveryPointDetails & WithCalculatedLifecycle(CalculatedLifecycleT &&value)
bool LifecycleHasBeenSet() const
void SetIsEncrypted(bool value)
bool StatusHasBeenSet() const
bool CompletionDateHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetSourceBackupVaultArn() const
const Aws::String & GetRecoveryPointArn() const
void SetCalculatedLifecycle(CalculatedLifecycleT &&value)
bool CalculatedLifecycleHasBeenSet() const
const AwsBackupRecoveryPointCreatedByDetails & GetCreatedBy() const
bool EncryptionKeyArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue