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>
68 m_maxResultsHasBeenSet =
true;
85 m_maxQueryRefinementsHasBeenSet =
true;
86 m_maxQueryRefinements = value;
104 template <
typename BiasPositionT = Aws::Vector<
double>>
106 m_biasPositionHasBeenSet =
true;
107 m_biasPosition = std::forward<BiasPositionT>(value);
109 template <
typename BiasPositionT = Aws::Vector<
double>>
115 m_biasPositionHasBeenSet =
true;
116 m_biasPosition.push_back(value);
128 template <
typename FilterT = SuggestFilter>
130 m_filterHasBeenSet =
true;
131 m_filter = std::forward<FilterT>(value);
133 template <
typename FilterT = SuggestFilter>
147 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
149 m_additionalFeaturesHasBeenSet =
true;
150 m_additionalFeatures = std::forward<AdditionalFeaturesT>(value);
152 template <
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
158 m_additionalFeaturesHasBeenSet =
true;
159 m_additionalFeatures.push_back(value);
173 template <
typename LanguageT = Aws::String>
175 m_languageHasBeenSet =
true;
176 m_language = std::forward<LanguageT>(value);
178 template <
typename LanguageT = Aws::String>
193 template <
typename PoliticalViewT = Aws::String>
195 m_politicalViewHasBeenSet =
true;
196 m_politicalView = std::forward<PoliticalViewT>(value);
198 template <
typename PoliticalViewT = Aws::String>
213 m_intendedUseHasBeenSet =
true;
214 m_intendedUse = value;
229 template <
typename KeyT = Aws::String>
231 m_keyHasBeenSet =
true;
232 m_key = std::forward<KeyT>(value);
234 template <
typename KeyT = Aws::String>
236 SetKey(std::forward<KeyT>(value));
242 bool m_queryTextHasBeenSet =
false;
245 bool m_maxResultsHasBeenSet =
false;
247 int m_maxQueryRefinements{0};
248 bool m_maxQueryRefinementsHasBeenSet =
false;
251 bool m_biasPositionHasBeenSet =
false;
253 SuggestFilter m_filter;
254 bool m_filterHasBeenSet =
false;
257 bool m_additionalFeaturesHasBeenSet =
false;
260 bool m_languageHasBeenSet =
false;
263 bool m_politicalViewHasBeenSet =
false;
266 bool m_intendedUseHasBeenSet =
false;
269 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