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;
42 template<
typename ResourceArnT = Aws::String>
43 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
44 template<
typename ResourceArnT = Aws::String>
54 template<
typename ResourceTypeT = Aws::String>
55 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
56 template<
typename ResourceTypeT = Aws::String>
68 template<
typename LastBackupTimeT = Aws::Utils::DateTime>
69 void SetLastBackupTime(LastBackupTimeT&& value) { m_lastBackupTimeHasBeenSet =
true; m_lastBackupTime = std::forward<LastBackupTimeT>(value); }
70 template<
typename LastBackupTimeT = Aws::Utils::DateTime>
79 template<
typename ResourceNameT = Aws::String>
80 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
81 template<
typename ResourceNameT = Aws::String>
91 template<
typename LastBackupVaultArnT = Aws::String>
92 void SetLastBackupVaultArn(LastBackupVaultArnT&& value) { m_lastBackupVaultArnHasBeenSet =
true; m_lastBackupVaultArn = std::forward<LastBackupVaultArnT>(value); }
93 template<
typename LastBackupVaultArnT = Aws::String>
102 template<
typename LastRecoveryPo
intArnT = Aws::String>
103 void SetLastRecoveryPointArn(LastRecoveryPointArnT&& value) { m_lastRecoveryPointArnHasBeenSet =
true; m_lastRecoveryPointArn = std::forward<LastRecoveryPointArnT>(value); }
104 template<
typename LastRecoveryPo
intArnT = Aws::String>
122 template<
typename LatestRestoreJobCreationDateT = Aws::Utils::DateTime>
123 void SetLatestRestoreJobCreationDate(LatestRestoreJobCreationDateT&& value) { m_latestRestoreJobCreationDateHasBeenSet =
true; m_latestRestoreJobCreationDate = std::forward<LatestRestoreJobCreationDateT>(value); }
124 template<
typename LatestRestoreJobCreationDateT = Aws::Utils::DateTime>
133 template<
typename LatestRestoreRecoveryPo
intCreationDateT = Aws::Utils::DateTime>
134 void SetLatestRestoreRecoveryPointCreationDate(LatestRestoreRecoveryPointCreationDateT&& value) { m_latestRestoreRecoveryPointCreationDateHasBeenSet =
true; m_latestRestoreRecoveryPointCreationDate = std::forward<LatestRestoreRecoveryPointCreationDateT>(value); }
135 template<
typename LatestRestoreRecoveryPo
intCreationDateT = Aws::Utils::DateTime>
142 template<
typename RequestIdT = Aws::String>
143 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
144 template<
typename RequestIdT = Aws::String>
150 bool m_resourceArnHasBeenSet =
false;
153 bool m_resourceTypeHasBeenSet =
false;
156 bool m_lastBackupTimeHasBeenSet =
false;
159 bool m_resourceNameHasBeenSet =
false;
162 bool m_lastBackupVaultArnHasBeenSet =
false;
165 bool m_lastRecoveryPointArnHasBeenSet =
false;
167 long long m_latestRestoreExecutionTimeMinutes{0};
168 bool m_latestRestoreExecutionTimeMinutesHasBeenSet =
false;
171 bool m_latestRestoreJobCreationDateHasBeenSet =
false;
174 bool m_latestRestoreRecoveryPointCreationDateHasBeenSet =
false;
177 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_BACKUP_API DescribeProtectedResourceResult()=default
const Aws::String & GetResourceName() const
DescribeProtectedResourceResult & WithLastBackupTime(LastBackupTimeT &&value)
void SetLatestRestoreJobCreationDate(LatestRestoreJobCreationDateT &&value)
DescribeProtectedResourceResult & WithLatestRestoreRecoveryPointCreationDate(LatestRestoreRecoveryPointCreationDateT &&value)
const Aws::String & GetLastBackupVaultArn() const
void SetLastBackupVaultArn(LastBackupVaultArnT &&value)
DescribeProtectedResourceResult & WithRequestId(RequestIdT &&value)
DescribeProtectedResourceResult & WithLastRecoveryPointArn(LastRecoveryPointArnT &&value)
void SetLatestRestoreExecutionTimeMinutes(long long value)
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceType() const
void SetResourceArn(ResourceArnT &&value)
const Aws::Utils::DateTime & GetLatestRestoreRecoveryPointCreationDate() const
DescribeProtectedResourceResult & WithResourceType(ResourceTypeT &&value)
long long GetLatestRestoreExecutionTimeMinutes() const
DescribeProtectedResourceResult & WithResourceArn(ResourceArnT &&value)
void SetLastBackupTime(LastBackupTimeT &&value)
const Aws::Utils::DateTime & GetLatestRestoreJobCreationDate() const
void SetResourceName(ResourceNameT &&value)
const Aws::String & GetLastRecoveryPointArn() const
const Aws::Utils::DateTime & GetLastBackupTime() const
DescribeProtectedResourceResult & WithLatestRestoreJobCreationDate(LatestRestoreJobCreationDateT &&value)
void SetLatestRestoreRecoveryPointCreationDate(LatestRestoreRecoveryPointCreationDateT &&value)
void SetLastRecoveryPointArn(LastRecoveryPointArnT &&value)
AWS_BACKUP_API DescribeProtectedResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProtectedResourceResult & WithLastBackupVaultArn(LastBackupVaultArnT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetResourceArn() const
AWS_BACKUP_API DescribeProtectedResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeProtectedResourceResult & WithResourceName(ResourceNameT &&value)
DescribeProtectedResourceResult & WithLatestRestoreExecutionTimeMinutes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue