7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/Archive.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace EventBridge {
38 template <
typename ArchivesT = Aws::Vector<Archive>>
40 m_archivesHasBeenSet =
true;
41 m_archives = std::forward<ArchivesT>(value);
43 template <
typename ArchivesT = Aws::Vector<Archive>>
48 template <
typename ArchivesT = Archive>
50 m_archivesHasBeenSet =
true;
51 m_archives.emplace_back(std::forward<ArchivesT>(value));
66 template <
typename NextTokenT = Aws::String>
68 m_nextTokenHasBeenSet =
true;
69 m_nextToken = std::forward<NextTokenT>(value);
71 template <
typename NextTokenT = Aws::String>
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
101 bool m_archivesHasBeenSet =
false;
102 bool m_nextTokenHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
AWS_EVENTBRIDGE_API ListArchivesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API ListArchivesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API ListArchivesResult()=default
const Aws::String & GetRequestId() const
const Aws::Vector< Archive > & GetArchives() const
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
ListArchivesResult & WithArchives(ArchivesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListArchivesResult & WithNextToken(NextTokenT &&value)
ListArchivesResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
ListArchivesResult & AddArchives(ArchivesT &&value)
void SetArchives(ArchivesT &&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