7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/LegalHoldStatus.h>
9#include <aws/backup/model/RecoveryPointSelection.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename TitleT = Aws::String>
40 m_titleHasBeenSet =
true;
41 m_title = std::forward<TitleT>(value);
43 template <
typename TitleT = Aws::String>
45 SetTitle(std::forward<TitleT>(value));
56 m_statusHasBeenSet =
true;
70 template <
typename DescriptionT = Aws::String>
72 m_descriptionHasBeenSet =
true;
73 m_description = std::forward<DescriptionT>(value);
75 template <
typename DescriptionT = Aws::String>
87 template <
typename CancelDescriptionT = Aws::String>
89 m_cancelDescriptionHasBeenSet =
true;
90 m_cancelDescription = std::forward<CancelDescriptionT>(value);
92 template <
typename CancelDescriptionT = Aws::String>
104 template <
typename LegalHoldIdT = Aws::String>
106 m_legalHoldIdHasBeenSet =
true;
107 m_legalHoldId = std::forward<LegalHoldIdT>(value);
109 template <
typename LegalHoldIdT = Aws::String>
122 template <
typename LegalHoldArnT = Aws::String>
124 m_legalHoldArnHasBeenSet =
true;
125 m_legalHoldArn = std::forward<LegalHoldArnT>(value);
127 template <
typename LegalHoldArnT = Aws::String>
139 template <
typename CreationDateT = Aws::Utils::DateTime>
141 m_creationDateHasBeenSet =
true;
142 m_creationDate = std::forward<CreationDateT>(value);
144 template <
typename CreationDateT = Aws::Utils::DateTime>
156 template <
typename CancellationDateT = Aws::Utils::DateTime>
158 m_cancellationDateHasBeenSet =
true;
159 m_cancellationDate = std::forward<CancellationDateT>(value);
161 template <
typename CancellationDateT = Aws::Utils::DateTime>
173 template <
typename RetainRecordUntilT = Aws::Utils::DateTime>
175 m_retainRecordUntilHasBeenSet =
true;
176 m_retainRecordUntil = std::forward<RetainRecordUntilT>(value);
178 template <
typename RetainRecordUntilT = Aws::Utils::DateTime>
191 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
193 m_recoveryPointSelectionHasBeenSet =
true;
194 m_recoveryPointSelection = std::forward<RecoveryPointSelectionT>(value);
196 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
206 template <
typename RequestIdT = Aws::String>
208 m_requestIdHasBeenSet =
true;
209 m_requestId = std::forward<RequestIdT>(value);
211 template <
typename RequestIdT = Aws::String>
238 RecoveryPointSelection m_recoveryPointSelection;
242 bool m_titleHasBeenSet =
false;
243 bool m_statusHasBeenSet =
false;
244 bool m_descriptionHasBeenSet =
false;
245 bool m_cancelDescriptionHasBeenSet =
false;
246 bool m_legalHoldIdHasBeenSet =
false;
247 bool m_legalHoldArnHasBeenSet =
false;
248 bool m_creationDateHasBeenSet =
false;
249 bool m_cancellationDateHasBeenSet =
false;
250 bool m_retainRecordUntilHasBeenSet =
false;
251 bool m_recoveryPointSelectionHasBeenSet =
false;
252 bool m_requestIdHasBeenSet =
false;
GetLegalHoldResult & WithStatus(LegalHoldStatus value)
GetLegalHoldResult & WithCreationDate(CreationDateT &&value)
void SetStatus(LegalHoldStatus value)
void SetLegalHoldId(LegalHoldIdT &&value)
GetLegalHoldResult & WithTitle(TitleT &&value)
const Aws::String & GetLegalHoldArn() const
void SetCreationDate(CreationDateT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
const RecoveryPointSelection & GetRecoveryPointSelection() const
GetLegalHoldResult & WithRecoveryPointSelection(RecoveryPointSelectionT &&value)
const Aws::String & GetLegalHoldId() const
const Aws::String & GetTitle() const
const Aws::String & GetCancelDescription() const
void SetRetainRecordUntil(RetainRecordUntilT &&value)
const Aws::Utils::DateTime & GetCancellationDate() const
GetLegalHoldResult & WithCancellationDate(CancellationDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDescription(DescriptionT &&value)
void SetRequestId(RequestIdT &&value)
LegalHoldStatus GetStatus() const
GetLegalHoldResult & WithRetainRecordUntil(RetainRecordUntilT &&value)
void SetCancelDescription(CancelDescriptionT &&value)
GetLegalHoldResult & WithCancelDescription(CancelDescriptionT &&value)
void SetLegalHoldArn(LegalHoldArnT &&value)
GetLegalHoldResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetRetainRecordUntil() const
GetLegalHoldResult & WithDescription(DescriptionT &&value)
AWS_BACKUP_API GetLegalHoldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLegalHoldResult & WithLegalHoldId(LegalHoldIdT &&value)
void SetCancellationDate(CancellationDateT &&value)
GetLegalHoldResult & WithLegalHoldArn(LegalHoldArnT &&value)
void SetRecoveryPointSelection(RecoveryPointSelectionT &&value)
void SetTitle(TitleT &&value)
AWS_BACKUP_API GetLegalHoldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
AWS_BACKUP_API GetLegalHoldResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue