7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/GeoPlacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-places/model/SearchTextFilter.h>
12#include <aws/geo-places/model/SearchTextIntendedUse.h>
13#include <aws/geo-places/model/SearchTextAdditionalFeature.h>
54 template<
typename QueryTextT = Aws::String>
55 void SetQueryText(QueryTextT&& value) { m_queryTextHasBeenSet =
true; m_queryText = std::forward<QueryTextT>(value); }
56 template<
typename QueryTextT = Aws::String>
70 template<
typename QueryIdT = Aws::String>
71 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet =
true; m_queryId = std::forward<QueryIdT>(value); }
72 template<
typename QueryIdT = Aws::String>
82 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
96 template<
typename BiasPositionT = Aws::Vector<
double>>
97 void SetBiasPosition(BiasPositionT&& value) { m_biasPositionHasBeenSet =
true; m_biasPosition = std::forward<BiasPositionT>(value); }
98 template<
typename BiasPositionT = Aws::Vector<
double>>
110 template<
typename FilterT = SearchTextFilter>
111 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
112 template<
typename FilterT = SearchTextFilter>
123 template<
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
124 void SetAdditionalFeatures(AdditionalFeaturesT&& value) { m_additionalFeaturesHasBeenSet =
true; m_additionalFeatures = std::forward<AdditionalFeaturesT>(value); }
125 template<
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
139 template<
typename LanguageT = Aws::String>
140 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
141 template<
typename LanguageT = Aws::String>
153 template<
typename PoliticalViewT = Aws::String>
154 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet =
true; m_politicalView = std::forward<PoliticalViewT>(value); }
155 template<
typename PoliticalViewT = Aws::String>
182 template<
typename NextTokenT = Aws::String>
183 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
184 template<
typename NextTokenT = Aws::String>
195 template<
typename KeyT = Aws::String>
196 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
197 template<
typename KeyT = Aws::String>
203 bool m_queryTextHasBeenSet =
false;
206 bool m_queryIdHasBeenSet =
false;
209 bool m_maxResultsHasBeenSet =
false;
212 bool m_biasPositionHasBeenSet =
false;
214 SearchTextFilter m_filter;
215 bool m_filterHasBeenSet =
false;
218 bool m_additionalFeaturesHasBeenSet =
false;
221 bool m_languageHasBeenSet =
false;
224 bool m_politicalViewHasBeenSet =
false;
227 bool m_intendedUseHasBeenSet =
false;
230 bool m_nextTokenHasBeenSet =
false;
233 bool m_keyHasBeenSet =
false;
void SetQueryText(QueryTextT &&value)
bool AdditionalFeaturesHasBeenSet() const
const Aws::Vector< double > & GetBiasPosition() const
AWS_GEOPLACES_API SearchTextRequest()=default
SearchTextRequest & WithKey(KeyT &&value)
SearchTextRequest & AddAdditionalFeatures(SearchTextAdditionalFeature value)
SearchTextRequest & WithNextToken(NextTokenT &&value)
void SetMaxResults(int value)
void SetLanguage(LanguageT &&value)
const Aws::String & GetQueryId() const
virtual const char * GetServiceRequestName() const override
bool PoliticalViewHasBeenSet() const
void SetPoliticalView(PoliticalViewT &&value)
SearchTextRequest & WithLanguage(LanguageT &&value)
bool FilterHasBeenSet() const
void SetAdditionalFeatures(AdditionalFeaturesT &&value)
const Aws::String & GetKey() const
void SetNextToken(NextTokenT &&value)
AWS_GEOPLACES_API Aws::String SerializePayload() const override
SearchTextRequest & WithQueryId(QueryIdT &&value)
bool BiasPositionHasBeenSet() const
SearchTextRequest & AddBiasPosition(double value)
bool MaxResultsHasBeenSet() const
SearchTextRequest & WithPoliticalView(PoliticalViewT &&value)
void SetQueryId(QueryIdT &&value)
bool QueryIdHasBeenSet() const
SearchTextIntendedUse GetIntendedUse() const
const Aws::Vector< SearchTextAdditionalFeature > & GetAdditionalFeatures() const
bool NextTokenHasBeenSet() const
int GetMaxResults() const
const Aws::String & GetLanguage() const
SearchTextRequest & WithFilter(FilterT &&value)
const SearchTextFilter & GetFilter() const
void SetFilter(FilterT &&value)
SearchTextRequest & WithQueryText(QueryTextT &&value)
bool KeyHasBeenSet() const
const Aws::String & GetNextToken() const
bool IntendedUseHasBeenSet() const
void SetIntendedUse(SearchTextIntendedUse value)
void SetBiasPosition(BiasPositionT &&value)
const Aws::String & GetQueryText() const
SearchTextRequest & WithBiasPosition(BiasPositionT &&value)
const Aws::String & GetPoliticalView() const
SearchTextRequest & WithMaxResults(int value)
bool LanguageHasBeenSet() const
SearchTextRequest & WithAdditionalFeatures(AdditionalFeaturesT &&value)
void SetKey(KeyT &&value)
SearchTextRequest & WithIntendedUse(SearchTextIntendedUse value)
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool QueryTextHasBeenSet() const
SearchTextAdditionalFeature
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector