7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
51 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
68 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
97 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
112 inline void SetLastBackupVaultArn(
const char* value) { m_lastBackupVaultArnHasBeenSet =
true; m_lastBackupVaultArn.assign(value); }
126 inline void SetLastRecoveryPointArn(
const char* value) { m_lastRecoveryPointArnHasBeenSet =
true; m_lastRecoveryPointArn.assign(value); }
134 bool m_resourceArnHasBeenSet =
false;
137 bool m_resourceTypeHasBeenSet =
false;
140 bool m_lastBackupTimeHasBeenSet =
false;
143 bool m_resourceNameHasBeenSet =
false;
146 bool m_lastBackupVaultArnHasBeenSet =
false;
149 bool m_lastRecoveryPointArnHasBeenSet =
false;
void SetLastBackupVaultArn(const char *value)
void SetResourceName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastBackupTime() const
void SetLastBackupTime(Aws::Utils::DateTime &&value)
bool LastRecoveryPointArnHasBeenSet() const
const Aws::String & GetResourceName() const
const Aws::String & GetLastRecoveryPointArn() const
ProtectedResource & WithLastRecoveryPointArn(const char *value)
const Aws::String & GetResourceArn() const
const Aws::String & GetLastBackupVaultArn() const
void SetResourceArn(const char *value)
ProtectedResource & WithResourceName(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
ProtectedResource & WithResourceType(const Aws::String &value)
void SetLastBackupTime(const Aws::Utils::DateTime &value)
ProtectedResource & WithLastBackupVaultArn(const char *value)
void SetResourceArn(Aws::String &&value)
bool LastBackupTimeHasBeenSet() const
ProtectedResource & WithResourceArn(const char *value)
ProtectedResource & WithLastRecoveryPointArn(Aws::String &&value)
bool ResourceNameHasBeenSet() const
void SetResourceType(Aws::String &&value)
ProtectedResource & WithLastBackupVaultArn(Aws::String &&value)
void SetResourceType(const char *value)
ProtectedResource & WithResourceType(Aws::String &&value)
AWS_BACKUP_API ProtectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(const Aws::String &value)
bool LastBackupVaultArnHasBeenSet() const
ProtectedResource & WithResourceName(const char *value)
ProtectedResource & WithResourceArn(const Aws::String &value)
void SetLastRecoveryPointArn(Aws::String &&value)
void SetResourceType(const Aws::String &value)
ProtectedResource & WithResourceArn(Aws::String &&value)
void SetLastBackupVaultArn(const Aws::String &value)
ProtectedResource & WithLastRecoveryPointArn(const Aws::String &value)
const Aws::String & GetResourceType() const
ProtectedResource & WithLastBackupTime(const Aws::Utils::DateTime &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastRecoveryPointArn(const char *value)
ProtectedResource & WithLastBackupVaultArn(const Aws::String &value)
void SetLastRecoveryPointArn(const Aws::String &value)
AWS_BACKUP_API ProtectedResource()
ProtectedResource & WithLastBackupTime(Aws::Utils::DateTime &&value)
void SetLastBackupVaultArn(Aws::String &&value)
ProtectedResource & WithResourceName(Aws::String &&value)
bool ResourceArnHasBeenSet() const
ProtectedResource & WithResourceType(const char *value)
void SetResourceName(const Aws::String &value)
AWS_BACKUP_API ProtectedResource(Aws::Utils::Json::JsonView jsonValue)
void SetResourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue