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;
86 m_maxQueryRefinementsHasBeenSet =
true;
87 m_maxQueryRefinements = value;
105 template <
typename BiasPositionT = Aws::Vector<
double>>
107 m_biasPositionHasBeenSet =
true;
108 m_biasPosition = std::forward<BiasPositionT>(value);
110 template <
typename BiasPositionT = Aws::Vector<
double>>
116 m_biasPositionHasBeenSet =
true;
117 m_biasPosition.push_back(value);
129 template <
typename FilterT = SuggestFilter>
131 m_filterHasBeenSet =
true;
132 m_filter = std::forward<FilterT>(value);
134 template <
typename FilterT = SuggestFilter>
148 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
150 m_additionalFeaturesHasBeenSet =
true;
151 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
153 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
159 m_additionalFeaturesHasBeenSet =
true;
160 m_additionalFeatures.push_back(value);
174 template <
typename LanguageT = Aws::String>
176 m_languageHasBeenSet =
true;
177 m_language = std::forward<LanguageT>(value);
179 template <
typename LanguageT = Aws::String>
194 template <
typename PoliticalViewT = Aws::String>
196 m_politicalViewHasBeenSet =
true;
197 m_politicalView = std::forward<PoliticalViewT>(value);
199 template <
typename PoliticalViewT = Aws::String>
214 m_intendedUseHasBeenSet =
true;
215 m_intendedUse = value;
230 template <
typename KeyT = Aws::String>
232 m_keyHasBeenSet =
true;
233 m_key = std::forward<KeyT>(value);
235 template <
typename KeyT = Aws::String>
237 SetKey(std::forward<KeyT>(value));
246 int m_maxQueryRefinements{0};
250 SuggestFilter m_filter;
261 bool m_queryTextHasBeenSet =
false;
262 bool m_maxResultsHasBeenSet =
false;
263 bool m_maxQueryRefinementsHasBeenSet =
false;
264 bool m_biasPositionHasBeenSet =
false;
265 bool m_filterHasBeenSet =
false;
266 bool m_additionalFeaturesHasBeenSet =
false;
267 bool m_languageHasBeenSet =
false;
268 bool m_politicalViewHasBeenSet =
false;
269 bool m_intendedUseHasBeenSet =
false;
270 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