7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-places/GeoPlacesRequest.h>
10#include <aws/geo-places/GeoPlaces_EXPORTS.h>
11#include <aws/geo-places/model/SearchTextAdditionalFeature.h>
12#include <aws/geo-places/model/SearchTextFilter.h>
13#include <aws/geo-places/model/SearchTextIntendedUse.h>
49 template <
typename QueryTextT = Aws::String>
51 m_queryTextHasBeenSet =
true;
52 m_queryText = std::forward<QueryTextT>(value);
54 template <
typename QueryTextT = Aws::String>
73 template <
typename QueryIdT = Aws::String>
75 m_queryIdHasBeenSet =
true;
76 m_queryId = std::forward<QueryIdT>(value);
78 template <
typename QueryIdT = Aws::String>
93 m_maxResultsHasBeenSet =
true;
112 template <
typename BiasPositionT = Aws::Vector<
double>>
114 m_biasPositionHasBeenSet =
true;
115 m_biasPosition = std::forward<BiasPositionT>(value);
117 template <
typename BiasPositionT = Aws::Vector<
double>>
123 m_biasPositionHasBeenSet =
true;
124 m_biasPosition.push_back(value);
136 template <
typename FilterT = SearchTextFilter>
138 m_filterHasBeenSet =
true;
139 m_filter = std::forward<FilterT>(value);
141 template <
typename FilterT = SearchTextFilter>
158 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
160 m_additionalFeaturesHasBeenSet =
true;
161 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
163 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
169 m_additionalFeaturesHasBeenSet =
true;
170 m_additionalFeatures.push_back(value);
188 template <
typename LanguageT = Aws::String>
190 m_languageHasBeenSet =
true;
191 m_language = std::forward<LanguageT>(value);
193 template <
typename LanguageT = Aws::String>
212 template <
typename PoliticalViewT = Aws::String>
214 m_politicalViewHasBeenSet =
true;
215 m_politicalView = std::forward<PoliticalViewT>(value);
217 template <
typename PoliticalViewT = Aws::String>
238 m_intendedUseHasBeenSet =
true;
239 m_intendedUse = value;
254 template <
typename NextTokenT = Aws::String>
256 m_nextTokenHasBeenSet =
true;
257 m_nextToken = std::forward<NextTokenT>(value);
259 template <
typename NextTokenT = Aws::String>
273 template <
typename KeyT = Aws::String>
275 m_keyHasBeenSet =
true;
276 m_key = std::forward<KeyT>(value);
278 template <
typename KeyT = Aws::String>
280 SetKey(std::forward<KeyT>(value));
293 SearchTextFilter m_filter;
306 bool m_queryTextHasBeenSet =
false;
307 bool m_queryIdHasBeenSet =
false;
308 bool m_maxResultsHasBeenSet =
false;
309 bool m_biasPositionHasBeenSet =
false;
310 bool m_filterHasBeenSet =
false;
311 bool m_additionalFeaturesHasBeenSet =
false;
312 bool m_languageHasBeenSet =
false;
313 bool m_politicalViewHasBeenSet =
false;
314 bool m_intendedUseHasBeenSet =
false;
315 bool m_nextTokenHasBeenSet =
false;
316 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