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>
90 m_maxResultsHasBeenSet =
true;
109 template <
typename BiasPositionT = Aws::Vector<
double>>
111 m_biasPositionHasBeenSet =
true;
112 m_biasPosition = std::forward<BiasPositionT>(value);
114 template <
typename BiasPositionT = Aws::Vector<
double>>
120 m_biasPositionHasBeenSet =
true;
121 m_biasPosition.push_back(value);
133 template <
typename FilterT = SearchTextFilter>
135 m_filterHasBeenSet =
true;
136 m_filter = std::forward<FilterT>(value);
138 template <
typename FilterT = SearchTextFilter>
152 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
154 m_additionalFeaturesHasBeenSet =
true;
155 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
157 template <
typename AdditionalFeaturesT = Aws::Vector<SearchTextAdditionalFeature>>
163 m_additionalFeaturesHasBeenSet =
true;
164 m_additionalFeatures.push_back(value);
178 template <
typename LanguageT = Aws::String>
180 m_languageHasBeenSet =
true;
181 m_language = std::forward<LanguageT>(value);
183 template <
typename LanguageT = Aws::String>
198 template <
typename PoliticalViewT = Aws::String>
200 m_politicalViewHasBeenSet =
true;
201 m_politicalView = std::forward<PoliticalViewT>(value);
203 template <
typename PoliticalViewT = Aws::String>
223 m_intendedUseHasBeenSet =
true;
224 m_intendedUse = value;
239 template <
typename NextTokenT = Aws::String>
241 m_nextTokenHasBeenSet =
true;
242 m_nextToken = std::forward<NextTokenT>(value);
244 template <
typename NextTokenT = Aws::String>
258 template <
typename KeyT = Aws::String>
260 m_keyHasBeenSet =
true;
261 m_key = std::forward<KeyT>(value);
263 template <
typename KeyT = Aws::String>
265 SetKey(std::forward<KeyT>(value));
271 bool m_queryTextHasBeenSet =
false;
274 bool m_queryIdHasBeenSet =
false;
277 bool m_maxResultsHasBeenSet =
false;
280 bool m_biasPositionHasBeenSet =
false;
282 SearchTextFilter m_filter;
283 bool m_filterHasBeenSet =
false;
286 bool m_additionalFeaturesHasBeenSet =
false;
289 bool m_languageHasBeenSet =
false;
292 bool m_politicalViewHasBeenSet =
false;
295 bool m_intendedUseHasBeenSet =
false;
298 bool m_nextTokenHasBeenSet =
false;
301 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