7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnectRequest.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/QuickResponseSearchExpression.h>
46 template <
typename KnowledgeBaseIdT = Aws::String>
48 m_knowledgeBaseIdHasBeenSet =
true;
49 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
51 template <
typename KnowledgeBaseIdT = Aws::String>
64 template <
typename SearchExpressionT = QuickResponseSearchExpression>
66 m_searchExpressionHasBeenSet =
true;
67 m_searchExpression = std::forward<SearchExpressionT>(value);
69 template <
typename SearchExpressionT = QuickResponseSearchExpression>
83 template <
typename NextTokenT = Aws::String>
85 m_nextTokenHasBeenSet =
true;
86 m_nextToken = std::forward<NextTokenT>(value);
88 template <
typename NextTokenT = Aws::String>
102 m_maxResultsHasBeenSet =
true;
103 m_maxResults = value;
120 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
122 m_attributesHasBeenSet =
true;
123 m_attributes = std::forward<AttributesT>(value);
125 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
130 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
132 m_attributesHasBeenSet =
true;
133 m_attributes.emplace(std::forward<AttributesKeyT>(
key), std::forward<AttributesValueT>(value));
147 bool m_knowledgeBaseIdHasBeenSet =
false;
148 bool m_searchExpressionHasBeenSet =
false;
149 bool m_nextTokenHasBeenSet =
false;
150 bool m_maxResultsHasBeenSet =
false;
151 bool m_attributesHasBeenSet =
false;
bool MaxResultsHasBeenSet() const
bool NextTokenHasBeenSet() const
int GetMaxResults() const
void SetAttributes(AttributesT &&value)
SearchQuickResponsesRequest & WithAttributes(AttributesT &&value)
const Aws::String & GetKnowledgeBaseId() const
virtual const char * GetServiceRequestName() const override
const QuickResponseSearchExpression & GetSearchExpression() const
void SetNextToken(NextTokenT &&value)
SearchQuickResponsesRequest & WithMaxResults(int value)
void SetSearchExpression(SearchExpressionT &&value)
bool SearchExpressionHasBeenSet() const
void SetMaxResults(int value)
SearchQuickResponsesRequest & WithSearchExpression(SearchExpressionT &&value)
SearchQuickResponsesRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool KnowledgeBaseIdHasBeenSet() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
SearchQuickResponsesRequest & WithNextToken(NextTokenT &&value)
bool AttributesHasBeenSet() const
AWS_QCONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
SearchQuickResponsesRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::String & GetNextToken() const
AWS_QCONNECT_API SearchQuickResponsesRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String