7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/AttributeFilter.h>
11#include <aws/qbusiness/model/ContentSource.h>
39 template <
typename ApplicationIdT = Aws::String>
41 m_applicationIdHasBeenSet =
true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
44 template <
typename ApplicationIdT = Aws::String>
57 template <
typename QueryTextT = Aws::String>
59 m_queryTextHasBeenSet =
true;
60 m_queryText = std::forward<QueryTextT>(value);
62 template <
typename QueryTextT = Aws::String>
75 template <
typename ContentSourceT = ContentSource>
77 m_contentSourceHasBeenSet =
true;
78 m_contentSource = std::forward<ContentSourceT>(value);
80 template <
typename ContentSourceT = ContentSource>
91 template <
typename AttributeFilterT = AttributeFilter>
93 m_attributeFilterHasBeenSet =
true;
94 m_attributeFilter = std::forward<AttributeFilterT>(value);
96 template <
typename AttributeFilterT = AttributeFilter>
110 m_maxResultsHasBeenSet =
true;
111 m_maxResults = value;
126 template <
typename NextTokenT = Aws::String>
128 m_nextTokenHasBeenSet =
true;
129 m_nextToken = std::forward<NextTokenT>(value);
131 template <
typename NextTokenT = Aws::String>
139 bool m_applicationIdHasBeenSet =
false;
142 bool m_queryTextHasBeenSet =
false;
145 bool m_contentSourceHasBeenSet =
false;
148 bool m_attributeFilterHasBeenSet =
false;
151 bool m_maxResultsHasBeenSet =
false;
154 bool m_nextTokenHasBeenSet =
false;
SearchRelevantContentRequest & WithNextToken(NextTokenT &&value)
AWS_QBUSINESS_API SearchRelevantContentRequest()=default
bool MaxResultsHasBeenSet() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
void SetNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
void SetAttributeFilter(AttributeFilterT &&value)
const Aws::String & GetApplicationId() const
const AttributeFilter & GetAttributeFilter() const
bool NextTokenHasBeenSet() const
int GetMaxResults() const
void SetApplicationId(ApplicationIdT &&value)
bool QueryTextHasBeenSet() const
const ContentSource & GetContentSource() const
void SetMaxResults(int value)
void SetContentSource(ContentSourceT &&value)
SearchRelevantContentRequest & WithMaxResults(int value)
SearchRelevantContentRequest & WithAttributeFilter(AttributeFilterT &&value)
bool AttributeFilterHasBeenSet() const
bool ContentSourceHasBeenSet() const
SearchRelevantContentRequest & WithApplicationId(ApplicationIdT &&value)
bool ApplicationIdHasBeenSet() const
void SetQueryText(QueryTextT &&value)
SearchRelevantContentRequest & WithContentSource(ContentSourceT &&value)
const Aws::String & GetNextToken() const
SearchRelevantContentRequest & WithQueryText(QueryTextT &&value)
const Aws::String & GetQueryText() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String