7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/LegalHoldStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
48 template <
typename TitleT = Aws::String>
50 m_titleHasBeenSet =
true;
51 m_title = std::forward<TitleT>(value);
53 template <
typename TitleT = Aws::String>
55 SetTitle(std::forward<TitleT>(value));
67 m_statusHasBeenSet =
true;
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
100 template <
typename LegalHoldIdT = Aws::String>
102 m_legalHoldIdHasBeenSet =
true;
103 m_legalHoldId = std::forward<LegalHoldIdT>(value);
105 template <
typename LegalHoldIdT = Aws::String>
119 template <
typename LegalHoldArnT = Aws::String>
121 m_legalHoldArnHasBeenSet =
true;
122 m_legalHoldArn = std::forward<LegalHoldArnT>(value);
124 template <
typename LegalHoldArnT = Aws::String>
137 template <
typename CreationDateT = Aws::Utils::DateTime>
139 m_creationDateHasBeenSet =
true;
140 m_creationDate = std::forward<CreationDateT>(value);
142 template <
typename CreationDateT = Aws::Utils::DateTime>
155 template <
typename CancellationDateT = Aws::Utils::DateTime>
157 m_cancellationDateHasBeenSet =
true;
158 m_cancellationDate = std::forward<CancellationDateT>(value);
160 template <
typename CancellationDateT = Aws::Utils::DateTime>
180 bool m_titleHasBeenSet =
false;
181 bool m_statusHasBeenSet =
false;
182 bool m_descriptionHasBeenSet =
false;
183 bool m_legalHoldIdHasBeenSet =
false;
184 bool m_legalHoldArnHasBeenSet =
false;
185 bool m_creationDateHasBeenSet =
false;
186 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