7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/ConnectWisdomServiceRequest.h>
10#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
11#include <aws/wisdom/model/QuickResponseSearchExpression.h>
19namespace ConnectWisdomService {
47 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
49 m_attributesHasBeenSet =
true;
50 m_attributes = std::forward<AttributesT>(value);
52 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
57 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
59 m_attributesHasBeenSet =
true;
60 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
73 template <
typename KnowledgeBaseIdT = Aws::String>
75 m_knowledgeBaseIdHasBeenSet =
true;
76 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
78 template <
typename KnowledgeBaseIdT = Aws::String>
92 m_maxResultsHasBeenSet =
true;
108 template <
typename NextTokenT = Aws::String>
110 m_nextTokenHasBeenSet =
true;
111 m_nextToken = std::forward<NextTokenT>(value);
113 template <
typename NextTokenT = Aws::String>
126 template <
typename SearchExpressionT = QuickResponseSearchExpression>
128 m_searchExpressionHasBeenSet =
true;
129 m_searchExpression = std::forward<SearchExpressionT>(value);
131 template <
typename SearchExpressionT = QuickResponseSearchExpression>
146 QuickResponseSearchExpression m_searchExpression;
147 bool m_attributesHasBeenSet =
false;
148 bool m_knowledgeBaseIdHasBeenSet =
false;
149 bool m_maxResultsHasBeenSet =
false;
150 bool m_nextTokenHasBeenSet =
false;
151 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