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
52 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
53 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
54 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
56 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
58 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
70 template<
typename KnowledgeBaseIdT = Aws::String>
71 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
72 template<
typename KnowledgeBaseIdT = Aws::String>
82 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
93 template<
typename NextTokenT = Aws::String>
94 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
95 template<
typename NextTokenT = Aws::String>
105 template<
typename SearchExpressionT = QuickResponseSearchExpression>
106 void SetSearchExpression(SearchExpressionT&& value) { m_searchExpressionHasBeenSet =
true; m_searchExpression = std::forward<SearchExpressionT>(value); }
107 template<
typename SearchExpressionT = QuickResponseSearchExpression>
113 bool m_attributesHasBeenSet =
false;
116 bool m_knowledgeBaseIdHasBeenSet =
false;
119 bool m_maxResultsHasBeenSet =
false;
122 bool m_nextTokenHasBeenSet =
false;
124 QuickResponseSearchExpression m_searchExpression;
125 bool m_searchExpressionHasBeenSet =
false;
int GetMaxResults() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetSearchExpression(SearchExpressionT &&value)
bool NextTokenHasBeenSet() const
const Aws::String & GetKnowledgeBaseId() const
bool KnowledgeBaseIdHasBeenSet() const
void SetNextToken(NextTokenT &&value)
SearchQuickResponsesRequest & WithNextToken(NextTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetMaxResults(int value)
AWS_CONNECTWISDOMSERVICE_API Aws::String SerializePayload() const override
SearchQuickResponsesRequest & WithMaxResults(int value)
SearchQuickResponsesRequest & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_CONNECTWISDOMSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const QuickResponseSearchExpression & GetSearchExpression() const
virtual const char * GetServiceRequestName() const override
bool SearchExpressionHasBeenSet() const
const Aws::String & GetNextToken() const
SearchQuickResponsesRequest & WithSearchExpression(SearchExpressionT &&value)
SearchQuickResponsesRequest & WithAttributes(AttributesT &&value)
void SetAttributes(AttributesT &&value)
AWS_CONNECTWISDOMSERVICE_API SearchQuickResponsesRequest()=default
bool MaxResultsHasBeenSet() const
SearchQuickResponsesRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool AttributesHasBeenSet() const
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