7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/ArchiveRetention.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mailmanager/model/Tag.h>
14#include <aws/core/utils/UUID.h>
52 inline void SetArchiveName(
const char* value) { m_archiveNameHasBeenSet =
true; m_archiveName.assign(value); }
66 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
81 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
116 bool m_archiveNameHasBeenSet =
false;
119 bool m_clientTokenHasBeenSet =
false;
122 bool m_kmsKeyArnHasBeenSet =
false;
125 bool m_retentionHasBeenSet =
false;
128 bool m_tagsHasBeenSet =
false;
bool TagsHasBeenSet() const
CreateArchiveRequest & WithClientToken(const Aws::String &value)
CreateArchiveRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
CreateArchiveRequest & WithKmsKeyArn(const Aws::String &value)
CreateArchiveRequest & WithArchiveName(const Aws::String &value)
void SetRetention(const ArchiveRetention &value)
void SetKmsKeyArn(Aws::String &&value)
void SetKmsKeyArn(const char *value)
CreateArchiveRequest & WithKmsKeyArn(Aws::String &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(Aws::Vector< Tag > &&value)
void SetArchiveName(Aws::String &&value)
void SetClientToken(Aws::String &&value)
CreateArchiveRequest & WithTags(const Aws::Vector< Tag > &value)
void SetKmsKeyArn(const Aws::String &value)
CreateArchiveRequest & AddTags(Tag &&value)
CreateArchiveRequest & WithRetention(ArchiveRetention &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetKmsKeyArn() const
void SetArchiveName(const char *value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetArchiveName() const
bool RetentionHasBeenSet() const
const Aws::String & GetClientToken() const
CreateArchiveRequest & WithKmsKeyArn(const char *value)
void SetArchiveName(const Aws::String &value)
AWS_MAILMANAGER_API CreateArchiveRequest()
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
CreateArchiveRequest & AddTags(const Tag &value)
CreateArchiveRequest & WithRetention(const ArchiveRetention &value)
CreateArchiveRequest & WithTags(Aws::Vector< Tag > &&value)
void SetClientToken(const char *value)
CreateArchiveRequest & WithArchiveName(const char *value)
CreateArchiveRequest & WithArchiveName(Aws::String &&value)
bool KmsKeyArnHasBeenSet() const
bool ArchiveNameHasBeenSet() const
void SetClientToken(const Aws::String &value)
CreateArchiveRequest & WithClientToken(Aws::String &&value)
const ArchiveRetention & GetRetention() const
void SetRetention(ArchiveRetention &&value)
bool ClientTokenHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector