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>
54 template<
typename TitleT = Aws::String>
55 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
56 template<
typename TitleT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename LegalHoldIdT = Aws::String>
89 void SetLegalHoldId(LegalHoldIdT&& value) { m_legalHoldIdHasBeenSet =
true; m_legalHoldId = std::forward<LegalHoldIdT>(value); }
90 template<
typename LegalHoldIdT = Aws::String>
101 template<
typename LegalHoldArnT = Aws::String>
102 void SetLegalHoldArn(LegalHoldArnT&& value) { m_legalHoldArnHasBeenSet =
true; m_legalHoldArn = std::forward<LegalHoldArnT>(value); }
103 template<
typename LegalHoldArnT = Aws::String>
113 template<
typename CreationDateT = Aws::Utils::DateTime>
114 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
115 template<
typename CreationDateT = Aws::Utils::DateTime>
125 template<
typename CancellationDateT = Aws::Utils::DateTime>
126 void SetCancellationDate(CancellationDateT&& value) { m_cancellationDateHasBeenSet =
true; m_cancellationDate = std::forward<CancellationDateT>(value); }
127 template<
typename CancellationDateT = Aws::Utils::DateTime>
133 bool m_titleHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
139 bool m_descriptionHasBeenSet =
false;
142 bool m_legalHoldIdHasBeenSet =
false;
145 bool m_legalHoldArnHasBeenSet =
false;
148 bool m_creationDateHasBeenSet =
false;
151 bool m_cancellationDateHasBeenSet =
false;
const Aws::String & GetTitle() const
bool CancellationDateHasBeenSet() const
bool LegalHoldIdHasBeenSet() const
LegalHold & WithLegalHoldArn(LegalHoldArnT &&value)
bool StatusHasBeenSet() const
void SetTitle(TitleT &&value)
LegalHold & WithDescription(DescriptionT &&value)
LegalHold & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
AWS_BACKUP_API LegalHold(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
LegalHold & WithCancellationDate(CancellationDateT &&value)
const Aws::String & GetLegalHoldArn() const
void SetDescription(DescriptionT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
LegalHold & WithLegalHoldId(LegalHoldIdT &&value)
void SetLegalHoldId(LegalHoldIdT &&value)
void SetStatus(LegalHoldStatus value)
LegalHoldStatus GetStatus() const
LegalHold & WithStatus(LegalHoldStatus value)
void SetLegalHoldArn(LegalHoldArnT &&value)
const Aws::Utils::DateTime & GetCancellationDate() const
bool CreationDateHasBeenSet() const
AWS_BACKUP_API LegalHold & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
AWS_BACKUP_API LegalHold()=default
bool LegalHoldArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetLegalHoldId() const
LegalHold & WithTitle(TitleT &&value)
bool TitleHasBeenSet() const
void SetCancellationDate(CancellationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue