7#include <aws/cloudsearchdomain/CloudSearchDomainRequest.h>
8#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
9#include <aws/cloudsearchdomain/model/QueryParser.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
18namespace CloudSearchDomain {
55 template <
typename CursorT = Aws::String>
57 m_cursorHasBeenSet =
true;
58 m_cursor = std::forward<CursorT>(value);
60 template <
typename CursorT = Aws::String>
82 template <
typename ExprT = Aws::String>
84 m_exprHasBeenSet =
true;
85 m_expr = std::forward<ExprT>(value);
87 template <
typename ExprT = Aws::String>
89 SetExpr(std::forward<ExprT>(value));
143 template <
typename FacetT = Aws::String>
145 m_facetHasBeenSet =
true;
146 m_facet = std::forward<FacetT>(value);
148 template <
typename FacetT = Aws::String>
150 SetFacet(std::forward<FacetT>(value));
170 template <
typename FilterQueryT = Aws::String>
172 m_filterQueryHasBeenSet =
true;
173 m_filterQuery = std::forward<FilterQueryT>(value);
175 template <
typename FilterQueryT = Aws::String>
211 template <
typename HighlightT = Aws::String>
213 m_highlightHasBeenSet =
true;
214 m_highlight = std::forward<HighlightT>(value);
216 template <
typename HighlightT = Aws::String>
240 m_partialHasBeenSet =
true;
263 template <
typename QueryT = Aws::String>
265 m_queryHasBeenSet =
true;
266 m_query = std::forward<QueryT>(value);
268 template <
typename QueryT = Aws::String>
270 SetQuery(std::forward<QueryT>(value));
371 template <
typename QueryOptionsT = Aws::String>
373 m_queryOptionsHasBeenSet =
true;
374 m_queryOptions = std::forward<QueryOptionsT>(value);
376 template <
typename QueryOptionsT = Aws::String>
421 m_queryParserHasBeenSet =
true;
422 m_queryParser = value;
441 template <
typename ReturnT = Aws::String>
443 m_returnHasBeenSet =
true;
444 m_return = std::forward<ReturnT>(value);
446 template <
typename ReturnT = Aws::String>
457 inline long long GetSize()
const {
return m_size; }
460 m_sizeHasBeenSet =
true;
486 template <
typename SortT = Aws::String>
488 m_sortHasBeenSet =
true;
489 m_sort = std::forward<SortT>(value);
491 template <
typename SortT = Aws::String>
493 SetSort(std::forward<SortT>(value));
507 inline long long GetStart()
const {
return m_start; }
510 m_startHasBeenSet =
true;
529 template <
typename StatsT = Aws::String>
531 m_statsHasBeenSet =
true;
532 m_stats = std::forward<StatsT>(value);
534 template <
typename StatsT = Aws::String>
536 SetStats(std::forward<StatsT>(value));
551 bool m_partial{
false};
565 long long m_start{0};
568 bool m_cursorHasBeenSet =
false;
569 bool m_exprHasBeenSet =
false;
570 bool m_facetHasBeenSet =
false;
571 bool m_filterQueryHasBeenSet =
false;
572 bool m_highlightHasBeenSet =
false;
573 bool m_partialHasBeenSet =
false;
574 bool m_queryHasBeenSet =
false;
575 bool m_queryOptionsHasBeenSet =
false;
576 bool m_queryParserHasBeenSet =
false;
577 bool m_returnHasBeenSet =
false;
578 bool m_sizeHasBeenSet =
false;
579 bool m_sortHasBeenSet =
false;
580 bool m_startHasBeenSet =
false;
581 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