AWS SDK for C++  1.9.128
AWS SDK for C++
QueryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <aws/kendra/model/Facet.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace kendra
22 {
23 namespace Model
24 {
25 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "Query"; }
38 
39  Aws::String SerializePayload() const override;
40 
42 
43 
48  inline const Aws::String& GetIndexId() const{ return m_indexId; }
49 
54  inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
55 
60  inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
61 
66  inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
67 
72  inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
73 
78  inline QueryRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
79 
84  inline QueryRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
85 
90  inline QueryRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
91 
92 
96  inline const Aws::String& GetQueryText() const{ return m_queryText; }
97 
101  inline bool QueryTextHasBeenSet() const { return m_queryTextHasBeenSet; }
102 
106  inline void SetQueryText(const Aws::String& value) { m_queryTextHasBeenSet = true; m_queryText = value; }
107 
111  inline void SetQueryText(Aws::String&& value) { m_queryTextHasBeenSet = true; m_queryText = std::move(value); }
112 
116  inline void SetQueryText(const char* value) { m_queryTextHasBeenSet = true; m_queryText.assign(value); }
117 
121  inline QueryRequest& WithQueryText(const Aws::String& value) { SetQueryText(value); return *this;}
122 
126  inline QueryRequest& WithQueryText(Aws::String&& value) { SetQueryText(std::move(value)); return *this;}
127 
131  inline QueryRequest& WithQueryText(const char* value) { SetQueryText(value); return *this;}
132 
133 
142  inline const AttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; }
143 
152  inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; }
153 
162  inline void SetAttributeFilter(const AttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; }
163 
172  inline void SetAttributeFilter(AttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); }
173 
182  inline QueryRequest& WithAttributeFilter(const AttributeFilter& value) { SetAttributeFilter(value); return *this;}
183 
192  inline QueryRequest& WithAttributeFilter(AttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;}
193 
194 
200  inline const Aws::Vector<Facet>& GetFacets() const{ return m_facets; }
201 
207  inline bool FacetsHasBeenSet() const { return m_facetsHasBeenSet; }
208 
214  inline void SetFacets(const Aws::Vector<Facet>& value) { m_facetsHasBeenSet = true; m_facets = value; }
215 
221  inline void SetFacets(Aws::Vector<Facet>&& value) { m_facetsHasBeenSet = true; m_facets = std::move(value); }
222 
228  inline QueryRequest& WithFacets(const Aws::Vector<Facet>& value) { SetFacets(value); return *this;}
229 
235  inline QueryRequest& WithFacets(Aws::Vector<Facet>&& value) { SetFacets(std::move(value)); return *this;}
236 
242  inline QueryRequest& AddFacets(const Facet& value) { m_facetsHasBeenSet = true; m_facets.push_back(value); return *this; }
243 
249  inline QueryRequest& AddFacets(Facet&& value) { m_facetsHasBeenSet = true; m_facets.push_back(std::move(value)); return *this; }
250 
251 
257  inline const Aws::Vector<Aws::String>& GetRequestedDocumentAttributes() const{ return m_requestedDocumentAttributes; }
258 
264  inline bool RequestedDocumentAttributesHasBeenSet() const { return m_requestedDocumentAttributesHasBeenSet; }
265 
271  inline void SetRequestedDocumentAttributes(const Aws::Vector<Aws::String>& value) { m_requestedDocumentAttributesHasBeenSet = true; m_requestedDocumentAttributes = value; }
272 
278  inline void SetRequestedDocumentAttributes(Aws::Vector<Aws::String>&& value) { m_requestedDocumentAttributesHasBeenSet = true; m_requestedDocumentAttributes = std::move(value); }
279 
285  inline QueryRequest& WithRequestedDocumentAttributes(const Aws::Vector<Aws::String>& value) { SetRequestedDocumentAttributes(value); return *this;}
286 
292  inline QueryRequest& WithRequestedDocumentAttributes(Aws::Vector<Aws::String>&& value) { SetRequestedDocumentAttributes(std::move(value)); return *this;}
293 
299  inline QueryRequest& AddRequestedDocumentAttributes(const Aws::String& value) { m_requestedDocumentAttributesHasBeenSet = true; m_requestedDocumentAttributes.push_back(value); return *this; }
300 
306  inline QueryRequest& AddRequestedDocumentAttributes(Aws::String&& value) { m_requestedDocumentAttributesHasBeenSet = true; m_requestedDocumentAttributes.push_back(std::move(value)); return *this; }
307 
313  inline QueryRequest& AddRequestedDocumentAttributes(const char* value) { m_requestedDocumentAttributesHasBeenSet = true; m_requestedDocumentAttributes.push_back(value); return *this; }
314 
315 
320  inline const QueryResultType& GetQueryResultTypeFilter() const{ return m_queryResultTypeFilter; }
321 
326  inline bool QueryResultTypeFilterHasBeenSet() const { return m_queryResultTypeFilterHasBeenSet; }
327 
332  inline void SetQueryResultTypeFilter(const QueryResultType& value) { m_queryResultTypeFilterHasBeenSet = true; m_queryResultTypeFilter = value; }
333 
338  inline void SetQueryResultTypeFilter(QueryResultType&& value) { m_queryResultTypeFilterHasBeenSet = true; m_queryResultTypeFilter = std::move(value); }
339 
344  inline QueryRequest& WithQueryResultTypeFilter(const QueryResultType& value) { SetQueryResultTypeFilter(value); return *this;}
345 
350  inline QueryRequest& WithQueryResultTypeFilter(QueryResultType&& value) { SetQueryResultTypeFilter(std::move(value)); return *this;}
351 
352 
365  inline const Aws::Vector<DocumentRelevanceConfiguration>& GetDocumentRelevanceOverrideConfigurations() const{ return m_documentRelevanceOverrideConfigurations; }
366 
379  inline bool DocumentRelevanceOverrideConfigurationsHasBeenSet() const { return m_documentRelevanceOverrideConfigurationsHasBeenSet; }
380 
393  inline void SetDocumentRelevanceOverrideConfigurations(const Aws::Vector<DocumentRelevanceConfiguration>& value) { m_documentRelevanceOverrideConfigurationsHasBeenSet = true; m_documentRelevanceOverrideConfigurations = value; }
394 
407  inline void SetDocumentRelevanceOverrideConfigurations(Aws::Vector<DocumentRelevanceConfiguration>&& value) { m_documentRelevanceOverrideConfigurationsHasBeenSet = true; m_documentRelevanceOverrideConfigurations = std::move(value); }
408 
421  inline QueryRequest& WithDocumentRelevanceOverrideConfigurations(const Aws::Vector<DocumentRelevanceConfiguration>& value) { SetDocumentRelevanceOverrideConfigurations(value); return *this;}
422 
435  inline QueryRequest& WithDocumentRelevanceOverrideConfigurations(Aws::Vector<DocumentRelevanceConfiguration>&& value) { SetDocumentRelevanceOverrideConfigurations(std::move(value)); return *this;}
436 
449  inline QueryRequest& AddDocumentRelevanceOverrideConfigurations(const DocumentRelevanceConfiguration& value) { m_documentRelevanceOverrideConfigurationsHasBeenSet = true; m_documentRelevanceOverrideConfigurations.push_back(value); return *this; }
450 
463  inline QueryRequest& AddDocumentRelevanceOverrideConfigurations(DocumentRelevanceConfiguration&& value) { m_documentRelevanceOverrideConfigurationsHasBeenSet = true; m_documentRelevanceOverrideConfigurations.push_back(std::move(value)); return *this; }
464 
465 
471  inline int GetPageNumber() const{ return m_pageNumber; }
472 
478  inline bool PageNumberHasBeenSet() const { return m_pageNumberHasBeenSet; }
479 
485  inline void SetPageNumber(int value) { m_pageNumberHasBeenSet = true; m_pageNumber = value; }
486 
492  inline QueryRequest& WithPageNumber(int value) { SetPageNumber(value); return *this;}
493 
494 
500  inline int GetPageSize() const{ return m_pageSize; }
501 
507  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
508 
514  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
515 
521  inline QueryRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
522 
523 
532  inline const SortingConfiguration& GetSortingConfiguration() const{ return m_sortingConfiguration; }
533 
542  inline bool SortingConfigurationHasBeenSet() const { return m_sortingConfigurationHasBeenSet; }
543 
552  inline void SetSortingConfiguration(const SortingConfiguration& value) { m_sortingConfigurationHasBeenSet = true; m_sortingConfiguration = value; }
553 
562  inline void SetSortingConfiguration(SortingConfiguration&& value) { m_sortingConfigurationHasBeenSet = true; m_sortingConfiguration = std::move(value); }
563 
572  inline QueryRequest& WithSortingConfiguration(const SortingConfiguration& value) { SetSortingConfiguration(value); return *this;}
573 
582  inline QueryRequest& WithSortingConfiguration(SortingConfiguration&& value) { SetSortingConfiguration(std::move(value)); return *this;}
583 
584 
588  inline const UserContext& GetUserContext() const{ return m_userContext; }
589 
593  inline bool UserContextHasBeenSet() const { return m_userContextHasBeenSet; }
594 
598  inline void SetUserContext(const UserContext& value) { m_userContextHasBeenSet = true; m_userContext = value; }
599 
603  inline void SetUserContext(UserContext&& value) { m_userContextHasBeenSet = true; m_userContext = std::move(value); }
604 
608  inline QueryRequest& WithUserContext(const UserContext& value) { SetUserContext(value); return *this;}
609 
613  inline QueryRequest& WithUserContext(UserContext&& value) { SetUserContext(std::move(value)); return *this;}
614 
615 
622  inline const Aws::String& GetVisitorId() const{ return m_visitorId; }
623 
630  inline bool VisitorIdHasBeenSet() const { return m_visitorIdHasBeenSet; }
631 
638  inline void SetVisitorId(const Aws::String& value) { m_visitorIdHasBeenSet = true; m_visitorId = value; }
639 
646  inline void SetVisitorId(Aws::String&& value) { m_visitorIdHasBeenSet = true; m_visitorId = std::move(value); }
647 
654  inline void SetVisitorId(const char* value) { m_visitorIdHasBeenSet = true; m_visitorId.assign(value); }
655 
662  inline QueryRequest& WithVisitorId(const Aws::String& value) { SetVisitorId(value); return *this;}
663 
670  inline QueryRequest& WithVisitorId(Aws::String&& value) { SetVisitorId(std::move(value)); return *this;}
671 
678  inline QueryRequest& WithVisitorId(const char* value) { SetVisitorId(value); return *this;}
679 
680  private:
681 
682  Aws::String m_indexId;
683  bool m_indexIdHasBeenSet;
684 
685  Aws::String m_queryText;
686  bool m_queryTextHasBeenSet;
687 
688  AttributeFilter m_attributeFilter;
689  bool m_attributeFilterHasBeenSet;
690 
691  Aws::Vector<Facet> m_facets;
692  bool m_facetsHasBeenSet;
693 
694  Aws::Vector<Aws::String> m_requestedDocumentAttributes;
695  bool m_requestedDocumentAttributesHasBeenSet;
696 
697  QueryResultType m_queryResultTypeFilter;
698  bool m_queryResultTypeFilterHasBeenSet;
699 
700  Aws::Vector<DocumentRelevanceConfiguration> m_documentRelevanceOverrideConfigurations;
701  bool m_documentRelevanceOverrideConfigurationsHasBeenSet;
702 
703  int m_pageNumber;
704  bool m_pageNumberHasBeenSet;
705 
706  int m_pageSize;
707  bool m_pageSizeHasBeenSet;
708 
709  SortingConfiguration m_sortingConfiguration;
710  bool m_sortingConfigurationHasBeenSet;
711 
712  UserContext m_userContext;
713  bool m_userContextHasBeenSet;
714 
715  Aws::String m_visitorId;
716  bool m_visitorIdHasBeenSet;
717  };
718 
719 } // namespace Model
720 } // namespace kendra
721 } // namespace Aws
Aws::kendra::Model::QueryRequest::WithDocumentRelevanceOverrideConfigurations
QueryRequest & WithDocumentRelevanceOverrideConfigurations(Aws::Vector< DocumentRelevanceConfiguration > &&value)
Definition: QueryRequest.h:435
Aws::kendra::Model::QueryRequest::GetFacets
const Aws::Vector< Facet > & GetFacets() const
Definition: QueryRequest.h:200
Aws::kendra::KendraRequest
Definition: KendraRequest.h:17
Aws::kendra::Model::QueryRequest::WithQueryText
QueryRequest & WithQueryText(const char *value)
Definition: QueryRequest.h:131
UserContext.h
Aws::kendra::Model::QueryRequest::SetQueryText
void SetQueryText(const char *value)
Definition: QueryRequest.h:116
Aws::kendra::Model::QueryRequest::SetPageSize
void SetPageSize(int value)
Definition: QueryRequest.h:514
Aws::kendra::Model::QueryRequest::SetIndexId
void SetIndexId(const char *value)
Definition: QueryRequest.h:72
Aws::kendra::Model::QueryRequest::SetQueryResultTypeFilter
void SetQueryResultTypeFilter(const QueryResultType &value)
Definition: QueryRequest.h:332
Aws::kendra::Model::UserContext
Definition: UserContext.h:39
Aws::kendra::Model::QueryRequest::WithRequestedDocumentAttributes
QueryRequest & WithRequestedDocumentAttributes(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:285
Aws::kendra::Model::QueryRequest::WithAttributeFilter
QueryRequest & WithAttributeFilter(AttributeFilter &&value)
Definition: QueryRequest.h:192
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
QueryResultType.h
Aws::kendra::Model::QueryRequest::GetQueryResultTypeFilter
const QueryResultType & GetQueryResultTypeFilter() const
Definition: QueryRequest.h:320
Aws::kendra::Model::QueryRequest::SetVisitorId
void SetVisitorId(const char *value)
Definition: QueryRequest.h:654
Aws::kendra::Model::QueryRequest::SetQueryResultTypeFilter
void SetQueryResultTypeFilter(QueryResultType &&value)
Definition: QueryRequest.h:338
Aws::kendra::Model::QueryRequest::SetRequestedDocumentAttributes
void SetRequestedDocumentAttributes(Aws::Vector< Aws::String > &&value)
Definition: QueryRequest.h:278
Aws::kendra::Model::QueryRequest::WithFacets
QueryRequest & WithFacets(Aws::Vector< Facet > &&value)
Definition: QueryRequest.h:235
Aws::kendra::Model::QueryRequest::VisitorIdHasBeenSet
bool VisitorIdHasBeenSet() const
Definition: QueryRequest.h:630
Aws::kendra::Model::QueryRequest::RequestedDocumentAttributesHasBeenSet
bool RequestedDocumentAttributesHasBeenSet() const
Definition: QueryRequest.h:264
Aws::kendra::Model::AttributeFilter
Definition: AttributeFilter.h:45
Aws::kendra::Model::QueryRequest::WithQueryText
QueryRequest & WithQueryText(Aws::String &&value)
Definition: QueryRequest.h:126
Aws::kendra::Model::QueryRequest::AddFacets
QueryRequest & AddFacets(const Facet &value)
Definition: QueryRequest.h:242
Aws::kendra::Model::QueryResultType
QueryResultType
Definition: QueryResultType.h:17
KendraRequest.h
Aws::kendra::Model::QueryRequest::WithQueryResultTypeFilter
QueryRequest & WithQueryResultTypeFilter(const QueryResultType &value)
Definition: QueryRequest.h:344
Aws::kendra::Model::QueryRequest::WithQueryText
QueryRequest & WithQueryText(const Aws::String &value)
Definition: QueryRequest.h:121
Aws::kendra::Model::QueryRequest::AddDocumentRelevanceOverrideConfigurations
QueryRequest & AddDocumentRelevanceOverrideConfigurations(const DocumentRelevanceConfiguration &value)
Definition: QueryRequest.h:449
Aws::kendra::Model::QueryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: QueryRequest.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::kendra::Model::QueryRequest::SetRequestedDocumentAttributes
void SetRequestedDocumentAttributes(const Aws::Vector< Aws::String > &value)
Definition: QueryRequest.h:271
Aws::kendra::Model::QueryRequest::WithQueryResultTypeFilter
QueryRequest & WithQueryResultTypeFilter(QueryResultType &&value)
Definition: QueryRequest.h:350
Aws::kendra::Model::QueryRequest::QueryRequest
QueryRequest()
Aws::kendra::Model::QueryRequest::WithPageNumber
QueryRequest & WithPageNumber(int value)
Definition: QueryRequest.h:492
Aws::kendra::Model::QueryRequest::GetPageSize
int GetPageSize() const
Definition: QueryRequest.h:500
Aws::kendra::Model::QueryRequest::SetUserContext
void SetUserContext(const UserContext &value)
Definition: QueryRequest.h:598
AWSVector.h
Aws::kendra::Model::QueryRequest::WithDocumentRelevanceOverrideConfigurations
QueryRequest & WithDocumentRelevanceOverrideConfigurations(const Aws::Vector< DocumentRelevanceConfiguration > &value)
Definition: QueryRequest.h:421
Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes
QueryRequest & AddRequestedDocumentAttributes(Aws::String &&value)
Definition: QueryRequest.h:306
Aws::kendra::Model::QueryRequest::QueryTextHasBeenSet
bool QueryTextHasBeenSet() const
Definition: QueryRequest.h:101
Aws::kendra::Model::QueryRequest::SetIndexId
void SetIndexId(Aws::String &&value)
Definition: QueryRequest.h:66
Aws::kendra::Model::QueryRequest::GetPageNumber
int GetPageNumber() const
Definition: QueryRequest.h:471
Aws::kendra::Model::QueryRequest::GetUserContext
const UserContext & GetUserContext() const
Definition: QueryRequest.h:588
Aws::kendra::Model::QueryRequest::SetUserContext
void SetUserContext(UserContext &&value)
Definition: QueryRequest.h:603
AttributeFilter.h
Aws::kendra::Model::QueryRequest::FacetsHasBeenSet
bool FacetsHasBeenSet() const
Definition: QueryRequest.h:207
Facet.h
Kendra_EXPORTS.h
Aws::kendra::Model::QueryRequest::SetQueryText
void SetQueryText(Aws::String &&value)
Definition: QueryRequest.h:111
Aws::kendra::Model::QueryRequest::AddDocumentRelevanceOverrideConfigurations
QueryRequest & AddDocumentRelevanceOverrideConfigurations(DocumentRelevanceConfiguration &&value)
Definition: QueryRequest.h:463
Aws::kendra::Model::QueryRequest::WithVisitorId
QueryRequest & WithVisitorId(Aws::String &&value)
Definition: QueryRequest.h:670
Aws::kendra::Model::QueryRequest::SetFacets
void SetFacets(const Aws::Vector< Facet > &value)
Definition: QueryRequest.h:214
Aws::kendra::Model::QueryRequest::SetVisitorId
void SetVisitorId(const Aws::String &value)
Definition: QueryRequest.h:638
Aws::kendra::Model::QueryRequest::GetDocumentRelevanceOverrideConfigurations
const Aws::Vector< DocumentRelevanceConfiguration > & GetDocumentRelevanceOverrideConfigurations() const
Definition: QueryRequest.h:365
Aws::kendra::Model::QueryRequest::SetQueryText
void SetQueryText(const Aws::String &value)
Definition: QueryRequest.h:106
Aws::kendra::Model::QueryRequest::IndexIdHasBeenSet
bool IndexIdHasBeenSet() const
Definition: QueryRequest.h:54
Aws::kendra::Model::QueryRequest::SetSortingConfiguration
void SetSortingConfiguration(const SortingConfiguration &value)
Definition: QueryRequest.h:552
Aws::kendra::Model::QueryRequest::AddFacets
QueryRequest & AddFacets(Facet &&value)
Definition: QueryRequest.h:249
Aws::kendra::Model::SortingConfiguration
Definition: SortingConfiguration.h:40
Aws::kendra::Model::QueryRequest::SetIndexId
void SetIndexId(const Aws::String &value)
Definition: QueryRequest.h:60
Aws::kendra::Model::QueryRequest::GetSortingConfiguration
const SortingConfiguration & GetSortingConfiguration() const
Definition: QueryRequest.h:532
Aws::kendra::Model::QueryRequest::WithIndexId
QueryRequest & WithIndexId(const Aws::String &value)
Definition: QueryRequest.h:78
Aws::kendra::Model::QueryRequest::WithPageSize
QueryRequest & WithPageSize(int value)
Definition: QueryRequest.h:521
Aws::kendra::Model::QueryRequest::WithVisitorId
QueryRequest & WithVisitorId(const Aws::String &value)
Definition: QueryRequest.h:662
AWSString.h
Aws::kendra::Model::QueryRequest::GetRequestedDocumentAttributes
const Aws::Vector< Aws::String > & GetRequestedDocumentAttributes() const
Definition: QueryRequest.h:257
Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes
QueryRequest & AddRequestedDocumentAttributes(const char *value)
Definition: QueryRequest.h:313
Aws::kendra::Model::QueryRequest::SetAttributeFilter
void SetAttributeFilter(const AttributeFilter &value)
Definition: QueryRequest.h:162
Aws::kendra::Model::QueryRequest::SetSortingConfiguration
void SetSortingConfiguration(SortingConfiguration &&value)
Definition: QueryRequest.h:562
Aws::kendra::Model::QueryRequest::GetAttributeFilter
const AttributeFilter & GetAttributeFilter() const
Definition: QueryRequest.h:142
Aws::kendra::Model::QueryRequest::WithFacets
QueryRequest & WithFacets(const Aws::Vector< Facet > &value)
Definition: QueryRequest.h:228
SortingConfiguration.h
Aws::kendra::Model::QueryRequest::PageNumberHasBeenSet
bool PageNumberHasBeenSet() const
Definition: QueryRequest.h:478
Aws::kendra::Model::QueryRequest::SetPageNumber
void SetPageNumber(int value)
Definition: QueryRequest.h:485
Aws::kendra::Model::QueryRequest::GetQueryText
const Aws::String & GetQueryText() const
Definition: QueryRequest.h:96
DocumentRelevanceConfiguration.h
Aws::kendra::Model::QueryRequest::WithUserContext
QueryRequest & WithUserContext(UserContext &&value)
Definition: QueryRequest.h:613
Aws::kendra::Model::QueryRequest::SortingConfigurationHasBeenSet
bool SortingConfigurationHasBeenSet() const
Definition: QueryRequest.h:542
Aws::kendra::Model::QueryRequest::WithSortingConfiguration
QueryRequest & WithSortingConfiguration(SortingConfiguration &&value)
Definition: QueryRequest.h:582
Aws::kendra::Model::QueryRequest::WithSortingConfiguration
QueryRequest & WithSortingConfiguration(const SortingConfiguration &value)
Definition: QueryRequest.h:572
Aws::kendra::Model::QueryRequest::WithUserContext
QueryRequest & WithUserContext(const UserContext &value)
Definition: QueryRequest.h:608
Aws::kendra::Model::QueryRequest::WithAttributeFilter
QueryRequest & WithAttributeFilter(const AttributeFilter &value)
Definition: QueryRequest.h:182
Aws::kendra::Model::QueryRequest::SetDocumentRelevanceOverrideConfigurations
void SetDocumentRelevanceOverrideConfigurations(Aws::Vector< DocumentRelevanceConfiguration > &&value)
Definition: QueryRequest.h:407
Aws::kendra::Model::QueryRequest
Definition: QueryRequest.h:29
Aws::kendra::Model::QueryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::kendra::Model::QueryRequest::SetAttributeFilter
void SetAttributeFilter(AttributeFilter &&value)
Definition: QueryRequest.h:172
Aws::kendra::Model::DocumentRelevanceConfiguration
Definition: DocumentRelevanceConfiguration.h:34
Aws::kendra::Model::QueryRequest::SetDocumentRelevanceOverrideConfigurations
void SetDocumentRelevanceOverrideConfigurations(const Aws::Vector< DocumentRelevanceConfiguration > &value)
Definition: QueryRequest.h:393
Aws::kendra::Model::QueryRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: QueryRequest.h:507
Aws::kendra::Model::QueryRequest::AttributeFilterHasBeenSet
bool AttributeFilterHasBeenSet() const
Definition: QueryRequest.h:152
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::kendra::Model::QueryRequest::GetIndexId
const Aws::String & GetIndexId() const
Definition: QueryRequest.h:48
Aws::kendra::Model::QueryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::kendra::Model::QueryRequest::SetVisitorId
void SetVisitorId(Aws::String &&value)
Definition: QueryRequest.h:646
Aws::kendra::Model::QueryRequest::WithIndexId
QueryRequest & WithIndexId(Aws::String &&value)
Definition: QueryRequest.h:84
Aws::kendra::Model::Facet
Definition: Facet.h:32
AWS_KENDRA_API
#define AWS_KENDRA_API
Definition: Kendra_EXPORTS.h:28
Aws::kendra::Model::QueryRequest::DocumentRelevanceOverrideConfigurationsHasBeenSet
bool DocumentRelevanceOverrideConfigurationsHasBeenSet() const
Definition: QueryRequest.h:379
Aws::kendra::Model::QueryRequest::WithVisitorId
QueryRequest & WithVisitorId(const char *value)
Definition: QueryRequest.h:678
Aws::kendra::Model::QueryRequest::WithIndexId
QueryRequest & WithIndexId(const char *value)
Definition: QueryRequest.h:90
Aws::kendra::Model::QueryRequest::GetVisitorId
const Aws::String & GetVisitorId() const
Definition: QueryRequest.h:622
Aws::kendra::Model::QueryRequest::AddRequestedDocumentAttributes
QueryRequest & AddRequestedDocumentAttributes(const Aws::String &value)
Definition: QueryRequest.h:299
Aws::kendra::Model::QueryRequest::UserContextHasBeenSet
bool UserContextHasBeenSet() const
Definition: QueryRequest.h:593
Aws::kendra::Model::QueryRequest::WithRequestedDocumentAttributes
QueryRequest & WithRequestedDocumentAttributes(Aws::Vector< Aws::String > &&value)
Definition: QueryRequest.h:292
Aws::kendra::Model::QueryRequest::SetFacets
void SetFacets(Aws::Vector< Facet > &&value)
Definition: QueryRequest.h:221
Aws::kendra::Model::QueryRequest::QueryResultTypeFilterHasBeenSet
bool QueryResultTypeFilterHasBeenSet() const
Definition: QueryRequest.h:326