7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/ContentSource.h>
11#include <aws/qbusiness/model/AttributeFilter.h>
43 template<
typename ApplicationIdT = Aws::String>
45 template<
typename ApplicationIdT = Aws::String>
55 template<
typename QueryTextT = Aws::String>
56 void SetQueryText(
QueryTextT&& value) { m_queryTextHasBeenSet =
true; m_queryText = std::forward<QueryTextT>(value); }
57 template<
typename QueryTextT = Aws::String>
67 template<
typename ContentSourceT = ContentSource>
69 template<
typename ContentSourceT = ContentSource>
77 template<
typename AttributeFilterT = AttributeFilter>
79 template<
typename AttributeFilterT = AttributeFilter>
89 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
100 template<
typename NextTokenT = Aws::String>
102 template<
typename NextTokenT = Aws::String>
108 bool m_applicationIdHasBeenSet =
false;
111 bool m_queryTextHasBeenSet =
false;
114 bool m_contentSourceHasBeenSet =
false;
117 bool m_attributeFilterHasBeenSet =
false;
120 bool m_maxResultsHasBeenSet =
false;
123 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