7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/Archive.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
43 template<
typename ArchivesT = Aws::Vector<Archive>>
44 void SetArchives(ArchivesT&& value) { m_archivesHasBeenSet =
true; m_archives = std::forward<ArchivesT>(value); }
45 template<
typename ArchivesT = Aws::Vector<Archive>>
47 template<
typename ArchivesT = Archive>
48 ListArchivesResult&
AddArchives(ArchivesT&& value) { m_archivesHasBeenSet =
true; m_archives.emplace_back(std::forward<ArchivesT>(value));
return *
this; }
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_archivesHasBeenSet =
false;
81 bool m_nextTokenHasBeenSet =
false;
84 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