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>
56 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
96 inline void SetLegalHoldId(
const char* value) { m_legalHoldIdHasBeenSet =
true; m_legalHoldId.assign(value); }
111 inline void SetLegalHoldArn(
const char* value) { m_legalHoldArnHasBeenSet =
true; m_legalHoldArn.assign(value); }
143 bool m_titleHasBeenSet =
false;
146 bool m_statusHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
152 bool m_legalHoldIdHasBeenSet =
false;
155 bool m_legalHoldArnHasBeenSet =
false;
158 bool m_creationDateHasBeenSet =
false;
161 bool m_cancellationDateHasBeenSet =
false;
const Aws::String & GetTitle() const
LegalHold & WithStatus(const LegalHoldStatus &value)
LegalHold & WithDescription(Aws::String &&value)
const LegalHoldStatus & GetStatus() const
bool CancellationDateHasBeenSet() const
void SetTitle(const char *value)
LegalHold & WithLegalHoldId(Aws::String &&value)
bool LegalHoldIdHasBeenSet() const
bool StatusHasBeenSet() const
void SetLegalHoldArn(const Aws::String &value)
void SetTitle(Aws::String &&value)
void SetStatus(const LegalHoldStatus &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
LegalHold & WithTitle(Aws::String &&value)
LegalHold & WithLegalHoldArn(Aws::String &&value)
AWS_BACKUP_API LegalHold(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(LegalHoldStatus &&value)
void SetCancellationDate(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
LegalHold & WithLegalHoldArn(const Aws::String &value)
const Aws::String & GetLegalHoldArn() const
LegalHold & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
LegalHold & WithLegalHoldId(const char *value)
void SetLegalHoldId(Aws::String &&value)
LegalHold & WithLegalHoldArn(const char *value)
void SetCancellationDate(Aws::Utils::DateTime &&value)
LegalHold & WithCancellationDate(Aws::Utils::DateTime &&value)
LegalHold & WithLegalHoldId(const Aws::String &value)
LegalHold & WithDescription(const char *value)
LegalHold & WithCancellationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetLegalHoldId(const Aws::String &value)
void SetLegalHoldId(const char *value)
LegalHold & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCancellationDate() const
bool CreationDateHasBeenSet() const
AWS_BACKUP_API LegalHold()
void SetTitle(const Aws::String &value)
LegalHold & WithTitle(const char *value)
AWS_BACKUP_API LegalHold & operator=(Aws::Utils::Json::JsonView jsonValue)
LegalHold & WithCreationDate(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetLegalHoldArn(Aws::String &&value)
bool LegalHoldArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetLegalHoldId() const
bool TitleHasBeenSet() const
LegalHold & WithStatus(LegalHoldStatus &&value)
LegalHold & WithTitle(const Aws::String &value)
void SetLegalHoldArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue