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/SearchTextFilter.h>
12#include <aws/geo-places/model/SearchTextIntendedUse.h>
13#include <aws/geo-places/model/SearchTextAdditionalFeature.h>
54 inline void SetQueryText(
const char* value) { m_queryTextHasBeenSet =
true; m_queryText.assign(value); }
68 inline void SetQueryId(
const char* value) { m_queryIdHasBeenSet =
true; m_queryId.assign(value); }
80 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
140 inline void SetLanguage(
const char* value) { m_languageHasBeenSet =
true; m_language.assign(value); }
156 inline void SetPoliticalView(
const char* value) { m_politicalViewHasBeenSet =
true; m_politicalView.assign(value); }
184 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
199 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
207 bool m_queryTextHasBeenSet =
false;
210 bool m_queryIdHasBeenSet =
false;
213 bool m_maxResultsHasBeenSet =
false;
216 bool m_biasPositionHasBeenSet =
false;
219 bool m_filterHasBeenSet =
false;
222 bool m_additionalFeaturesHasBeenSet =
false;
225 bool m_languageHasBeenSet =
false;
228 bool m_politicalViewHasBeenSet =
false;
231 bool m_intendedUseHasBeenSet =
false;
234 bool m_nextTokenHasBeenSet =
false;
237 bool m_keyHasBeenSet =
false;
void SetBiasPosition(const Aws::Vector< double > &value)
bool AdditionalFeaturesHasBeenSet() const
const Aws::Vector< double > & GetBiasPosition() const
SearchTextRequest & WithBiasPosition(const Aws::Vector< double > &value)
void SetMaxResults(int value)
SearchTextRequest & WithAdditionalFeatures(const Aws::Vector< SearchTextAdditionalFeature > &value)
void SetNextToken(const Aws::String &value)
void SetQueryId(const char *value)
void SetQueryId(Aws::String &&value)
void SetBiasPosition(Aws::Vector< double > &&value)
const Aws::String & GetQueryId() const
void SetAdditionalFeatures(Aws::Vector< SearchTextAdditionalFeature > &&value)
SearchTextRequest & WithAdditionalFeatures(Aws::Vector< SearchTextAdditionalFeature > &&value)
virtual const char * GetServiceRequestName() const override
bool PoliticalViewHasBeenSet() const
SearchTextRequest & WithQueryText(const Aws::String &value)
SearchTextRequest & WithPoliticalView(const Aws::String &value)
AWS_GEOPLACES_API SearchTextRequest()
SearchTextRequest & AddAdditionalFeatures(const SearchTextAdditionalFeature &value)
bool FilterHasBeenSet() const
void SetLanguage(const Aws::String &value)
void SetFilter(SearchTextFilter &&value)
SearchTextRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetKey() const
SearchTextRequest & WithKey(const char *value)
void SetAdditionalFeatures(const Aws::Vector< SearchTextAdditionalFeature > &value)
void SetQueryText(const Aws::String &value)
AWS_GEOPLACES_API Aws::String SerializePayload() const override
SearchTextRequest & WithIntendedUse(SearchTextIntendedUse &&value)
void SetNextToken(const char *value)
SearchTextRequest & WithLanguage(const char *value)
SearchTextRequest & WithLanguage(const Aws::String &value)
void SetIntendedUse(const SearchTextIntendedUse &value)
void SetLanguage(const char *value)
bool BiasPositionHasBeenSet() const
SearchTextRequest & AddBiasPosition(double value)
bool MaxResultsHasBeenSet() const
SearchTextRequest & WithQueryId(const char *value)
SearchTextRequest & WithQueryId(Aws::String &&value)
void SetLanguage(Aws::String &&value)
void SetQueryId(const Aws::String &value)
SearchTextRequest & WithPoliticalView(const char *value)
bool QueryIdHasBeenSet() const
const Aws::Vector< SearchTextAdditionalFeature > & GetAdditionalFeatures() const
const SearchTextIntendedUse & GetIntendedUse() const
bool NextTokenHasBeenSet() const
int GetMaxResults() const
const Aws::String & GetLanguage() const
const SearchTextFilter & GetFilter() const
SearchTextRequest & WithQueryText(Aws::String &&value)
void SetNextToken(Aws::String &&value)
SearchTextRequest & WithKey(const Aws::String &value)
bool KeyHasBeenSet() const
const Aws::String & GetNextToken() const
bool IntendedUseHasBeenSet() const
SearchTextRequest & AddAdditionalFeatures(SearchTextAdditionalFeature &&value)
const Aws::String & GetQueryText() const
SearchTextRequest & WithKey(Aws::String &&value)
void SetIntendedUse(SearchTextIntendedUse &&value)
SearchTextRequest & WithQueryId(const Aws::String &value)
SearchTextRequest & WithFilter(SearchTextFilter &&value)
void SetQueryText(const char *value)
void SetPoliticalView(const Aws::String &value)
const Aws::String & GetPoliticalView() const
SearchTextRequest & WithBiasPosition(Aws::Vector< double > &&value)
SearchTextRequest & WithIntendedUse(const SearchTextIntendedUse &value)
SearchTextRequest & WithFilter(const SearchTextFilter &value)
SearchTextRequest & WithMaxResults(int value)
SearchTextRequest & WithPoliticalView(Aws::String &&value)
void SetQueryText(Aws::String &&value)
void SetKey(const char *value)
void SetKey(Aws::String &&value)
void SetPoliticalView(Aws::String &&value)
void SetPoliticalView(const char *value)
bool LanguageHasBeenSet() const
SearchTextRequest & WithNextToken(const char *value)
void SetKey(const Aws::String &value)
SearchTextRequest & WithQueryText(const char *value)
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetFilter(const SearchTextFilter &value)
SearchTextRequest & WithNextToken(Aws::String &&value)
bool QueryTextHasBeenSet() const
SearchTextRequest & WithLanguage(Aws::String &&value)
SearchTextAdditionalFeature
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector