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>
14#include <aws/geo-places/model/SearchTextTravelMode.h>
50 template <
typename QueryTextT = Aws::String>
52 m_queryTextHasBeenSet =
true;
53 m_queryText = std::forward<QueryTextT>(value);
55 template <
typename QueryTextT = Aws::String>
74 template <
typename QueryIdT = Aws::String>
76 m_queryIdHasBeenSet =
true;
77 m_queryId = std::forward<QueryIdT>(value);
79 template <
typename QueryIdT = Aws::String>
94 m_maxResultsHasBeenSet =
true;
113 template <
typename BiasPositionT = Aws::Vector<
double>>
115 m_biasPositionHasBeenSet =
true;
116 m_biasPosition = std::forward<BiasPositionT>(value);
118 template <
typename BiasPositionT = Aws::Vector<
double>>
124 m_biasPositionHasBeenSet =
true;
125 m_biasPosition.push_back(value);
137 template <
typename FilterT = SearchTextFilter>
139 m_filterHasBeenSet =
true;
140 m_filter = std::forward<FilterT>(value);
142 template <
typename FilterT = SearchTextFilter>
159 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
161 m_additionalFeaturesHasBeenSet =
true;
162 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
164 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
170 m_additionalFeaturesHasBeenSet =
true;
171 m_additionalFeatures.push_back(value);
190 template <
typename LanguageT = Aws::String>
192 m_languageHasBeenSet =
true;
193 m_language = std::forward<LanguageT>(value);
195 template <
typename LanguageT = Aws::String>
214 template <
typename PoliticalViewT = Aws::String>
216 m_politicalViewHasBeenSet =
true;
217 m_politicalView = std::forward<PoliticalViewT>(value);
219 template <
typename PoliticalViewT = Aws::String>
240 m_intendedUseHasBeenSet =
true;
241 m_intendedUse = value;
256 template <
typename NextTokenT = Aws::String>
258 m_nextTokenHasBeenSet =
true;
259 m_nextToken = std::forward<NextTokenT>(value);
261 template <
typename NextTokenT = Aws::String>
277 m_travelModeHasBeenSet =
true;
278 m_travelMode = value;
293 template <
typename KeyT = Aws::String>
295 m_keyHasBeenSet =
true;
296 m_key = std::forward<KeyT>(value);
298 template <
typename KeyT = Aws::String>
300 SetKey(std::forward<KeyT>(value));
313 SearchTextFilter m_filter;
328 bool m_queryTextHasBeenSet =
false;
329 bool m_queryIdHasBeenSet =
false;
330 bool m_maxResultsHasBeenSet =
false;
331 bool m_biasPositionHasBeenSet =
false;
332 bool m_filterHasBeenSet =
false;
333 bool m_additionalFeaturesHasBeenSet =
false;
334 bool m_languageHasBeenSet =
false;
335 bool m_politicalViewHasBeenSet =
false;
336 bool m_intendedUseHasBeenSet =
false;
337 bool m_nextTokenHasBeenSet =
false;
338 bool m_travelModeHasBeenSet =
false;
339 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)
SearchTextRequest & WithTravelMode(SearchTextTravelMode 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)
bool TravelModeHasBeenSet() const
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)
SearchTextTravelMode GetTravelMode() const
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)
void SetTravelMode(SearchTextTravelMode 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