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/SearchStatus.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
49 template<
typename ArchiveIdT = Aws::String>
50 void SetArchiveId(ArchiveIdT&& value) { m_archiveIdHasBeenSet =
true; m_archiveId = std::forward<ArchiveIdT>(value); }
51 template<
typename ArchiveIdT = Aws::String>
60 template<
typename FiltersT = ArchiveFilters>
61 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
62 template<
typename FiltersT = ArchiveFilters>
71 template<
typename FromTimestampT = Aws::Utils::DateTime>
72 void SetFromTimestamp(FromTimestampT&& value) { m_fromTimestampHasBeenSet =
true; m_fromTimestamp = std::forward<FromTimestampT>(value); }
73 template<
typename FromTimestampT = Aws::Utils::DateTime>
82 template<
typename ToTimestampT = Aws::Utils::DateTime>
83 void SetToTimestamp(ToTimestampT&& value) { m_toTimestampHasBeenSet =
true; m_toTimestamp = std::forward<ToTimestampT>(value); }
84 template<
typename ToTimestampT = Aws::Utils::DateTime>
93 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
102 template<
typename StatusT = SearchStatus>
103 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
104 template<
typename StatusT = SearchStatus>
111 template<
typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
113 template<
typename RequestIdT = Aws::String>
119 bool m_archiveIdHasBeenSet =
false;
122 bool m_filtersHasBeenSet =
false;
125 bool m_fromTimestampHasBeenSet =
false;
128 bool m_toTimestampHasBeenSet =
false;
131 bool m_maxResultsHasBeenSet =
false;
133 SearchStatus m_status;
134 bool m_statusHasBeenSet =
false;
137 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