7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/Archive.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace MailManager {
42 template <
typename ArchivesT = Aws::Vector<Archive>>
44 m_archivesHasBeenSet =
true;
45 m_archives = std::forward<ArchivesT>(value);
47 template <
typename ArchivesT = Aws::Vector<Archive>>
52 template <
typename ArchivesT = Archive>
54 m_archivesHasBeenSet =
true;
55 m_archives.emplace_back(std::forward<ArchivesT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
97 bool m_archivesHasBeenSet =
false;
98 bool m_nextTokenHasBeenSet =
false;
99 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
AWS_MAILMANAGER_API ListArchivesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MAILMANAGER_API ListArchivesResult()=default
const Aws::String & GetNextToken() const
ListArchivesResult & WithArchives(ArchivesT &&value)
ListArchivesResult & AddArchives(ArchivesT &&value)
void SetArchives(ArchivesT &&value)
AWS_MAILMANAGER_API ListArchivesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListArchivesResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< Archive > & GetArchives() const
void SetRequestId(RequestIdT &&value)
ListArchivesResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue