7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearchmemory/OpenSearchMemoryRequest.h>
11#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
16namespace OpenSearchMemory {
47 template <
typename SpaceIdT = Aws::String>
49 m_spaceIdHasBeenSet =
true;
50 m_spaceId = std::forward<SpaceIdT>(value);
52 template <
typename SpaceIdT = Aws::String>
70 template <
typename ActorIdT = Aws::String>
72 m_actorIdHasBeenSet =
true;
73 m_actorId = std::forward<ActorIdT>(value);
75 template <
typename ActorIdT = Aws::String>
93 template <
typename SessionIdsT = Aws::Vector<Aws::String>>
95 m_sessionIdsHasBeenSet =
true;
96 m_sessionIds = std::forward<SessionIdsT>(value);
98 template <
typename SessionIdsT = Aws::Vector<Aws::String>>
103 template <
typename SessionIdsT = Aws::String>
105 m_sessionIdsHasBeenSet =
true;
106 m_sessionIds.emplace_back(std::forward<SessionIdsT>(value));
130 template <
typename QueryT = Aws::Utils::Document>
132 m_queryHasBeenSet =
true;
133 m_query = std::forward<QueryT>(value);
135 template <
typename QueryT = Aws::Utils::Document>
137 SetQuery(std::forward<QueryT>(value));
149 template <
typename SortT = Aws::Utils::Document>
151 m_sortHasBeenSet =
true;
152 m_sort = std::forward<SortT>(value);
154 template <
typename SortT = Aws::Utils::Document>
156 SetSort(std::forward<SortT>(value));
168 m_maxResultsHasBeenSet =
true;
169 m_maxResults = value;
184 template <
typename NextTokenT = Aws::String>
186 m_nextTokenHasBeenSet =
true;
187 m_nextToken = std::forward<NextTokenT>(value);
189 template <
typename NextTokenT = Aws::String>
209 bool m_spaceIdHasBeenSet =
false;
210 bool m_actorIdHasBeenSet =
false;
211 bool m_sessionIdsHasBeenSet =
false;
212 bool m_queryHasBeenSet =
false;
213 bool m_sortHasBeenSet =
false;
214 bool m_maxResultsHasBeenSet =
false;
215 bool m_nextTokenHasBeenSet =
false;
SearchEventsRequest & WithSort(SortT &&value)
const Aws::String & GetActorId() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSpaceId() const
bool QueryHasBeenSet() const
SearchEventsRequest & WithMaxResults(int value)
bool SortHasBeenSet() const
SearchEventsRequest & WithSessionIds(SessionIdsT &&value)
AWS_OPENSEARCHMEMORY_API Aws::String SerializePayload() const override
SearchEventsRequest & WithSpaceId(SpaceIdT &&value)
void SetQuery(QueryT &&value)
void SetMaxResults(int value)
bool SpaceIdHasBeenSet() const
Aws::Utils::DocumentView GetQuery() const
bool MaxResultsHasBeenSet() const
SearchEventsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
AWS_OPENSEARCHMEMORY_API EndpointParameters GetEndpointContextParams() const override
int GetMaxResults() const
const Aws::Vector< Aws::String > & GetSessionIds() const
SearchEventsRequest & WithActorId(ActorIdT &&value)
void SetActorId(ActorIdT &&value)
bool ActorIdHasBeenSet() const
void SetSessionIds(SessionIdsT &&value)
void SetSpaceId(SpaceIdT &&value)
bool NextTokenHasBeenSet() const
Aws::Utils::DocumentView GetSort() const
SearchEventsRequest & WithQuery(QueryT &&value)
bool SessionIdsHasBeenSet() const
AWS_OPENSEARCHMEMORY_API SearchEventsRequest()=default
AWS_OPENSEARCHMEMORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSort(SortT &&value)
SearchEventsRequest & AddSessionIds(SessionIdsT &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector