7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/ConnectWisdomServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/wisdom/model/QuickResponseSearchExpression.h>
20namespace ConnectWisdomService
75 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
87 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
100 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
120 bool m_attributesHasBeenSet =
false;
123 bool m_knowledgeBaseIdHasBeenSet =
false;
126 bool m_maxResultsHasBeenSet =
false;
129 bool m_nextTokenHasBeenSet =
false;
132 bool m_searchExpressionHasBeenSet =
false;
SearchQuickResponsesRequest & WithNextToken(const char *value)
int GetMaxResults() const
AWS_CONNECTWISDOMSERVICE_API SearchQuickResponsesRequest()
void SetNextToken(Aws::String &&value)
void SetSearchExpression(QuickResponseSearchExpression &&value)
SearchQuickResponsesRequest & WithSearchExpression(QuickResponseSearchExpression &&value)
SearchQuickResponsesRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SearchQuickResponsesRequest & WithNextToken(Aws::String &&value)
bool NextTokenHasBeenSet() const
SearchQuickResponsesRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool KnowledgeBaseIdHasBeenSet() const
SearchQuickResponsesRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetMaxResults(int value)
void SetNextToken(const char *value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
SearchQuickResponsesRequest & WithMaxResults(int value)
SearchQuickResponsesRequest & AddAttributes(const char *key, Aws::String &&value)
SearchQuickResponsesRequest & WithKnowledgeBaseId(const Aws::String &value)
void SetKnowledgeBaseId(const char *value)
AWS_CONNECTWISDOMSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchQuickResponsesRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const QuickResponseSearchExpression & GetSearchExpression() const
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
SearchQuickResponsesRequest & WithKnowledgeBaseId(const char *value)
SearchQuickResponsesRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
bool SearchExpressionHasBeenSet() const
SearchQuickResponsesRequest & AddAttributes(const char *key, const char *value)
const Aws::String & GetNextToken() const
void SetSearchExpression(const QuickResponseSearchExpression &value)
SearchQuickResponsesRequest & AddAttributes(Aws::String &&key, const char *value)
void SetKnowledgeBaseId(const Aws::String &value)
SearchQuickResponsesRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
SearchQuickResponsesRequest & WithSearchExpression(const QuickResponseSearchExpression &value)
void SetKnowledgeBaseId(Aws::String &&value)
SearchQuickResponsesRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool MaxResultsHasBeenSet() const
bool AttributesHasBeenSet() const
SearchQuickResponsesRequest & WithKnowledgeBaseId(Aws::String &&value)
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