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/SuggestAdditionalFeature.h>
12#include <aws/geo-places/model/SuggestFilter.h>
13#include <aws/geo-places/model/SuggestIntendedUse.h>
14#include <aws/geo-places/model/SuggestTravelMode.h>
50 template <
typename QueryTextT = Aws::String>
52 m_queryTextHasBeenSet =
true;
53 m_queryText = std::forward<QueryTextT>(value);
55 template <
typename QueryTextT = Aws::String>
70 m_maxResultsHasBeenSet =
true;
90 m_maxQueryRefinementsHasBeenSet =
true;
91 m_maxQueryRefinements = value;
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 = SuggestFilter>
135 m_filterHasBeenSet =
true;
136 m_filter = std::forward<FilterT>(value);
138 template <
typename FilterT = SuggestFilter>
155 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
157 m_additionalFeaturesHasBeenSet =
true;
158 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
160 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
166 m_additionalFeaturesHasBeenSet =
true;
167 m_additionalFeatures.push_back(value);
186 template <
typename LanguageT = Aws::String>
188 m_languageHasBeenSet =
true;
189 m_language = std::forward<LanguageT>(value);
191 template <
typename LanguageT = Aws::String>
210 template <
typename PoliticalViewT = Aws::String>
212 m_politicalViewHasBeenSet =
true;
213 m_politicalView = std::forward<PoliticalViewT>(value);
215 template <
typename PoliticalViewT = Aws::String>
231 m_intendedUseHasBeenSet =
true;
232 m_intendedUse = value;
249 m_travelModeHasBeenSet =
true;
250 m_travelMode = value;
265 template <
typename KeyT = Aws::String>
267 m_keyHasBeenSet =
true;
268 m_key = std::forward<KeyT>(value);
270 template <
typename KeyT = Aws::String>
272 SetKey(std::forward<KeyT>(value));
281 int m_maxQueryRefinements{0};
285 SuggestFilter m_filter;
298 bool m_queryTextHasBeenSet =
false;
299 bool m_maxResultsHasBeenSet =
false;
300 bool m_maxQueryRefinementsHasBeenSet =
false;
301 bool m_biasPositionHasBeenSet =
false;
302 bool m_filterHasBeenSet =
false;
303 bool m_additionalFeaturesHasBeenSet =
false;
304 bool m_languageHasBeenSet =
false;
305 bool m_politicalViewHasBeenSet =
false;
306 bool m_intendedUseHasBeenSet =
false;
307 bool m_travelModeHasBeenSet =
false;
308 bool m_keyHasBeenSet =
false;
bool MaxQueryRefinementsHasBeenSet() const
void SetBiasPosition(BiasPositionT &&value)
bool IntendedUseHasBeenSet() const
bool BiasPositionHasBeenSet() const
bool PoliticalViewHasBeenSet() const
SuggestIntendedUse GetIntendedUse() const
SuggestRequest & AddBiasPosition(double value)
void SetKey(KeyT &&value)
SuggestRequest & AddAdditionalFeatures(SuggestAdditionalFeature value)
SuggestRequest & WithQueryText(QueryTextT &&value)
SuggestRequest & WithLanguage(LanguageT &&value)
SuggestRequest & WithMaxResults(int value)
void SetPoliticalView(PoliticalViewT &&value)
void SetFilter(FilterT &&value)
bool AdditionalFeaturesHasBeenSet() const
SuggestRequest & WithAdditionalFeatures(AdditionalFeaturesT &&value)
bool KeyHasBeenSet() const
bool MaxResultsHasBeenSet() const
SuggestRequest & WithMaxQueryRefinements(int value)
bool FilterHasBeenSet() const
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetKey() const
const SuggestFilter & GetFilter() const
int GetMaxResults() const
SuggestRequest & WithKey(KeyT &&value)
SuggestRequest & WithTravelMode(SuggestTravelMode value)
void SetLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
const Aws::String & GetPoliticalView() const
AWS_GEOPLACES_API Aws::String SerializePayload() const override
SuggestTravelMode GetTravelMode() const
const Aws::String & GetQueryText() const
void SetMaxResults(int value)
bool LanguageHasBeenSet() const
int GetMaxQueryRefinements() const
void SetMaxQueryRefinements(int value)
void SetIntendedUse(SuggestIntendedUse value)
void SetQueryText(QueryTextT &&value)
bool TravelModeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
SuggestRequest & WithBiasPosition(BiasPositionT &&value)
AWS_GEOPLACES_API SuggestRequest()=default
const Aws::Vector< double > & GetBiasPosition() const
bool QueryTextHasBeenSet() const
SuggestRequest & WithPoliticalView(PoliticalViewT &&value)
void SetAdditionalFeatures(AdditionalFeaturesT &&value)
const Aws::Vector< SuggestAdditionalFeature > & GetAdditionalFeatures() const
SuggestRequest & WithIntendedUse(SuggestIntendedUse value)
SuggestRequest & WithFilter(FilterT &&value)
void SetTravelMode(SuggestTravelMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector