7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/context/model/SearchAgentContextType.h>
10#include <aws/context/model/SearchFilter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
45 m_maxResultsHasBeenSet =
true;
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
78 template <
typename AgentContextIdT = Aws::String>
80 m_agentContextIdHasBeenSet =
true;
81 m_agentContextId = std::forward<AgentContextIdT>(value);
83 template <
typename AgentContextIdT = Aws::String>
99 template <
typename QueryT = Aws::String>
101 m_queryHasBeenSet =
true;
102 m_query = std::forward<QueryT>(value);
104 template <
typename QueryT = Aws::String>
106 SetQuery(std::forward<QueryT>(value));
118 template <
typename FilterT = SearchFilter>
120 m_filterHasBeenSet =
true;
121 m_filter = std::forward<FilterT>(value);
123 template <
typename FilterT = SearchFilter>
141 m_searchTypeHasBeenSet =
true;
142 m_searchType = value;
158 SearchFilter m_filter;
161 bool m_maxResultsHasBeenSet =
false;
162 bool m_nextTokenHasBeenSet =
false;
163 bool m_agentContextIdHasBeenSet =
false;
164 bool m_queryHasBeenSet =
false;
165 bool m_filterHasBeenSet =
false;
166 bool m_searchTypeHasBeenSet =
false;
SearchAgentContextRequest & WithMaxResults(int value)
SearchAgentContextType GetSearchType() const
void SetNextToken(NextTokenT &&value)
void SetQuery(QueryT &&value)
const Aws::String & GetNextToken() const
SearchAgentContextRequest & WithFilter(FilterT &&value)
const SearchFilter & GetFilter() const
bool AgentContextIdHasBeenSet() const
void SetMaxResults(int value)
int GetMaxResults() const
SearchAgentContextRequest & WithSearchType(SearchAgentContextType value)
void SetFilter(FilterT &&value)
const Aws::String & GetQuery() const
void SetSearchType(SearchAgentContextType value)
void SetAgentContextId(AgentContextIdT &&value)
AWS_CONTEXT_API Aws::String SerializePayload() const override
AWS_CONTEXT_API SearchAgentContextRequest()=default
SearchAgentContextRequest & WithQuery(QueryT &&value)
const Aws::String & GetAgentContextId() const
virtual const char * GetServiceRequestName() const override
bool QueryHasBeenSet() const
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool FilterHasBeenSet() const
SearchAgentContextRequest & WithNextToken(NextTokenT &&value)
bool NextTokenHasBeenSet() const
bool SearchTypeHasBeenSet() const
bool MaxResultsHasBeenSet() const
SearchAgentContextRequest & WithAgentContextId(AgentContextIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String