7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/ArchiveFilters.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
12#include <aws/mailmanager/model/ExportStatus.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
50 template<
typename ArchiveIdT = Aws::String>
51 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet =
true; m_archiveId = std::forward<ArchiveIdT>(value); }
52 template<
typename ArchiveIdT = Aws::String>
61 template<
typename FiltersT = ArchiveFilters>
62 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
63 template<
typename FiltersT = ArchiveFilters>
72 template<
typename FromTimestampT = Aws::Utils::DateTime>
73 void SetFromTimestamp(FromTimestampT&& value) { m_fromTimestampHasBeenSet =
true; m_fromTimestamp = std::forward<FromTimestampT>(value); }
74 template<
typename FromTimestampT = Aws::Utils::DateTime>
83 template<
typename ToTimestampT = Aws::Utils::DateTime>
84 void SetToTimestamp(ToTimestampT&& value) { m_toTimestampHasBeenSet =
true; m_toTimestamp = std::forward<ToTimestampT>(value); }
85 template<
typename ToTimestampT = Aws::Utils::DateTime>
94 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
103 template<
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
104 void SetExportDestinationConfiguration(ExportDestinationConfigurationT&& value) { m_exportDestinationConfigurationHasBeenSet =
true; m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value); }
105 template<
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
114 template<
typename StatusT = ExportStatus>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
116 template<
typename StatusT = ExportStatus>
123 template<
typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
125 template<
typename RequestIdT = Aws::String>
131 bool m_archiveIdHasBeenSet =
false;
134 bool m_filtersHasBeenSet =
false;
137 bool m_fromTimestampHasBeenSet =
false;
140 bool m_toTimestampHasBeenSet =
false;
143 bool m_maxResultsHasBeenSet =
false;
145 ExportDestinationConfiguration m_exportDestinationConfiguration;
146 bool m_exportDestinationConfigurationHasBeenSet =
false;
148 ExportStatus m_status;
149 bool m_statusHasBeenSet =
false;
152 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