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;
45 inline void SetTitle(
const char* value) { m_title.assign(value); }
69 inline void SetDescription(
const char* value) { m_description.assign(value); }
95 inline void SetLegalHoldId(
const char* value) { m_legalHoldId.assign(value); }
165 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetLegalHoldArn(const Aws::String &value)
void SetCancelDescription(const char *value)
void SetRequestId(const char *value)
const Aws::String & GetLegalHoldArn() const
void SetRecoveryPointSelection(RecoveryPointSelection &&value)
GetLegalHoldResult & WithCancellationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
GetLegalHoldResult & WithRetainRecordUntil(Aws::Utils::DateTime &&value)
GetLegalHoldResult & WithTitle(const char *value)
const RecoveryPointSelection & GetRecoveryPointSelection() const
GetLegalHoldResult & WithRetainRecordUntil(const Aws::Utils::DateTime &value)
void SetCancellationDate(Aws::Utils::DateTime &&value)
GetLegalHoldResult & WithDescription(const char *value)
const Aws::String & GetLegalHoldId() const
void SetLegalHoldId(Aws::String &&value)
const Aws::String & GetTitle() const
void SetRequestId(const Aws::String &value)
const Aws::String & GetCancelDescription() const
void SetRetainRecordUntil(Aws::Utils::DateTime &&value)
GetLegalHoldResult & WithLegalHoldArn(const char *value)
GetLegalHoldResult & WithRequestId(const char *value)
const LegalHoldStatus & GetStatus() const
GetLegalHoldResult & WithCancellationDate(Aws::Utils::DateTime &&value)
void SetStatus(LegalHoldStatus &&value)
const Aws::Utils::DateTime & GetCancellationDate() const
GetLegalHoldResult & WithRequestId(const Aws::String &value)
void SetLegalHoldId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetRecoveryPointSelection(const RecoveryPointSelection &value)
GetLegalHoldResult & WithTitle(const Aws::String &value)
GetLegalHoldResult & WithLegalHoldArn(Aws::String &&value)
GetLegalHoldResult & WithDescription(Aws::String &&value)
GetLegalHoldResult & WithTitle(Aws::String &&value)
void SetTitle(const char *value)
void SetTitle(const Aws::String &value)
GetLegalHoldResult & WithCancelDescription(const Aws::String &value)
void SetRetainRecordUntil(const Aws::Utils::DateTime &value)
GetLegalHoldResult & WithLegalHoldId(const Aws::String &value)
void SetStatus(const LegalHoldStatus &value)
void SetLegalHoldId(const char *value)
void SetCancelDescription(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetTitle(Aws::String &&value)
GetLegalHoldResult & WithLegalHoldId(Aws::String &&value)
void SetDescription(const char *value)
GetLegalHoldResult & WithCancelDescription(const char *value)
void SetLegalHoldArn(const char *value)
GetLegalHoldResult & WithRecoveryPointSelection(const RecoveryPointSelection &value)
void SetCancellationDate(const Aws::Utils::DateTime &value)
GetLegalHoldResult & WithStatus(const LegalHoldStatus &value)
GetLegalHoldResult & WithRecoveryPointSelection(RecoveryPointSelection &&value)
GetLegalHoldResult & WithDescription(const Aws::String &value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetRetainRecordUntil() const
GetLegalHoldResult & WithLegalHoldArn(const Aws::String &value)
AWS_BACKUP_API GetLegalHoldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLegalHoldArn(Aws::String &&value)
GetLegalHoldResult & WithStatus(LegalHoldStatus &&value)
GetLegalHoldResult & WithCancelDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
GetLegalHoldResult & WithLegalHoldId(const char *value)
void SetCancelDescription(Aws::String &&value)
AWS_BACKUP_API GetLegalHoldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
GetLegalHoldResult & WithRequestId(Aws::String &&value)
AWS_BACKUP_API GetLegalHoldResult()
void SetCreationDate(Aws::Utils::DateTime &&value)
GetLegalHoldResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetLegalHoldResult & WithCreationDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue