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/crt/cbor/Cbor.h>
11#include <aws/memorydb/MemoryDB_EXPORTS.h>
12#include <aws/memorydb/model/Event.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
41 template <
typename NextTokenT = Aws::String>
43 m_nextTokenHasBeenSet =
true;
44 m_nextToken = std::forward<NextTokenT>(value);
46 template <
typename NextTokenT = Aws::String>
59 template <
typename EventsT = Aws::Vector<Event>>
61 m_eventsHasBeenSet =
true;
62 m_events = std::forward<EventsT>(value);
64 template <
typename EventsT = Aws::Vector<Event>>
69 template <
typename EventsT = Event>
71 m_eventsHasBeenSet =
true;
72 m_events.emplace_back(std::forward<EventsT>(value));
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_nextTokenHasBeenSet =
false;
101 bool m_eventsHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
AWS_MEMORYDB_API DescribeEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeEventsResult & AddEvents(EventsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeEventsResult & WithNextToken(NextTokenT &&value)
DescribeEventsResult & WithEvents(EventsT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
void SetEvents(EventsT &&value)
const Aws::Vector< Event > & GetEvents() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
AWS_MEMORYDB_API DescribeEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Cbor::CborValue > &result)
DescribeEventsResult & WithRequestId(RequestIdT &&value)
AWS_MEMORYDB_API DescribeEventsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector