7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 template<
typename ResourceArnT = Aws::String>
50 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
51 template<
typename ResourceArnT = Aws::String>
64 template<
typename ResourceTypeT = Aws::String>
65 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
66 template<
typename ResourceTypeT = Aws::String>
79 template<
typename LastBackupTimeT = Aws::Utils::DateTime>
80 void SetLastBackupTime(LastBackupTimeT&& value) { m_lastBackupTimeHasBeenSet =
true; m_lastBackupTime = std::forward<LastBackupTimeT>(value); }
81 template<
typename LastBackupTimeT = Aws::Utils::DateTime>
91 template<
typename ResourceNameT = Aws::String>
92 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
93 template<
typename ResourceNameT = Aws::String>
104 template<
typename LastBackupVaultArnT = Aws::String>
105 void SetLastBackupVaultArn(LastBackupVaultArnT&& value) { m_lastBackupVaultArnHasBeenSet =
true; m_lastBackupVaultArn = std::forward<LastBackupVaultArnT>(value); }
106 template<
typename LastBackupVaultArnT = Aws::String>
116 template<
typename LastRecoveryPo
intArnT = Aws::String>
117 void SetLastRecoveryPointArn(LastRecoveryPointArnT&& value) { m_lastRecoveryPointArnHasBeenSet =
true; m_lastRecoveryPointArn = std::forward<LastRecoveryPointArnT>(value); }
118 template<
typename LastRecoveryPo
intArnT = Aws::String>
124 bool m_resourceArnHasBeenSet =
false;
127 bool m_resourceTypeHasBeenSet =
false;
130 bool m_lastBackupTimeHasBeenSet =
false;
133 bool m_resourceNameHasBeenSet =
false;
136 bool m_lastBackupVaultArnHasBeenSet =
false;
139 bool m_lastRecoveryPointArnHasBeenSet =
false;
ProtectedResource & WithResourceType(ResourceTypeT &&value)
void SetLastBackupTime(LastBackupTimeT &&value)
AWS_BACKUP_API ProtectedResource()=default
void SetResourceName(ResourceNameT &&value)
const Aws::Utils::DateTime & GetLastBackupTime() const
bool LastRecoveryPointArnHasBeenSet() const
const Aws::String & GetResourceName() const
const Aws::String & GetLastRecoveryPointArn() const
const Aws::String & GetResourceArn() const
const Aws::String & GetLastBackupVaultArn() const
void SetResourceArn(ResourceArnT &&value)
bool ResourceTypeHasBeenSet() const
bool LastBackupTimeHasBeenSet() const
bool ResourceNameHasBeenSet() const
ProtectedResource & WithLastRecoveryPointArn(LastRecoveryPointArnT &&value)
ProtectedResource & WithLastBackupVaultArn(LastBackupVaultArnT &&value)
AWS_BACKUP_API ProtectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastBackupVaultArnHasBeenSet() const
ProtectedResource & WithLastBackupTime(LastBackupTimeT &&value)
void SetLastRecoveryPointArn(LastRecoveryPointArnT &&value)
ProtectedResource & WithResourceArn(ResourceArnT &&value)
const Aws::String & GetResourceType() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(ResourceTypeT &&value)
bool ResourceArnHasBeenSet() const
ProtectedResource & WithResourceName(ResourceNameT &&value)
void SetLastBackupVaultArn(LastBackupVaultArnT &&value)
AWS_BACKUP_API ProtectedResource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue