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>
71 template <
typename QueryIdT = Aws::String>
73 m_queryIdHasBeenSet =
true;
74 m_queryId = std::forward<QueryIdT>(value);
76 template <
typename QueryIdT = Aws::String>
91 m_maxResultsHasBeenSet =
true;
110 template <
typename BiasPositionT = Aws::Vector<
double>>
112 m_biasPositionHasBeenSet =
true;
113 m_biasPosition = std::forward<BiasPositionT>(value);
115 template <
typename BiasPositionT = Aws::Vector<
double>>
121 m_biasPositionHasBeenSet =
true;
122 m_biasPosition.push_back(value);
134 template <
typename FilterT = SearchTextFilter>
136 m_filterHasBeenSet =
true;
137 m_filter = std::forward<FilterT>(value);
139 template <
typename FilterT = SearchTextFilter>
153 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
155 m_additionalFeaturesHasBeenSet =
true;
156 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
158 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
164 m_additionalFeaturesHasBeenSet =
true;
165 m_additionalFeatures.push_back(value);
179 template <
typename LanguageT = Aws::String>
181 m_languageHasBeenSet =
true;
182 m_language = std::forward<LanguageT>(value);
184 template <
typename LanguageT = Aws::String>
199 template <
typename PoliticalViewT = Aws::String>
201 m_politicalViewHasBeenSet =
true;
202 m_politicalView = std::forward<PoliticalViewT>(value);
204 template <
typename PoliticalViewT = Aws::String>
224 m_intendedUseHasBeenSet =
true;
225 m_intendedUse = value;
240 template <
typename NextTokenT = Aws::String>
242 m_nextTokenHasBeenSet =
true;
243 m_nextToken = std::forward<NextTokenT>(value);
245 template <
typename NextTokenT = Aws::String>
259 template <
typename KeyT = Aws::String>
261 m_keyHasBeenSet =
true;
262 m_key = std::forward<KeyT>(value);
264 template <
typename KeyT = Aws::String>
266 SetKey(std::forward<KeyT>(value));
279 SearchTextFilter m_filter;
292 bool m_queryTextHasBeenSet =
false;
293 bool m_queryIdHasBeenSet =
false;
294 bool m_maxResultsHasBeenSet =
false;
295 bool m_biasPositionHasBeenSet =
false;
296 bool m_filterHasBeenSet =
false;
297 bool m_additionalFeaturesHasBeenSet =
false;
298 bool m_languageHasBeenSet =
false;
299 bool m_politicalViewHasBeenSet =
false;
300 bool m_intendedUseHasBeenSet =
false;
301 bool m_nextTokenHasBeenSet =
false;
302 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