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>
16namespace MailManager {
45 template <
typename ArchiveIdT = Aws::String>
47 m_archiveIdHasBeenSet =
true;
48 m_archiveId = std::forward<ArchiveIdT>(value);
50 template <
typename ArchiveIdT = Aws::String>
63 template <
typename FiltersT = ArchiveFilters>
65 m_filtersHasBeenSet =
true;
66 m_filters = std::forward<FiltersT>(value);
68 template <
typename FiltersT = ArchiveFilters>
81 template <
typename FromTimestampT = Aws::Utils::DateTime>
83 m_fromTimestampHasBeenSet =
true;
84 m_fromTimestamp = std::forward<FromTimestampT>(value);
86 template <
typename FromTimestampT = Aws::Utils::DateTime>
99 template <
typename ToTimestampT = Aws::Utils::DateTime>
101 m_toTimestampHasBeenSet =
true;
102 m_toTimestamp = std::forward<ToTimestampT>(value);
104 template <
typename ToTimestampT = Aws::Utils::DateTime>
118 m_maxResultsHasBeenSet =
true;
119 m_maxResults = value;
136 bool m_archiveIdHasBeenSet =
false;
137 bool m_filtersHasBeenSet =
false;
138 bool m_fromTimestampHasBeenSet =
false;
139 bool m_toTimestampHasBeenSet =
false;
140 bool m_maxResultsHasBeenSet =
false;
void SetArchiveId(ArchiveIdT &&value)
const ArchiveFilters & GetFilters() const
bool ArchiveIdHasBeenSet() const
StartArchiveSearchRequest & WithToTimestamp(ToTimestampT &&value)
void SetFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
int GetMaxResults() const
void SetFilters(FiltersT &&value)
void SetMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_MAILMANAGER_API StartArchiveSearchRequest()=default
const Aws::Utils::DateTime & GetToTimestamp() const
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
void SetToTimestamp(ToTimestampT &&value)
const Aws::String & GetArchiveId() const
StartArchiveSearchRequest & WithMaxResults(int value)
StartArchiveSearchRequest & WithFilters(FiltersT &&value)
bool FiltersHasBeenSet() const
StartArchiveSearchRequest & WithArchiveId(ArchiveIdT &&value)
const Aws::Utils::DateTime & GetFromTimestamp() const
StartArchiveSearchRequest & WithFromTimestamp(FromTimestampT &&value)
bool FromTimestampHasBeenSet() const
bool ToTimestampHasBeenSet() const
bool MaxResultsHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String