7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/ArchiveFilters.h>
12#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
13#include <aws/mailmanager/model/ExportStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace MailManager {
45 template <
typename ArchiveIdT = Aws::String>
47 m_archiveIdHasBeenSet =
true;
48 m_archiveId = std::forward<ArchiveIdT>(value);
50 template <
typename ArchiveIdT = Aws::String>
62 template <
typename FiltersT = ArchiveFilters>
64 m_filtersHasBeenSet =
true;
65 m_filters = std::forward<FiltersT>(value);
67 template <
typename FiltersT = ArchiveFilters>
79 template <
typename FromTimestampT = Aws::Utils::DateTime>
81 m_fromTimestampHasBeenSet =
true;
82 m_fromTimestamp = std::forward<FromTimestampT>(value);
84 template <
typename FromTimestampT = Aws::Utils::DateTime>
96 template <
typename ToTimestampT = Aws::Utils::DateTime>
98 m_toTimestampHasBeenSet =
true;
99 m_toTimestamp = std::forward<ToTimestampT>(value);
101 template <
typename ToTimestampT = Aws::Utils::DateTime>
114 m_maxResultsHasBeenSet =
true;
115 m_maxResults = value;
128 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
130 m_exportDestinationConfigurationHasBeenSet =
true;
131 m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value);
133 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
145 template <
typename StatusT = ExportStatus>
147 m_statusHasBeenSet =
true;
148 m_status = std::forward<StatusT>(value);
150 template <
typename StatusT = ExportStatus>
160 template <
typename RequestIdT = Aws::String>
162 m_requestIdHasBeenSet =
true;
163 m_requestId = std::forward<RequestIdT>(value);
165 template <
typename RequestIdT = Aws::String>
184 ExportDestinationConfiguration m_exportDestinationConfiguration;
186 ExportStatus m_status;
190 bool m_archiveIdHasBeenSet =
false;
191 bool m_filtersHasBeenSet =
false;
192 bool m_fromTimestampHasBeenSet =
false;
193 bool m_toTimestampHasBeenSet =
false;
194 bool m_maxResultsHasBeenSet =
false;
195 bool m_exportDestinationConfigurationHasBeenSet =
false;
196 bool m_statusHasBeenSet =
false;
197 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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