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 LegalHoldIdT = Aws::String>
75 void SetLegalHoldId(LegalHoldIdT&& value) { m_legalHoldIdHasBeenSet =
true; m_legalHoldId = std::forward<LegalHoldIdT>(value); }
76 template<
typename LegalHoldIdT = Aws::String>
85 template<
typename LegalHoldArnT = Aws::String>
86 void SetLegalHoldArn(LegalHoldArnT&& value) { m_legalHoldArnHasBeenSet =
true; m_legalHoldArn = std::forward<LegalHoldArnT>(value); }
87 template<
typename LegalHoldArnT = Aws::String>
96 template<
typename CreationDateT = Aws::Utils::DateTime>
97 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
98 template<
typename CreationDateT = Aws::Utils::DateTime>
108 template<
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
109 void SetRecoveryPointSelection(RecoveryPointSelectionT&& value) { m_recoveryPointSelectionHasBeenSet =
true; m_recoveryPointSelection = std::forward<RecoveryPointSelectionT>(value); }
110 template<
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
117 template<
typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
119 template<
typename RequestIdT = Aws::String>
125 bool m_titleHasBeenSet =
false;
128 bool m_statusHasBeenSet =
false;
131 bool m_descriptionHasBeenSet =
false;
134 bool m_legalHoldIdHasBeenSet =
false;
137 bool m_legalHoldArnHasBeenSet =
false;
140 bool m_creationDateHasBeenSet =
false;
142 RecoveryPointSelection m_recoveryPointSelection;
143 bool m_recoveryPointSelectionHasBeenSet =
false;
146 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)
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