7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManagerRequest.h>
10#include <aws/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/ArchiveFilters.h>
12#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
17namespace MailManager {
46 template <
typename ArchiveIdT = Aws::String>
48 m_archiveIdHasBeenSet =
true;
49 m_archiveId = std::forward<ArchiveIdT>(value);
51 template <
typename ArchiveIdT = Aws::String>
64 template <
typename FiltersT = ArchiveFilters>
66 m_filtersHasBeenSet =
true;
67 m_filters = std::forward<FiltersT>(value);
69 template <
typename FiltersT = ArchiveFilters>
82 template <
typename FromTimestampT = Aws::Utils::DateTime>
84 m_fromTimestampHasBeenSet =
true;
85 m_fromTimestamp = std::forward<FromTimestampT>(value);
87 template <
typename FromTimestampT = Aws::Utils::DateTime>
100 template <
typename ToTimestampT = Aws::Utils::DateTime>
102 m_toTimestampHasBeenSet =
true;
103 m_toTimestamp = std::forward<ToTimestampT>(value);
105 template <
typename ToTimestampT = Aws::Utils::DateTime>
119 m_maxResultsHasBeenSet =
true;
120 m_maxResults = value;
134 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
136 m_exportDestinationConfigurationHasBeenSet =
true;
137 m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value);
139 template <
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
153 m_includeMetadataHasBeenSet =
true;
154 m_includeMetadata = value;
172 ExportDestinationConfiguration m_exportDestinationConfiguration;
174 bool m_includeMetadata{
false};
175 bool m_archiveIdHasBeenSet =
false;
176 bool m_filtersHasBeenSet =
false;
177 bool m_fromTimestampHasBeenSet =
false;
178 bool m_toTimestampHasBeenSet =
false;
179 bool m_maxResultsHasBeenSet =
false;
180 bool m_exportDestinationConfigurationHasBeenSet =
false;
181 bool m_includeMetadataHasBeenSet =
false;
StartArchiveExportRequest & WithFilters(FiltersT &&value)
bool ArchiveIdHasBeenSet() const
bool FromTimestampHasBeenSet() const
void SetFromTimestamp(FromTimestampT &&value)
bool IncludeMetadataHasBeenSet() const
void SetMaxResults(int value)
const Aws::String & GetArchiveId() const
StartArchiveExportRequest & WithIncludeMetadata(bool value)
void SetArchiveId(ArchiveIdT &&value)
AWS_MAILMANAGER_API StartArchiveExportRequest()=default
bool GetIncludeMetadata() const
void SetToTimestamp(ToTimestampT &&value)
StartArchiveExportRequest & WithToTimestamp(ToTimestampT &&value)
StartArchiveExportRequest & WithMaxResults(int value)
void SetExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
StartArchiveExportRequest & WithExportDestinationConfiguration(ExportDestinationConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
int GetMaxResults() const
bool MaxResultsHasBeenSet() const
bool FiltersHasBeenSet() const
bool ToTimestampHasBeenSet() const
const ExportDestinationConfiguration & GetExportDestinationConfiguration() const
bool ExportDestinationConfigurationHasBeenSet() const
StartArchiveExportRequest & WithArchiveId(ArchiveIdT &&value)
const ArchiveFilters & GetFilters() const
const Aws::Utils::DateTime & GetToTimestamp() const
void SetIncludeMetadata(bool value)
StartArchiveExportRequest & WithFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
void SetFilters(FiltersT &&value)
const Aws::Utils::DateTime & GetFromTimestamp() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String