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 LegalHoldIdT = Aws::String>
89 m_legalHoldIdHasBeenSet =
true;
90 m_legalHoldId = std::forward<LegalHoldIdT>(value);
92 template <
typename LegalHoldIdT = Aws::String>
104 template <
typename LegalHoldArnT = Aws::String>
106 m_legalHoldArnHasBeenSet =
true;
107 m_legalHoldArn = std::forward<LegalHoldArnT>(value);
109 template <
typename LegalHoldArnT = Aws::String>
121 template <
typename CreationDateT = Aws::Utils::DateTime>
123 m_creationDateHasBeenSet =
true;
124 m_creationDate = std::forward<CreationDateT>(value);
126 template <
typename CreationDateT = Aws::Utils::DateTime>
139 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
141 m_recoveryPointSelectionHasBeenSet =
true;
142 m_recoveryPointSelection = std::forward<RecoveryPointSelectionT>(value);
144 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
154 template <
typename RequestIdT = Aws::String>
156 m_requestIdHasBeenSet =
true;
157 m_requestId = std::forward<RequestIdT>(value);
159 template <
typename RequestIdT = Aws::String>
180 RecoveryPointSelection m_recoveryPointSelection;
184 bool m_titleHasBeenSet =
false;
185 bool m_statusHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
187 bool m_legalHoldIdHasBeenSet =
false;
188 bool m_legalHoldArnHasBeenSet =
false;
189 bool m_creationDateHasBeenSet =
false;
190 bool m_recoveryPointSelectionHasBeenSet =
false;
191 bool m_requestIdHasBeenSet =
false;
void SetStatus(LegalHoldStatus value)
void SetTitle(TitleT &&value)
CreateLegalHoldResult & WithLegalHoldId(LegalHoldIdT &&value)
const Aws::String & GetTitle() const
void SetLegalHoldId(LegalHoldIdT &&value)
AWS_BACKUP_API CreateLegalHoldResult()=default
CreateLegalHoldResult & WithDescription(DescriptionT &&value)
void SetRecoveryPointSelection(RecoveryPointSelectionT &&value)
const Aws::String & GetRequestId() const
void SetCreationDate(CreationDateT &&value)
void SetLegalHoldArn(LegalHoldArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateLegalHoldResult & WithTitle(TitleT &&value)
CreateLegalHoldResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
CreateLegalHoldResult & WithLegalHoldArn(LegalHoldArnT &&value)
CreateLegalHoldResult & WithStatus(LegalHoldStatus value)
LegalHoldStatus GetStatus() const
AWS_BACKUP_API CreateLegalHoldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetDescription() const
const Aws::String & GetLegalHoldId() const
AWS_BACKUP_API CreateLegalHoldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const RecoveryPointSelection & GetRecoveryPointSelection() const
CreateLegalHoldResult & WithCreationDate(CreationDateT &&value)
const Aws::String & GetLegalHoldArn() const
void SetDescription(DescriptionT &&value)
CreateLegalHoldResult & WithRecoveryPointSelection(RecoveryPointSelectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue