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 inline void SetQueryText(
const char* value) { m_queryTextHasBeenSet =
true; m_queryText.assign(value); }
66 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
77 inline void SetMaxQueryRefinements(
int value) { m_maxQueryRefinementsHasBeenSet =
true; m_maxQueryRefinements = value; }
137 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
153 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
181 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
189 bool m_queryTextHasBeenSet =
false;
192 bool m_maxResultsHasBeenSet =
false;
194 int m_maxQueryRefinements;
195 bool m_maxQueryRefinementsHasBeenSet =
false;
198 bool m_biasPositionHasBeenSet =
false;
201 bool m_filterHasBeenSet =
false;
204 bool m_additionalFeaturesHasBeenSet =
false;
207 bool m_languageHasBeenSet =
false;
210 bool m_politicalViewHasBeenSet =
false;
213 bool m_intendedUseHasBeenSet =
false;
216 bool m_keyHasBeenSet =
false;
bool MaxQueryRefinementsHasBeenSet() const
SuggestRequest & WithQueryText(const Aws::String &value)
void SetKey(const Aws::String &value)
SuggestRequest & WithPoliticalView(const char *value)
bool IntendedUseHasBeenSet() const
bool BiasPositionHasBeenSet() const
bool PoliticalViewHasBeenSet() const
void SetLanguage(const char *value)
SuggestRequest & WithFilter(SuggestFilter &&value)
SuggestRequest & AddBiasPosition(double value)
SuggestRequest & WithIntendedUse(const SuggestIntendedUse &value)
SuggestRequest & WithQueryText(Aws::String &&value)
AWS_GEOPLACES_API SuggestRequest()
SuggestRequest & AddAdditionalFeatures(const SuggestAdditionalFeature &value)
void SetLanguage(const Aws::String &value)
void SetKey(const char *value)
SuggestRequest & WithMaxResults(int value)
bool AdditionalFeaturesHasBeenSet() const
SuggestRequest & WithLanguage(const char *value)
bool KeyHasBeenSet() const
bool MaxResultsHasBeenSet() const
SuggestRequest & WithMaxQueryRefinements(int value)
void SetBiasPosition(Aws::Vector< double > &&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
void SetPoliticalView(const char *value)
SuggestRequest & WithQueryText(const char *value)
void SetKey(Aws::String &&value)
SuggestRequest & WithAdditionalFeatures(const Aws::Vector< SuggestAdditionalFeature > &value)
void SetPoliticalView(const Aws::String &value)
const Aws::String & GetLanguage() const
void SetPoliticalView(Aws::String &&value)
SuggestRequest & WithKey(const char *value)
SuggestRequest & WithBiasPosition(Aws::Vector< double > &&value)
const SuggestIntendedUse & GetIntendedUse() const
const Aws::String & GetPoliticalView() const
AWS_GEOPLACES_API Aws::String SerializePayload() const override
SuggestRequest & WithKey(Aws::String &&value)
const Aws::String & GetQueryText() const
void SetMaxResults(int value)
bool LanguageHasBeenSet() const
int GetMaxQueryRefinements() const
SuggestRequest & WithPoliticalView(Aws::String &&value)
void SetMaxQueryRefinements(int value)
SuggestRequest & WithPoliticalView(const Aws::String &value)
SuggestRequest & WithIntendedUse(SuggestIntendedUse &&value)
void SetQueryText(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< double > & GetBiasPosition() const
SuggestRequest & AddAdditionalFeatures(SuggestAdditionalFeature &&value)
void SetIntendedUse(SuggestIntendedUse &&value)
void SetFilter(SuggestFilter &&value)
SuggestRequest & WithBiasPosition(const Aws::Vector< double > &value)
void SetAdditionalFeatures(const Aws::Vector< SuggestAdditionalFeature > &value)
bool QueryTextHasBeenSet() const
void SetBiasPosition(const Aws::Vector< double > &value)
SuggestRequest & WithLanguage(const Aws::String &value)
void SetLanguage(Aws::String &&value)
void SetQueryText(Aws::String &&value)
void SetAdditionalFeatures(Aws::Vector< SuggestAdditionalFeature > &&value)
const Aws::Vector< SuggestAdditionalFeature > & GetAdditionalFeatures() const
void SetQueryText(const Aws::String &value)
void SetFilter(const SuggestFilter &value)
void SetIntendedUse(const SuggestIntendedUse &value)
SuggestRequest & WithLanguage(Aws::String &&value)
SuggestRequest & WithFilter(const SuggestFilter &value)
SuggestRequest & WithAdditionalFeatures(Aws::Vector< SuggestAdditionalFeature > &&value)
SuggestRequest & WithKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector