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/AutocompleteFilter.h>
12#include <aws/geo-places/model/PostalCodeMode.h>
13#include <aws/geo-places/model/AutocompleteIntendedUse.h>
14#include <aws/geo-places/model/AutocompleteAdditionalFeature.h>
55 inline void SetQueryText(
const char* value) { m_queryTextHasBeenSet =
true; m_queryText.assign(value); }
67 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
143 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
159 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
187 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
195 bool m_queryTextHasBeenSet =
false;
198 bool m_maxResultsHasBeenSet =
false;
201 bool m_biasPositionHasBeenSet =
false;
204 bool m_filterHasBeenSet =
false;
207 bool m_postalCodeModeHasBeenSet =
false;
210 bool m_additionalFeaturesHasBeenSet =
false;
213 bool m_languageHasBeenSet =
false;
216 bool m_politicalViewHasBeenSet =
false;
219 bool m_intendedUseHasBeenSet =
false;
222 bool m_keyHasBeenSet =
false;
const Aws::String & GetPoliticalView() const
AutocompleteRequest & AddAdditionalFeatures(const AutocompleteAdditionalFeature &value)
AutocompleteRequest & WithLanguage(Aws::String &&value)
AutocompleteRequest & WithIntendedUse(AutocompleteIntendedUse &&value)
AutocompleteRequest & WithQueryText(Aws::String &&value)
AWS_GEOPLACES_API AutocompleteRequest()
AutocompleteRequest & WithAdditionalFeatures(const Aws::Vector< AutocompleteAdditionalFeature > &value)
void SetLanguage(const char *value)
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool LanguageHasBeenSet() const
void SetAdditionalFeatures(const Aws::Vector< AutocompleteAdditionalFeature > &value)
bool MaxResultsHasBeenSet() const
bool FilterHasBeenSet() const
void SetFilter(AutocompleteFilter &&value)
AutocompleteRequest & WithQueryText(const Aws::String &value)
void SetKey(const Aws::String &value)
AutocompleteRequest & AddBiasPosition(double value)
bool KeyHasBeenSet() const
AWS_GEOPLACES_API Aws::String SerializePayload() const override
void SetPoliticalView(const Aws::String &value)
void SetQueryText(const char *value)
void SetFilter(const AutocompleteFilter &value)
AutocompleteRequest & WithLanguage(const char *value)
AutocompleteRequest & WithPoliticalView(Aws::String &&value)
bool BiasPositionHasBeenSet() const
AutocompleteRequest & WithMaxResults(int value)
void SetIntendedUse(AutocompleteIntendedUse &&value)
AutocompleteRequest & WithBiasPosition(Aws::Vector< double > &&value)
AutocompleteRequest & AddAdditionalFeatures(AutocompleteAdditionalFeature &&value)
void SetPostalCodeMode(PostalCodeMode &&value)
const Aws::String & GetQueryText() const
AutocompleteRequest & WithKey(const char *value)
void SetPoliticalView(const char *value)
void SetQueryText(const Aws::String &value)
AutocompleteRequest & WithPostalCodeMode(const PostalCodeMode &value)
bool QueryTextHasBeenSet() const
bool PoliticalViewHasBeenSet() const
AutocompleteRequest & WithIntendedUse(const AutocompleteIntendedUse &value)
AutocompleteRequest & WithBiasPosition(const Aws::Vector< double > &value)
const Aws::Vector< AutocompleteAdditionalFeature > & GetAdditionalFeatures() const
AutocompleteRequest & WithLanguage(const Aws::String &value)
AutocompleteRequest & WithPoliticalView(const char *value)
void SetBiasPosition(const Aws::Vector< double > &value)
AutocompleteRequest & WithFilter(const AutocompleteFilter &value)
const AutocompleteIntendedUse & GetIntendedUse() const
void SetKey(const char *value)
AutocompleteRequest & WithKey(const Aws::String &value)
const Aws::Vector< double > & GetBiasPosition() const
bool IntendedUseHasBeenSet() const
int GetMaxResults() const
const Aws::String & GetLanguage() const
void SetLanguage(Aws::String &&value)
void SetKey(Aws::String &&value)
const Aws::String & GetKey() const
AutocompleteRequest & WithQueryText(const char *value)
void SetIntendedUse(const AutocompleteIntendedUse &value)
AutocompleteRequest & WithAdditionalFeatures(Aws::Vector< AutocompleteAdditionalFeature > &&value)
const PostalCodeMode & GetPostalCodeMode() const
const AutocompleteFilter & GetFilter() const
void SetMaxResults(int value)
AutocompleteRequest & WithFilter(AutocompleteFilter &&value)
virtual const char * GetServiceRequestName() const override
bool AdditionalFeaturesHasBeenSet() const
AutocompleteRequest & WithPostalCodeMode(PostalCodeMode &&value)
void SetAdditionalFeatures(Aws::Vector< AutocompleteAdditionalFeature > &&value)
void SetPostalCodeMode(const PostalCodeMode &value)
void SetLanguage(const Aws::String &value)
AutocompleteRequest & WithPoliticalView(const Aws::String &value)
void SetQueryText(Aws::String &&value)
bool PostalCodeModeHasBeenSet() const
void SetBiasPosition(Aws::Vector< double > &&value)
void SetPoliticalView(Aws::String &&value)
AutocompleteRequest & WithKey(Aws::String &&value)
AutocompleteAdditionalFeature
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector