7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/ArchiveFilters.h>
11#include <aws/mailmanager/model/SearchStatus.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MailManager {
43 template <
typename ArchiveIdT = Aws::String>
45 m_archiveIdHasBeenSet =
true;
46 m_archiveId = std::forward<ArchiveIdT>(value);
48 template <
typename ArchiveIdT = Aws::String>
60 template <
typename FiltersT = ArchiveFilters>
62 m_filtersHasBeenSet =
true;
63 m_filters = std::forward<FiltersT>(value);
65 template <
typename FiltersT = ArchiveFilters>
77 template <
typename FromTimestampT = Aws::Utils::DateTime>
79 m_fromTimestampHasBeenSet =
true;
80 m_fromTimestamp = std::forward<FromTimestampT>(value);
82 template <
typename FromTimestampT = Aws::Utils::DateTime>
94 template <
typename ToTimestampT = Aws::Utils::DateTime>
96 m_toTimestampHasBeenSet =
true;
97 m_toTimestamp = std::forward<ToTimestampT>(value);
99 template <
typename ToTimestampT = Aws::Utils::DateTime>
112 m_maxResultsHasBeenSet =
true;
113 m_maxResults = value;
126 template <
typename StatusT = SearchStatus>
128 m_statusHasBeenSet =
true;
129 m_status = std::forward<StatusT>(value);
131 template <
typename StatusT = SearchStatus>
141 template <
typename RequestIdT = Aws::String>
143 m_requestIdHasBeenSet =
true;
144 m_requestId = std::forward<RequestIdT>(value);
146 template <
typename RequestIdT = Aws::String>
163 SearchStatus m_status;
166 bool m_archiveIdHasBeenSet =
false;
167 bool m_filtersHasBeenSet =
false;
168 bool m_fromTimestampHasBeenSet =
false;
169 bool m_toTimestampHasBeenSet =
false;
170 bool m_maxResultsHasBeenSet =
false;
171 bool m_statusHasBeenSet =
false;
172 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
GetArchiveSearchResult & WithFromTimestamp(FromTimestampT &&value)
void SetFromTimestamp(FromTimestampT &&value)
AWS_MAILMANAGER_API GetArchiveSearchResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetFromTimestamp() const
void SetMaxResults(int value)
const SearchStatus & GetStatus() const
const Aws::String & GetArchiveId() const
GetArchiveSearchResult & WithMaxResults(int value)
void SetToTimestamp(ToTimestampT &&value)
GetArchiveSearchResult & WithToTimestamp(ToTimestampT &&value)
void SetStatus(StatusT &&value)
GetArchiveSearchResult & WithRequestId(RequestIdT &&value)
AWS_MAILMANAGER_API GetArchiveSearchResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveSearchResult & WithStatus(StatusT &&value)
GetArchiveSearchResult & WithFilters(FiltersT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetToTimestamp() const
int GetMaxResults() const
const ArchiveFilters & GetFilters() const
void SetFilters(FiltersT &&value)
GetArchiveSearchResult & WithArchiveId(ArchiveIdT &&value)
AWS_MAILMANAGER_API GetArchiveSearchResult()=default
void SetArchiveId(ArchiveIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue