7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ArchiveFilters.h>
11#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
12#include <aws/mailmanager/model/ExportStatus.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace MailManager {
44 template <
typename ArchiveIdT = Aws::String>
46 m_archiveIdHasBeenSet =
true;
47 m_archiveId = std::forward<ArchiveIdT>(value);
49 template <
typename ArchiveIdT = Aws::String>
61 template <
typename FiltersT = ArchiveFilters>
63 m_filtersHasBeenSet =
true;
64 m_filters = std::forward<FiltersT>(value);
66 template <
typename FiltersT = ArchiveFilters>
78 template <
typename FromTimestampT = Aws::Utils::DateTime>
80 m_fromTimestampHasBeenSet =
true;
81 m_fromTimestamp = std::forward<FromTimestampT>(value);
83 template <
typename FromTimestampT = Aws::Utils::DateTime>
95 template <
typename ToTimestampT = Aws::Utils::DateTime>
97 m_toTimestampHasBeenSet =
true;
98 m_toTimestamp = std::forward<ToTimestampT>(value);
100 template <
typename ToTimestampT = Aws::Utils::DateTime>
113 m_maxResultsHasBeenSet =
true;
114 m_maxResults = value;
127 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
129 m_exportDestinationConfigurationHasBeenSet =
true;
130 m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value);
132 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
144 template <
typename StatusT = ExportStatus>
146 m_statusHasBeenSet =
true;
147 m_status = std::forward<StatusT>(value);
149 template <
typename StatusT = ExportStatus>
159 template <
typename RequestIdT = Aws::String>
161 m_requestIdHasBeenSet =
true;
162 m_requestId = std::forward<RequestIdT>(value);
164 template <
typename RequestIdT = Aws::String>
181 ExportDestinationConfiguration m_exportDestinationConfiguration;
183 ExportStatus m_status;
186 bool m_archiveIdHasBeenSet =
false;
187 bool m_filtersHasBeenSet =
false;
188 bool m_fromTimestampHasBeenSet =
false;
189 bool m_toTimestampHasBeenSet =
false;
190 bool m_maxResultsHasBeenSet =
false;
191 bool m_exportDestinationConfigurationHasBeenSet =
false;
192 bool m_statusHasBeenSet =
false;
193 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetToTimestamp() const
const Aws::String & GetArchiveId() const
const ExportStatus & GetStatus() const
GetArchiveExportResult & WithRequestId(RequestIdT &&value)
GetArchiveExportResult & WithToTimestamp(ToTimestampT &&value)
void SetRequestId(RequestIdT &&value)
void SetToTimestamp(ToTimestampT &&value)
GetArchiveExportResult & WithFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API GetArchiveExportResult()=default
GetArchiveExportResult & WithMaxResults(int value)
int GetMaxResults() const
GetArchiveExportResult & WithArchiveId(ArchiveIdT &&value)
void SetExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
void SetArchiveId(ArchiveIdT &&value)
void SetMaxResults(int value)
const ArchiveFilters & GetFilters() const
GetArchiveExportResult & WithFilters(FiltersT &&value)
GetArchiveExportResult & WithExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
void SetFilters(FiltersT &&value)
GetArchiveExportResult & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
const ExportDestinationConfiguration & GetExportDestinationConfiguration() const
const Aws::Utils::DateTime & GetFromTimestamp() const
const Aws::String & GetRequestId() const
AWS_MAILMANAGER_API GetArchiveExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API GetArchiveExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue