7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/GeoPlacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/geo-places/model/SuggestFilter.h>
12#include <aws/geo-places/model/SuggestIntendedUse.h>
13#include <aws/geo-places/model/SuggestAdditionalFeature.h>
54 template<
typename QueryTextT = Aws::String>
55 void SetQueryText(QueryTextT&& value) { m_queryTextHasBeenSet =
true; m_queryText = std::forward<QueryTextT>(value); }
56 template<
typename QueryTextT = Aws::String>
66 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
77 inline void SetMaxQueryRefinements(
int value) { m_maxQueryRefinementsHasBeenSet =
true; m_maxQueryRefinements = value; }
91 template<
typename BiasPositionT = Aws::Vector<
double>>
92 void SetBiasPosition(BiasPositionT&& value) { m_biasPositionHasBeenSet =
true; m_biasPosition = std::forward<BiasPositionT>(value); }
93 template<
typename BiasPositionT = Aws::Vector<
double>>
105 template<
typename FilterT = SuggestFilter>
106 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
107 template<
typename FilterT = SuggestFilter>
118 template<
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
119 void SetAdditionalFeatures(AdditionalFeaturesT&& value) { m_additionalFeaturesHasBeenSet =
true; m_additionalFeatures = std::forward<AdditionalFeaturesT>(value); }
120 template<
typename AdditionalFeaturesT = Aws::Vector<SuggestAdditionalFeature>>
134 template<
typename LanguageT = Aws::String>
135 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
136 template<
typename LanguageT = Aws::String>
148 template<
typename PoliticalViewT = Aws::String>
149 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet =
true; m_politicalView = std::forward<PoliticalViewT>(value); }
150 template<
typename PoliticalViewT = Aws::String>
172 template<
typename KeyT = Aws::String>
173 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
174 template<
typename KeyT = Aws::String>
180 bool m_queryTextHasBeenSet =
false;
183 bool m_maxResultsHasBeenSet =
false;
185 int m_maxQueryRefinements{0};
186 bool m_maxQueryRefinementsHasBeenSet =
false;
189 bool m_biasPositionHasBeenSet =
false;
191 SuggestFilter m_filter;
192 bool m_filterHasBeenSet =
false;
195 bool m_additionalFeaturesHasBeenSet =
false;
198 bool m_languageHasBeenSet =
false;
201 bool m_politicalViewHasBeenSet =
false;
204 bool m_intendedUseHasBeenSet =
false;
207 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