7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
36 template <
typename ResourceArnT = Aws::String>
38 m_resourceArnHasBeenSet =
true;
39 m_resourceArn = std::forward<ResourceArnT>(value);
41 template <
typename ResourceArnT = Aws::String>
54 template <
typename ResourceTypeT = Aws::String>
56 m_resourceTypeHasBeenSet =
true;
57 m_resourceType = std::forward<ResourceTypeT>(value);
59 template <
typename ResourceTypeT = Aws::String>
74 template <
typename LastBackupTimeT = Aws::Utils::DateTime>
76 m_lastBackupTimeHasBeenSet =
true;
77 m_lastBackupTime = std::forward<LastBackupTimeT>(value);
79 template <
typename LastBackupTimeT = Aws::Utils::DateTime>
91 template <
typename ResourceNameT = Aws::String>
93 m_resourceNameHasBeenSet =
true;
94 m_resourceName = std::forward<ResourceNameT>(value);
96 template <
typename ResourceNameT = Aws::String>
109 template <
typename LastBackupVaultArnT = Aws::String>
111 m_lastBackupVaultArnHasBeenSet =
true;
112 m_lastBackupVaultArn = std::forward<LastBackupVaultArnT>(value);
114 template <
typename LastBackupVaultArnT = Aws::String>
126 template <
typename LastRecoveryPo
intArnT = Aws::String>
128 m_lastRecoveryPointArnHasBeenSet =
true;
129 m_lastRecoveryPointArn = std::forward<LastRecoveryPointArnT>(value);
131 template <
typename LastRecoveryPo
intArnT = Aws::String>
144 m_latestRestoreExecutionTimeMinutesHasBeenSet =
true;
145 m_latestRestoreExecutionTimeMinutes = value;
158 template <
typename LatestRestoreJobCreationDateT = Aws::Utils::DateTime>
160 m_latestRestoreJobCreationDateHasBeenSet =
true;
161 m_latestRestoreJobCreationDate = std::forward<LatestRestoreJobCreationDateT>(value);
163 template <
typename LatestRestoreJobCreationDateT = Aws::Utils::DateTime>
175 template <
typename LatestRestoreRecoveryPo
intCreationDateT = Aws::Utils::DateTime>
177 m_latestRestoreRecoveryPointCreationDateHasBeenSet =
true;
178 m_latestRestoreRecoveryPointCreationDate = std::forward<LatestRestoreRecoveryPointCreationDateT>(value);
180 template <
typename LatestRestoreRecoveryPo
intCreationDateT = Aws::Utils::DateTime>
190 template <
typename RequestIdT = Aws::String>
192 m_requestIdHasBeenSet =
true;
193 m_requestId = std::forward<RequestIdT>(value);
195 template <
typename RequestIdT = Aws::String>
214 long long m_latestRestoreExecutionTimeMinutes{0};
221 bool m_resourceArnHasBeenSet =
false;
222 bool m_resourceTypeHasBeenSet =
false;
223 bool m_lastBackupTimeHasBeenSet =
false;
224 bool m_resourceNameHasBeenSet =
false;
225 bool m_lastBackupVaultArnHasBeenSet =
false;
226 bool m_lastRecoveryPointArnHasBeenSet =
false;
227 bool m_latestRestoreExecutionTimeMinutesHasBeenSet =
false;
228 bool m_latestRestoreJobCreationDateHasBeenSet =
false;
229 bool m_latestRestoreRecoveryPointCreationDateHasBeenSet =
false;
230 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