7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/ArchiveFilters.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/mailmanager/model/ExportDestinationConfiguration.h>
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>
62 template<
typename FiltersT = ArchiveFilters>
63 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
64 template<
typename FiltersT = ArchiveFilters>
74 template<
typename FromTimestampT = Aws::Utils::DateTime>
75 void SetFromTimestamp(FromTimestampT&& value) { m_fromTimestampHasBeenSet =
true; m_fromTimestamp = std::forward<FromTimestampT>(value); }
76 template<
typename FromTimestampT = Aws::Utils::DateTime>
86 template<
typename ToTimestampT = Aws::Utils::DateTime>
87 void SetToTimestamp(ToTimestampT&& value) { m_toTimestampHasBeenSet =
true; m_toTimestamp = std::forward<ToTimestampT>(value); }
88 template<
typename ToTimestampT = Aws::Utils::DateTime>
98 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
108 template<
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
109 void SetExportDestinationConfiguration(ExportDestinationConfigurationT&& value) { m_exportDestinationConfigurationHasBeenSet =
true; m_exportDestinationConfiguration = std::forward<ExportDestinationConfigurationT>(value); }
110 template<
typename ExportDestinationConfigurationT = ExportDestinationConfiguration>
120 inline void SetIncludeMetadata(
bool value) { m_includeMetadataHasBeenSet =
true; m_includeMetadata = value; }
126 bool m_archiveIdHasBeenSet =
false;
129 bool m_filtersHasBeenSet =
false;
132 bool m_fromTimestampHasBeenSet =
false;
135 bool m_toTimestampHasBeenSet =
false;
138 bool m_maxResultsHasBeenSet =
false;
140 ExportDestinationConfiguration m_exportDestinationConfiguration;
141 bool m_exportDestinationConfigurationHasBeenSet =
false;
143 bool m_includeMetadata{
false};
144 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