7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsBackupRecoveryPointCalculatedLifecycleDetails.h>
10#include <aws/securityhub/model/AwsBackupRecoveryPointCreatedByDetails.h>
11#include <aws/securityhub/model/AwsBackupRecoveryPointLifecycleDetails.h>
51 inline void SetBackupSizeInBytes(
long long value) { m_backupSizeInBytesHasBeenSet =
true; m_backupSizeInBytes = value; }
61 template<
typename BackupVaultArnT = Aws::String>
62 void SetBackupVaultArn(BackupVaultArnT&& value) { m_backupVaultArnHasBeenSet =
true; m_backupVaultArn = std::forward<BackupVaultArnT>(value); }
63 template<
typename BackupVaultArnT = Aws::String>
76 template<
typename BackupVaultNameT = Aws::String>
77 void SetBackupVaultName(BackupVaultNameT&& value) { m_backupVaultNameHasBeenSet =
true; m_backupVaultName = std::forward<BackupVaultNameT>(value); }
78 template<
typename BackupVaultNameT = Aws::String>
89 template<
typename CalculatedLifecycleT = AwsBackupRecoveryPo
intCalculatedLifecycleDetails>
90 void SetCalculatedLifecycle(CalculatedLifecycleT&& value) { m_calculatedLifecycleHasBeenSet =
true; m_calculatedLifecycle = std::forward<CalculatedLifecycleT>(value); }
91 template<
typename CalculatedLifecycleT = AwsBackupRecoveryPo
intCalculatedLifecycleDetails>
104 template<
typename CompletionDateT = Aws::String>
105 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet =
true; m_completionDate = std::forward<CompletionDateT>(value); }
106 template<
typename CompletionDateT = Aws::String>
119 template<
typename CreatedByT = AwsBackupRecoveryPo
intCreatedByDetails>
120 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
121 template<
typename CreatedByT = AwsBackupRecoveryPo
intCreatedByDetails>
133 template<
typename CreationDateT = Aws::String>
134 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
135 template<
typename CreationDateT = Aws::String>
146 template<
typename EncryptionKeyArnT = Aws::String>
147 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
148 template<
typename EncryptionKeyArnT = Aws::String>
158 template<
typename IamRoleArnT = Aws::String>
159 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
160 template<
typename IamRoleArnT = Aws::String>
172 inline void SetIsEncrypted(
bool value) { m_isEncryptedHasBeenSet =
true; m_isEncrypted = value; }
185 template<
typename LastRestoreTimeT = Aws::String>
186 void SetLastRestoreTime(LastRestoreTimeT&& value) { m_lastRestoreTimeHasBeenSet =
true; m_lastRestoreTime = std::forward<LastRestoreTimeT>(value); }
187 template<
typename LastRestoreTimeT = Aws::String>
199 template<
typename LifecycleT = AwsBackupRecoveryPo
intLifecycleDetails>
200 void SetLifecycle(LifecycleT&& value) { m_lifecycleHasBeenSet =
true; m_lifecycle = std::forward<LifecycleT>(value); }
201 template<
typename LifecycleT = AwsBackupRecoveryPo
intLifecycleDetails>
211 template<
typename RecoveryPo
intArnT = Aws::String>
212 void SetRecoveryPointArn(RecoveryPointArnT&& value) { m_recoveryPointArnHasBeenSet =
true; m_recoveryPointArn = std::forward<RecoveryPointArnT>(value); }
213 template<
typename RecoveryPo
intArnT = Aws::String>
224 template<
typename ResourceArnT = Aws::String>
225 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
226 template<
typename ResourceArnT = Aws::String>
237 template<
typename ResourceTypeT = Aws::String>
238 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
239 template<
typename ResourceTypeT = Aws::String>
251 template<
typename SourceBackupVaultArnT = Aws::String>
252 void SetSourceBackupVaultArn(SourceBackupVaultArnT&& value) { m_sourceBackupVaultArnHasBeenSet =
true; m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value); }
253 template<
typename SourceBackupVaultArnT = Aws::String>
266 template<
typename StatusT = Aws::String>
267 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
268 template<
typename StatusT = Aws::String>
278 template<
typename StatusMessageT = Aws::String>
279 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
280 template<
typename StatusMessageT = Aws::String>
292 template<
typename StorageClassT = Aws::String>
293 void SetStorageClass(StorageClassT&& value) { m_storageClassHasBeenSet =
true; m_storageClass = std::forward<StorageClassT>(value); }
294 template<
typename StorageClassT = Aws::String>
299 long long m_backupSizeInBytes{0};
300 bool m_backupSizeInBytesHasBeenSet =
false;
303 bool m_backupVaultArnHasBeenSet =
false;
306 bool m_backupVaultNameHasBeenSet =
false;
308 AwsBackupRecoveryPointCalculatedLifecycleDetails m_calculatedLifecycle;
309 bool m_calculatedLifecycleHasBeenSet =
false;
312 bool m_completionDateHasBeenSet =
false;
314 AwsBackupRecoveryPointCreatedByDetails m_createdBy;
315 bool m_createdByHasBeenSet =
false;
318 bool m_creationDateHasBeenSet =
false;
321 bool m_encryptionKeyArnHasBeenSet =
false;
324 bool m_iamRoleArnHasBeenSet =
false;
326 bool m_isEncrypted{
false};
327 bool m_isEncryptedHasBeenSet =
false;
330 bool m_lastRestoreTimeHasBeenSet =
false;
332 AwsBackupRecoveryPointLifecycleDetails m_lifecycle;
333 bool m_lifecycleHasBeenSet =
false;
336 bool m_recoveryPointArnHasBeenSet =
false;
339 bool m_resourceArnHasBeenSet =
false;
342 bool m_resourceTypeHasBeenSet =
false;
345 bool m_sourceBackupVaultArnHasBeenSet =
false;
348 bool m_statusHasBeenSet =
false;
351 bool m_statusMessageHasBeenSet =
false;
354 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