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>
50 inline void SetArchiveId(
const char* value) { m_archiveIdHasBeenSet =
true; m_archiveId.assign(value); }
64 inline void SetArchiveName(
const char* value) { m_archiveNameHasBeenSet =
true; m_archiveName.assign(value); }
84 bool m_archiveIdHasBeenSet =
false;
87 bool m_archiveNameHasBeenSet =
false;
90 bool m_retentionHasBeenSet =
false;
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetArchiveId(const char *value)
UpdateArchiveRequest & WithArchiveId(Aws::String &&value)
const ArchiveRetention & GetRetention() const
UpdateArchiveRequest & WithRetention(ArchiveRetention &&value)
AWS_MAILMANAGER_API UpdateArchiveRequest()
virtual const char * GetServiceRequestName() const override
void SetArchiveName(Aws::String &&value)
void SetArchiveName(const char *value)
UpdateArchiveRequest & WithArchiveName(const Aws::String &value)
UpdateArchiveRequest & WithArchiveName(const char *value)
void SetArchiveId(const Aws::String &value)
void SetArchiveId(Aws::String &&value)
const Aws::String & GetArchiveName() const
bool ArchiveNameHasBeenSet() const
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
UpdateArchiveRequest & WithRetention(const ArchiveRetention &value)
UpdateArchiveRequest & WithArchiveId(const Aws::String &value)
void SetRetention(const ArchiveRetention &value)
UpdateArchiveRequest & WithArchiveName(Aws::String &&value)
bool ArchiveIdHasBeenSet() const
void SetArchiveName(const Aws::String &value)
UpdateArchiveRequest & WithArchiveId(const char *value)
void SetRetention(ArchiveRetention &&value)
const Aws::String & GetArchiveId() const
bool RetentionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String