7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
44 inline void SetResourceArn(
const char* value) { m_resourceArn.assign(value); }
154 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
173 long long m_latestRestoreExecutionTimeMinutes;
void SetLastRecoveryPointArn(const Aws::String &value)
DescribeProtectedResourceResult & WithResourceName(const char *value)
DescribeProtectedResourceResult & WithResourceType(const Aws::String &value)
DescribeProtectedResourceResult & WithResourceArn(const char *value)
AWS_BACKUP_API DescribeProtectedResourceResult()
DescribeProtectedResourceResult & WithResourceType(const char *value)
const Aws::String & GetResourceName() const
DescribeProtectedResourceResult & WithRequestId(const char *value)
void SetResourceName(const Aws::String &value)
void SetRequestId(const char *value)
void SetResourceType(Aws::String &&value)
void SetLastBackupVaultArn(const Aws::String &value)
DescribeProtectedResourceResult & WithResourceType(Aws::String &&value)
void SetLastRecoveryPointArn(Aws::String &&value)
DescribeProtectedResourceResult & WithLastBackupVaultArn(const Aws::String &value)
void SetLastBackupTime(Aws::Utils::DateTime &&value)
void SetResourceType(const char *value)
void SetResourceArn(Aws::String &&value)
DescribeProtectedResourceResult & WithLatestRestoreJobCreationDate(const Aws::Utils::DateTime &value)
const Aws::String & GetLastBackupVaultArn() const
DescribeProtectedResourceResult & WithLastBackupTime(const Aws::Utils::DateTime &value)
DescribeProtectedResourceResult & WithLatestRestoreRecoveryPointCreationDate(const Aws::Utils::DateTime &value)
void SetResourceName(Aws::String &&value)
void SetLatestRestoreRecoveryPointCreationDate(const Aws::Utils::DateTime &value)
void SetResourceArn(const Aws::String &value)
void SetLatestRestoreExecutionTimeMinutes(long long value)
const Aws::String & GetResourceType() const
void SetLastBackupVaultArn(const char *value)
DescribeProtectedResourceResult & WithLastBackupVaultArn(const char *value)
void SetLatestRestoreRecoveryPointCreationDate(Aws::Utils::DateTime &&value)
DescribeProtectedResourceResult & WithLatestRestoreJobCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLatestRestoreRecoveryPointCreationDate() const
void SetResourceName(const char *value)
void SetLastBackupVaultArn(Aws::String &&value)
DescribeProtectedResourceResult & WithResourceArn(const Aws::String &value)
void SetResourceArn(const char *value)
DescribeProtectedResourceResult & WithLastBackupTime(Aws::Utils::DateTime &&value)
long long GetLatestRestoreExecutionTimeMinutes() const
DescribeProtectedResourceResult & WithResourceName(const Aws::String &value)
DescribeProtectedResourceResult & WithLastRecoveryPointArn(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetLatestRestoreJobCreationDate() const
void SetLatestRestoreJobCreationDate(Aws::Utils::DateTime &&value)
DescribeProtectedResourceResult & WithRequestId(Aws::String &&value)
const Aws::String & GetLastRecoveryPointArn() const
const Aws::Utils::DateTime & GetLastBackupTime() const
DescribeProtectedResourceResult & WithLatestRestoreRecoveryPointCreationDate(Aws::Utils::DateTime &&value)
void SetLastRecoveryPointArn(const char *value)
DescribeProtectedResourceResult & WithLastRecoveryPointArn(const Aws::String &value)
void SetLatestRestoreJobCreationDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API DescribeProtectedResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProtectedResourceResult & WithResourceArn(Aws::String &&value)
const Aws::String & GetRequestId() const
DescribeProtectedResourceResult & WithResourceName(Aws::String &&value)
void SetLastBackupTime(const Aws::Utils::DateTime &value)
void SetRequestId(Aws::String &&value)
DescribeProtectedResourceResult & WithLastBackupVaultArn(Aws::String &&value)
void SetResourceType(const Aws::String &value)
DescribeProtectedResourceResult & WithLastRecoveryPointArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
AWS_BACKUP_API DescribeProtectedResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProtectedResourceResult & WithRequestId(const Aws::String &value)
DescribeProtectedResourceResult & WithLatestRestoreExecutionTimeMinutes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue