7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/LegalHoldStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/backup/model/RecoveryPointSelection.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename TitleT = Aws::String>
44 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
45 template<
typename TitleT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
74 template<
typename CancelDescriptionT = Aws::String>
75 void SetCancelDescription(CancelDescriptionT&& value) { m_cancelDescriptionHasBeenSet =
true; m_cancelDescription = std::forward<CancelDescriptionT>(value); }
76 template<
typename CancelDescriptionT = Aws::String>
85 template<
typename LegalHoldIdT = Aws::String>
86 void SetLegalHoldId(LegalHoldIdT&& value) { m_legalHoldIdHasBeenSet =
true; m_legalHoldId = std::forward<LegalHoldIdT>(value); }
87 template<
typename LegalHoldIdT = Aws::String>
97 template<
typename LegalHoldArnT = Aws::String>
98 void SetLegalHoldArn(LegalHoldArnT&& value) { m_legalHoldArnHasBeenSet =
true; m_legalHoldArn = std::forward<LegalHoldArnT>(value); }
99 template<
typename LegalHoldArnT = Aws::String>
108 template<
typename CreationDateT = Aws::Utils::DateTime>
109 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
110 template<
typename CreationDateT = Aws::Utils::DateTime>
119 template<
typename CancellationDateT = Aws::Utils::DateTime>
120 void SetCancellationDate(CancellationDateT&& value) { m_cancellationDateHasBeenSet =
true; m_cancellationDate = std::forward<CancellationDateT>(value); }
121 template<
typename CancellationDateT = Aws::Utils::DateTime>
130 template<
typename RetainRecordUntilT = Aws::Utils::DateTime>
131 void SetRetainRecordUntil(RetainRecordUntilT&& value) { m_retainRecordUntilHasBeenSet =
true; m_retainRecordUntil = std::forward<RetainRecordUntilT>(value); }
132 template<
typename RetainRecordUntilT = Aws::Utils::DateTime>
142 template<
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
143 void SetRecoveryPointSelection(RecoveryPointSelectionT&& value) { m_recoveryPointSelectionHasBeenSet =
true; m_recoveryPointSelection = std::forward<RecoveryPointSelectionT>(value); }
144 template<
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
151 template<
typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
153 template<
typename RequestIdT = Aws::String>
159 bool m_titleHasBeenSet =
false;
162 bool m_statusHasBeenSet =
false;
165 bool m_descriptionHasBeenSet =
false;
168 bool m_cancelDescriptionHasBeenSet =
false;
171 bool m_legalHoldIdHasBeenSet =
false;
174 bool m_legalHoldArnHasBeenSet =
false;
177 bool m_creationDateHasBeenSet =
false;
180 bool m_cancellationDateHasBeenSet =
false;
183 bool m_retainRecordUntilHasBeenSet =
false;
185 RecoveryPointSelection m_recoveryPointSelection;
186 bool m_recoveryPointSelectionHasBeenSet =
false;
189 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)
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