7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/Archive.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace EventBridge {
37 template <
typename ArchivesT = Aws::Vector<Archive>>
39 m_archivesHasBeenSet =
true;
40 m_archives = std::forward<ArchivesT>(value);
42 template <
typename ArchivesT = Aws::Vector<Archive>>
47 template <
typename ArchivesT = Archive>
49 m_archivesHasBeenSet =
true;
50 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;
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)
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