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>
49 template <
typename QueryTextT = Aws::String>
51 m_queryTextHasBeenSet =
true;
52 m_queryText = std::forward<QueryTextT>(value);
54 template <
typename QueryTextT = Aws::String>
69 m_maxResultsHasBeenSet =
true;
89 m_maxQueryRefinementsHasBeenSet =
true;
90 m_maxQueryRefinements = value;
108 template <
typename BiasPositionT = Aws::Vector<
double>>
110 m_biasPositionHasBeenSet =
true;
111 m_biasPosition = std::forward<BiasPositionT>(value);
113 template <
typename BiasPositionT = Aws::Vector<
double>>
119 m_biasPositionHasBeenSet =
true;
120 m_biasPosition.push_back(value);
132 template <
typename FilterT = SuggestFilter>
134 m_filterHasBeenSet =
true;
135 m_filter = std::forward<FilterT>(value);
137 template <
typename FilterT = SuggestFilter>
154 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
156 m_additionalFeaturesHasBeenSet =
true;
157 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
159 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
165 m_additionalFeaturesHasBeenSet =
true;
166 m_additionalFeatures.push_back(value);
184 template <
typename LanguageT = Aws::String>
186 m_languageHasBeenSet =
true;
187 m_language = std::forward<LanguageT>(value);
189 template <
typename LanguageT = Aws::String>
208 template <
typename PoliticalViewT = Aws::String>
210 m_politicalViewHasBeenSet =
true;
211 m_politicalView = std::forward<PoliticalViewT>(value);
213 template <
typename PoliticalViewT = Aws::String>
229 m_intendedUseHasBeenSet =
true;
230 m_intendedUse = value;
245 template <
typename KeyT = Aws::String>
247 m_keyHasBeenSet =
true;
248 m_key = std::forward<KeyT>(value);
250 template <
typename KeyT = Aws::String>
252 SetKey(std::forward<KeyT>(value));
261 int m_maxQueryRefinements{0};
265 SuggestFilter m_filter;
276 bool m_queryTextHasBeenSet =
false;
277 bool m_maxResultsHasBeenSet =
false;
278 bool m_maxQueryRefinementsHasBeenSet =
false;
279 bool m_biasPositionHasBeenSet =
false;
280 bool m_filterHasBeenSet =
false;
281 bool m_additionalFeaturesHasBeenSet =
false;
282 bool m_languageHasBeenSet =
false;
283 bool m_politicalViewHasBeenSet =
false;
284 bool m_intendedUseHasBeenSet =
false;
285 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)
void SetLanguage(LanguageT &&value)
const Aws::String & GetLanguage() const
const Aws::String & GetPoliticalView() const
AWS_GEOPLACES_API Aws::String SerializePayload() const override
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)
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector