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); }
82 inline void SetLegalHoldId(
const char* value) { m_legalHoldId.assign(value); }
129 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreateLegalHoldResult & WithLegalHoldId(Aws::String &&value)
void SetTitle(Aws::String &&value)
void SetStatus(const LegalHoldStatus &value)
const Aws::String & GetTitle() const
void SetDescription(const char *value)
void SetLegalHoldId(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_BACKUP_API CreateLegalHoldResult()
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetCreationDate(const Aws::Utils::DateTime &value)
CreateLegalHoldResult & WithRequestId(const Aws::String &value)
CreateLegalHoldResult & WithStatus(LegalHoldStatus &&value)
void SetDescription(Aws::String &&value)
void SetLegalHoldArn(const Aws::String &value)
void SetStatus(LegalHoldStatus &&value)
CreateLegalHoldResult & WithCreationDate(Aws::Utils::DateTime &&value)
CreateLegalHoldResult & WithLegalHoldId(const char *value)
CreateLegalHoldResult & WithDescription(const char *value)
CreateLegalHoldResult & WithRecoveryPointSelection(RecoveryPointSelection &&value)
const 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
CreateLegalHoldResult & WithDescription(Aws::String &&value)
CreateLegalHoldResult & WithLegalHoldArn(const Aws::String &value)
void SetRecoveryPointSelection(const RecoveryPointSelection &value)
void SetRequestId(const char *value)
CreateLegalHoldResult & WithLegalHoldArn(Aws::String &&value)
CreateLegalHoldResult & WithCreationDate(const Aws::Utils::DateTime &value)
void SetRecoveryPointSelection(RecoveryPointSelection &&value)
const Aws::String & GetLegalHoldId() const
CreateLegalHoldResult & WithTitle(const char *value)
CreateLegalHoldResult & WithLegalHoldArn(const char *value)
void SetRequestId(const Aws::String &value)
void SetLegalHoldId(const char *value)
void SetLegalHoldArn(const char *value)
CreateLegalHoldResult & WithStatus(const LegalHoldStatus &value)
void SetTitle(const char *value)
AWS_BACKUP_API CreateLegalHoldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLegalHoldResult & WithRecoveryPointSelection(const RecoveryPointSelection &value)
CreateLegalHoldResult & WithLegalHoldId(const Aws::String &value)
void SetLegalHoldId(const Aws::String &value)
CreateLegalHoldResult & WithTitle(Aws::String &&value)
void SetLegalHoldArn(Aws::String &&value)
const RecoveryPointSelection & GetRecoveryPointSelection() const
CreateLegalHoldResult & WithRequestId(Aws::String &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetTitle(const Aws::String &value)
CreateLegalHoldResult & WithTitle(const Aws::String &value)
const Aws::String & GetLegalHoldArn() const
CreateLegalHoldResult & WithRequestId(const char *value)
CreateLegalHoldResult & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue