7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template<
typename IndexNameT = Aws::String>
42 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet =
true; m_indexName = std::forward<IndexNameT>(value); }
43 template<
typename IndexNameT = Aws::String>
56 template<
typename QueryStringT = Aws::String>
57 void SetQueryString(QueryStringT&& value) { m_queryStringHasBeenSet =
true; m_queryString = std::forward<QueryStringT>(value); }
58 template<
typename QueryStringT = Aws::String>
69 template<
typename NextTokenT = Aws::String>
70 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
71 template<
typename NextTokenT = Aws::String>
86 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
96 template<
typename QueryVersionT = Aws::String>
97 void SetQueryVersion(QueryVersionT&& value) { m_queryVersionHasBeenSet =
true; m_queryVersion = std::forward<QueryVersionT>(value); }
98 template<
typename QueryVersionT = Aws::String>
104 bool m_indexNameHasBeenSet =
false;
107 bool m_queryStringHasBeenSet =
false;
110 bool m_nextTokenHasBeenSet =
false;
113 bool m_maxResultsHasBeenSet =
false;
116 bool m_queryVersionHasBeenSet =
false;
AWS_IOT_API Aws::String SerializePayload() const override
void SetMaxResults(int value)
void SetIndexName(IndexNameT &&value)
bool MaxResultsHasBeenSet() const
bool QueryVersionHasBeenSet() const
bool NextTokenHasBeenSet() const
const Aws::String & GetQueryString() const
void SetQueryVersion(QueryVersionT &&value)
SearchIndexRequest & WithMaxResults(int value)
void SetNextToken(NextTokenT &&value)
SearchIndexRequest & WithNextToken(NextTokenT &&value)
void SetQueryString(QueryStringT &&value)
AWS_IOT_API SearchIndexRequest()=default
int GetMaxResults() const
const Aws::String & GetIndexName() const
bool IndexNameHasBeenSet() const
const Aws::String & GetQueryVersion() const
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
SearchIndexRequest & WithIndexName(IndexNameT &&value)
SearchIndexRequest & WithQueryVersion(QueryVersionT &&value)
SearchIndexRequest & WithQueryString(QueryStringT &&value)
bool QueryStringHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String