7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/cloudsearchdomain/CloudSearchDomainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudsearchdomain/model/QueryParser.h>
19namespace CloudSearchDomain
60 template<
typename CursorT = Aws::String>
61 void SetCursor(CursorT&& value) { m_cursorHasBeenSet =
true; m_cursor = std::forward<CursorT>(value); }
62 template<
typename CursorT = Aws::String>
81 template<
typename ExprT = Aws::String>
82 void SetExpr(ExprT&& value) { m_exprHasBeenSet =
true; m_expr = std::forward<ExprT>(value); }
83 template<
typename ExprT = Aws::String>
136 template<
typename FacetT = Aws::String>
137 void SetFacet(FacetT&& value) { m_facetHasBeenSet =
true; m_facet = std::forward<FacetT>(value); }
138 template<
typename FacetT = Aws::String>
157 template<
typename FilterQueryT = Aws::String>
158 void SetFilterQuery(FilterQueryT&& value) { m_filterQueryHasBeenSet =
true; m_filterQuery = std::forward<FilterQueryT>(value); }
159 template<
typename FilterQueryT = Aws::String>
192 template<
typename HighlightT = Aws::String>
193 void SetHighlight(HighlightT&& value) { m_highlightHasBeenSet =
true; m_highlight = std::forward<HighlightT>(value); }
194 template<
typename HighlightT = Aws::String>
214 inline void SetPartial(
bool value) { m_partialHasBeenSet =
true; m_partial = value; }
232 template<
typename QueryT = Aws::String>
233 void SetQuery(QueryT&& value) { m_queryHasBeenSet =
true; m_query = std::forward<QueryT>(value); }
234 template<
typename QueryT = Aws::String>
334 template<
typename QueryOptionsT = Aws::String>
335 void SetQueryOptions(QueryOptionsT&& value) { m_queryOptionsHasBeenSet =
true; m_queryOptions = std::forward<QueryOptionsT>(value); }
336 template<
typename QueryOptionsT = Aws::String>
392 template<
typename ReturnT = Aws::String>
393 void SetReturn(ReturnT&& value) { m_returnHasBeenSet =
true; m_return = std::forward<ReturnT>(value); }
394 template<
typename ReturnT = Aws::String>
402 inline long long GetSize()
const {
return m_size; }
404 inline void SetSize(
long long value) { m_sizeHasBeenSet =
true; m_size = value; }
425 template<
typename SortT = Aws::String>
426 void SetSort(SortT&& value) { m_sortHasBeenSet =
true; m_sort = std::forward<SortT>(value); }
427 template<
typename SortT = Aws::String>
440 inline long long GetStart()
const {
return m_start; }
442 inline void SetStart(
long long value) { m_startHasBeenSet =
true; m_start = value; }
456 template<
typename StatsT = Aws::String>
457 void SetStats(StatsT&& value) { m_statsHasBeenSet =
true; m_stats = std::forward<StatsT>(value); }
458 template<
typename StatsT = Aws::String>
464 bool m_cursorHasBeenSet =
false;
467 bool m_exprHasBeenSet =
false;
470 bool m_facetHasBeenSet =
false;
473 bool m_filterQueryHasBeenSet =
false;
476 bool m_highlightHasBeenSet =
false;
478 bool m_partial{
false};
479 bool m_partialHasBeenSet =
false;
482 bool m_queryHasBeenSet =
false;
485 bool m_queryOptionsHasBeenSet =
false;
488 bool m_queryParserHasBeenSet =
false;
491 bool m_returnHasBeenSet =
false;
494 bool m_sizeHasBeenSet =
false;
497 bool m_sortHasBeenSet =
false;
499 long long m_start{0};
500 bool m_startHasBeenSet =
false;
503 bool m_statsHasBeenSet =
false;
SearchRequest & WithHighlight(HighlightT &&value)
bool QueryOptionsHasBeenSet() const
QueryParser GetQueryParser() const
SearchRequest & WithSort(SortT &&value)
void SetSort(SortT &&value)
void SetStats(StatsT &&value)
AWS_CLOUDSEARCHDOMAIN_API SearchRequest()=default
const Aws::String & GetHighlight() const
bool CursorHasBeenSet() const
void SetSize(long long value)
bool ReturnHasBeenSet() const
bool FilterQueryHasBeenSet() const
const Aws::String & GetQuery() const
const Aws::String & GetStats() const
void SetQueryOptions(QueryOptionsT &&value)
void SetFilterQuery(FilterQueryT &&value)
SearchRequest & WithSize(long long value)
SearchRequest & WithExpr(ExprT &&value)
const Aws::String & GetReturn() const
bool StatsHasBeenSet() const
SearchRequest & WithFilterQuery(FilterQueryT &&value)
void SetQuery(QueryT &&value)
const Aws::String & GetFacet() const
void SetQueryParser(QueryParser value)
SearchRequest & WithStart(long long value)
void SetCursor(CursorT &&value)
const Aws::String & GetQueryOptions() const
SearchRequest & WithReturn(ReturnT &&value)
bool HighlightHasBeenSet() const
const Aws::String & GetSort() const
bool PartialHasBeenSet() const
const Aws::String & GetFilterQuery() const
SearchRequest & WithQueryParser(QueryParser value)
SearchRequest & WithQuery(QueryT &&value)
const Aws::String & GetExpr() const
long long GetStart() const
void SetPartial(bool value)
void SetHighlight(HighlightT &&value)
SearchRequest & WithCursor(CursorT &&value)
bool QueryParserHasBeenSet() const
bool SizeHasBeenSet() const
const Aws::String & GetCursor() const
bool SortHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool StartHasBeenSet() const
bool FacetHasBeenSet() const
AWS_CLOUDSEARCHDOMAIN_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetReturn(ReturnT &&value)
SearchRequest & WithQueryOptions(QueryOptionsT &&value)
void SetStart(long long value)
SearchRequest & WithStats(StatsT &&value)
SearchRequest & WithFacet(FacetT &&value)
void SetExpr(ExprT &&value)
void SetFacet(FacetT &&value)
bool ExprHasBeenSet() const
AWS_CLOUDSEARCHDOMAIN_API Aws::String SerializePayload() const override
long long GetSize() const
bool QueryHasBeenSet() const
SearchRequest & WithPartial(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String