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/geo-places/model/GeocodeQueryComponents.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/geo-places/model/GeocodeFilter.h>
13#include <aws/geo-places/model/GeocodeIntendedUse.h>
14#include <aws/geo-places/model/GeocodeAdditionalFeature.h>
55 template<
typename QueryTextT = Aws::String>
56 void SetQueryText(QueryTextT&& value) { m_queryTextHasBeenSet =
true; m_queryText = std::forward<QueryTextT>(value); }
57 template<
typename QueryTextT = Aws::String>
65 template<
typename QueryComponentsT = GeocodeQueryComponents>
66 void SetQueryComponents(QueryComponentsT&& value) { m_queryComponentsHasBeenSet =
true; m_queryComponents = std::forward<QueryComponentsT>(value); }
67 template<
typename QueryComponentsT = GeocodeQueryComponents>
77 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = 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 = GeocodeFilter>
106 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
107 template<
typename FilterT = GeocodeFilter>
118 template<
typename AdditionalFeaturesT = Aws::Vector<GeocodeAdditionalFeature>>
119 void SetAdditionalFeatures(AdditionalFeaturesT&& value) { m_additionalFeaturesHasBeenSet =
true; m_additionalFeatures = std::forward<AdditionalFeaturesT>(value); }
120 template<
typename AdditionalFeaturesT = Aws::Vector<GeocodeAdditionalFeature>>
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>
177 template<
typename KeyT = Aws::String>
178 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
179 template<
typename KeyT = Aws::String>
185 bool m_queryTextHasBeenSet =
false;
188 bool m_queryComponentsHasBeenSet =
false;
191 bool m_maxResultsHasBeenSet =
false;
194 bool m_biasPositionHasBeenSet =
false;
196 GeocodeFilter m_filter;
197 bool m_filterHasBeenSet =
false;
200 bool m_additionalFeaturesHasBeenSet =
false;
203 bool m_languageHasBeenSet =
false;
206 bool m_politicalViewHasBeenSet =
false;
209 bool m_intendedUseHasBeenSet =
false;
212 bool m_keyHasBeenSet =
false;
const Aws::String & GetPoliticalView() const
const Aws::String & GetKey() const
const Aws::Vector< GeocodeAdditionalFeature > & GetAdditionalFeatures() const
AWS_GEOPLACES_API GeocodeRequest()=default
const GeocodeQueryComponents & GetQueryComponents() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetQueryText() const
GeocodeRequest & WithIntendedUse(GeocodeIntendedUse value)
GeocodeRequest & AddAdditionalFeatures(GeocodeAdditionalFeature value)
bool IntendedUseHasBeenSet() const
void SetKey(KeyT &&value)
const Aws::Vector< double > & GetBiasPosition() const
bool KeyHasBeenSet() const
void SetQueryComponents(QueryComponentsT &&value)
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GeocodeIntendedUse GetIntendedUse() const
GeocodeRequest & WithQueryText(QueryTextT &&value)
GeocodeRequest & WithLanguage(LanguageT &&value)
bool MaxResultsHasBeenSet() const
void SetQueryText(QueryTextT &&value)
const GeocodeFilter & GetFilter() const
bool BiasPositionHasBeenSet() const
GeocodeRequest & WithAdditionalFeatures(AdditionalFeaturesT &&value)
GeocodeRequest & WithBiasPosition(BiasPositionT &&value)
void SetAdditionalFeatures(AdditionalFeaturesT &&value)
bool LanguageHasBeenSet() const
bool PoliticalViewHasBeenSet() const
void SetPoliticalView(PoliticalViewT &&value)
AWS_GEOPLACES_API Aws::String SerializePayload() const override
GeocodeRequest & WithMaxResults(int value)
void SetFilter(FilterT &&value)
void SetBiasPosition(BiasPositionT &&value)
bool QueryComponentsHasBeenSet() const
GeocodeRequest & WithPoliticalView(PoliticalViewT &&value)
GeocodeRequest & WithKey(KeyT &&value)
bool FilterHasBeenSet() const
const Aws::String & GetLanguage() const
GeocodeRequest & WithQueryComponents(QueryComponentsT &&value)
bool QueryTextHasBeenSet() const
GeocodeRequest & WithFilter(FilterT &&value)
void SetLanguage(LanguageT &&value)
void SetIntendedUse(GeocodeIntendedUse value)
GeocodeRequest & AddBiasPosition(double value)
bool AdditionalFeaturesHasBeenSet() const
void SetMaxResults(int value)
int GetMaxResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector