7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup/model/RecoveryPointSelection.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
45 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
59 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetIdempotencyToken(
const char* value) { m_idempotencyTokenHasBeenSet =
true; m_idempotencyToken.assign(value); }
117 bool m_titleHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
123 bool m_idempotencyTokenHasBeenSet =
false;
126 bool m_recoveryPointSelectionHasBeenSet =
false;
129 bool m_tagsHasBeenSet =
false;
CreateLegalHoldRequest & AddTags(const char *key, const char *value)
CreateLegalHoldRequest & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetDescription() const
AWS_BACKUP_API CreateLegalHoldRequest()
void SetDescription(const char *value)
void SetIdempotencyToken(const char *value)
virtual const char * GetServiceRequestName() const override
CreateLegalHoldRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLegalHoldRequest & WithTitle(Aws::String &&value)
bool DescriptionHasBeenSet() const
bool TitleHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateLegalHoldRequest & WithRecoveryPointSelection(const RecoveryPointSelection &value)
CreateLegalHoldRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::String & GetTitle() const
void SetTitle(const char *value)
bool RecoveryPointSelectionHasBeenSet() const
CreateLegalHoldRequest & WithIdempotencyToken(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLegalHoldRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTitle(const Aws::String &value)
CreateLegalHoldRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLegalHoldRequest & WithIdempotencyToken(const char *value)
CreateLegalHoldRequest & WithDescription(Aws::String &&value)
CreateLegalHoldRequest & WithRecoveryPointSelection(RecoveryPointSelection &&value)
CreateLegalHoldRequest & AddTags(const char *key, Aws::String &&value)
void SetIdempotencyToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const RecoveryPointSelection & GetRecoveryPointSelection() const
AWS_BACKUP_API Aws::String SerializePayload() const override
CreateLegalHoldRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetIdempotencyToken(Aws::String &&value)
CreateLegalHoldRequest & WithTitle(const char *value)
void SetDescription(Aws::String &&value)
const Aws::String & GetIdempotencyToken() const
void SetRecoveryPointSelection(const RecoveryPointSelection &value)
bool IdempotencyTokenHasBeenSet() const
CreateLegalHoldRequest & AddTags(Aws::String &&key, const char *value)
CreateLegalHoldRequest & WithDescription(const char *value)
void SetRecoveryPointSelection(RecoveryPointSelection &&value)
CreateLegalHoldRequest & WithIdempotencyToken(const Aws::String &value)
CreateLegalHoldRequest & WithTitle(const Aws::String &value)
bool TagsHasBeenSet() const
void SetTitle(Aws::String &&value)
CreateLegalHoldRequest & WithDescription(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String