7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/ArchiveState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mailmanager/model/ArchiveRetention.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
51 inline void SetArchiveArn(
const char* value) { m_archiveArn.assign(value); }
64 inline void SetArchiveId(
const char* value) { m_archiveId.assign(value); }
77 inline void SetArchiveName(
const char* value) { m_archiveName.assign(value); }
117 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArn.assign(value); }
150 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetRequestId(const Aws::String &value)
GetArchiveResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetArchiveResult & WithArchiveId(Aws::String &&value)
GetArchiveResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRetention(const ArchiveRetention &value)
GetArchiveResult & WithRetention(ArchiveRetention &&value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetArchiveResult & WithArchiveArn(const Aws::String &value)
void SetKmsKeyArn(const Aws::String &value)
const ArchiveRetention & GetRetention() const
void SetArchiveArn(Aws::String &&value)
GetArchiveResult & WithArchiveArn(const char *value)
GetArchiveResult & WithArchiveState(ArchiveState &&value)
void SetArchiveArn(const Aws::String &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetArchiveResult & WithArchiveId(const Aws::String &value)
void SetRequestId(const char *value)
const Aws::String & GetArchiveId() const
void SetArchiveId(const char *value)
GetArchiveResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetArchiveResult & WithArchiveName(const char *value)
GetArchiveResult & WithKmsKeyArn(const char *value)
const Aws::String & GetArchiveArn() const
GetArchiveResult & WithKmsKeyArn(const Aws::String &value)
const ArchiveState & GetArchiveState() const
GetArchiveResult & WithArchiveId(const char *value)
void SetArchiveState(const ArchiveState &value)
const Aws::String & GetArchiveName() const
void SetKmsKeyArn(Aws::String &&value)
void SetArchiveState(ArchiveState &&value)
void SetArchiveId(Aws::String &&value)
GetArchiveResult & WithKmsKeyArn(Aws::String &&value)
GetArchiveResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetArchiveName(const char *value)
void SetArchiveId(const Aws::String &value)
GetArchiveResult & WithRetention(const ArchiveRetention &value)
void SetArchiveName(Aws::String &&value)
AWS_MAILMANAGER_API GetArchiveResult()
void SetKmsKeyArn(const char *value)
AWS_MAILMANAGER_API GetArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveResult & WithArchiveState(const ArchiveState &value)
GetArchiveResult & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetRetention(ArchiveRetention &&value)
AWS_MAILMANAGER_API GetArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArchiveName(const Aws::String &value)
GetArchiveResult & WithRequestId(Aws::String &&value)
void SetArchiveArn(const char *value)
GetArchiveResult & WithArchiveName(Aws::String &&value)
GetArchiveResult & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetArchiveResult & WithArchiveName(const Aws::String &value)
GetArchiveResult & WithArchiveArn(Aws::String &&value)
const Aws::String & GetKmsKeyArn() const
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue