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/opensearchmemory/OpenSearchMemory_EXPORTS.h>
11#include <aws/opensearchmemory/model/BatchGetEventError.h>
12#include <aws/opensearchmemory/model/Event.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace OpenSearchMemory {
38 template <
typename EventsT = Aws::Vector<Event>>
40 m_eventsHasBeenSet =
true;
41 m_events = std::forward<EventsT>(value);
43 template <
typename EventsT = Aws::Vector<Event>>
48 template <
typename EventsT = Event>
50 m_eventsHasBeenSet =
true;
51 m_events.emplace_back(std::forward<EventsT>(value));
62 template <
typename ErrorsT = Aws::Vector<BatchGetEventError>>
64 m_errorsHasBeenSet =
true;
65 m_errors = std::forward<ErrorsT>(value);
67 template <
typename ErrorsT = Aws::Vector<BatchGetEventError>>
72 template <
typename ErrorsT = BatchGetEventError>
74 m_errorsHasBeenSet =
true;
75 m_errors.emplace_back(std::forward<ErrorsT>(value));
83 template <
typename RequestIdT = Aws::String>
85 m_requestIdHasBeenSet =
true;
86 m_requestId = std::forward<RequestIdT>(value);
88 template <
typename RequestIdT = Aws::String>
103 bool m_eventsHasBeenSet =
false;
104 bool m_errorsHasBeenSet =
false;
105 bool m_requestIdHasBeenSet =
false;
void SetErrors(ErrorsT &&value)
BatchGetEventResult & WithEvents(EventsT &&value)
AWS_OPENSEARCHMEMORY_API BatchGetEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_OPENSEARCHMEMORY_API BatchGetEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetEventResult & AddErrors(ErrorsT &&value)
BatchGetEventResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Event > & GetEvents() const
const Aws::Vector< BatchGetEventError > & GetErrors() const
BatchGetEventResult & AddEvents(EventsT &&value)
void SetEvents(EventsT &&value)
AWS_OPENSEARCHMEMORY_API BatchGetEventResult()=default
const Aws::String & GetRequestId() const
BatchGetEventResult & WithErrors(ErrorsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue