7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/geo-places/GeoPlacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/geo-places/model/SearchNearbyFilter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/geo-places/model/SearchNearbyIntendedUse.h>
13#include <aws/geo-places/model/SearchNearbyAdditionalFeature.h>
53 template<
typename QueryPositionT = Aws::Vector<
double>>
54 void SetQueryPosition(QueryPositionT&& value) { m_queryPositionHasBeenSet =
true; m_queryPosition = std::forward<QueryPositionT>(value); }
55 template<
typename QueryPositionT = Aws::Vector<
double>>
68 inline void SetQueryRadius(
long long value) { m_queryRadiusHasBeenSet =
true; m_queryRadius = value; }
78 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
89 template<
typename FilterT = SearchNearbyFilter>
90 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
91 template<
typename FilterT = SearchNearbyFilter>
102 template<
typename AdditionalFeaturesT = Aws::Vector<SearchNearbyAdditionalFeature>>
103 void SetAdditionalFeatures(AdditionalFeaturesT&& value) { m_additionalFeaturesHasBeenSet =
true; m_additionalFeatures = std::forward<AdditionalFeaturesT>(value); }
104 template<
typename AdditionalFeaturesT = Aws::Vector<SearchNearbyAdditionalFeature>>
118 template<
typename LanguageT = Aws::String>
119 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
120 template<
typename LanguageT = Aws::String>
132 template<
typename PoliticalViewT = Aws::String>
133 void SetPoliticalView(PoliticalViewT&& value) { m_politicalViewHasBeenSet =
true; m_politicalView = std::forward<PoliticalViewT>(value); }
134 template<
typename PoliticalViewT = Aws::String>
161 template<
typename NextTokenT = Aws::String>
162 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
163 template<
typename NextTokenT = Aws::String>
174 template<
typename KeyT = Aws::String>
175 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
176 template<
typename KeyT = Aws::String>
182 bool m_queryPositionHasBeenSet =
false;
184 long long m_queryRadius{0};
185 bool m_queryRadiusHasBeenSet =
false;
188 bool m_maxResultsHasBeenSet =
false;
190 SearchNearbyFilter m_filter;
191 bool m_filterHasBeenSet =
false;
194 bool m_additionalFeaturesHasBeenSet =
false;
197 bool m_languageHasBeenSet =
false;
200 bool m_politicalViewHasBeenSet =
false;
203 bool m_intendedUseHasBeenSet =
false;
206 bool m_nextTokenHasBeenSet =
false;
209 bool m_keyHasBeenSet =
false;
void SetPoliticalView(PoliticalViewT &&value)
const SearchNearbyFilter & GetFilter() const
bool NextTokenHasBeenSet() const
bool IntendedUseHasBeenSet() const
SearchNearbyRequest & WithQueryRadius(long long value)
SearchNearbyRequest & WithQueryPosition(QueryPositionT &&value)
const Aws::String & GetLanguage() const
long long GetQueryRadius() const
const Aws::Vector< double > & GetQueryPosition() const
AWS_GEOPLACES_API Aws::String SerializePayload() const override
SearchNearbyIntendedUse GetIntendedUse() const
int GetMaxResults() const
void SetLanguage(LanguageT &&value)
bool QueryRadiusHasBeenSet() const
void SetQueryRadius(long long value)
void SetAdditionalFeatures(AdditionalFeaturesT &&value)
SearchNearbyRequest & AddAdditionalFeatures(SearchNearbyAdditionalFeature value)
SearchNearbyRequest & WithIntendedUse(SearchNearbyIntendedUse value)
bool AdditionalFeaturesHasBeenSet() const
const Aws::String & GetNextToken() const
void SetFilter(FilterT &&value)
AWS_GEOPLACES_API SearchNearbyRequest()=default
SearchNearbyRequest & WithKey(KeyT &&value)
void SetKey(KeyT &&value)
void SetMaxResults(int value)
AWS_GEOPLACES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
SearchNearbyRequest & WithLanguage(LanguageT &&value)
bool FilterHasBeenSet() const
const Aws::Vector< SearchNearbyAdditionalFeature > & GetAdditionalFeatures() const
bool LanguageHasBeenSet() const
const Aws::String & GetKey() const
void SetIntendedUse(SearchNearbyIntendedUse value)
void SetQueryPosition(QueryPositionT &&value)
SearchNearbyRequest & WithFilter(FilterT &&value)
virtual const char * GetServiceRequestName() const override
bool PoliticalViewHasBeenSet() const
const Aws::String & GetPoliticalView() const
bool KeyHasBeenSet() const
SearchNearbyRequest & AddQueryPosition(double value)
SearchNearbyRequest & WithNextToken(NextTokenT &&value)
bool QueryPositionHasBeenSet() const
void SetNextToken(NextTokenT &&value)
SearchNearbyRequest & WithMaxResults(int value)
bool MaxResultsHasBeenSet() const
SearchNearbyRequest & WithPoliticalView(PoliticalViewT &&value)
SearchNearbyRequest & WithAdditionalFeatures(AdditionalFeaturesT &&value)
SearchNearbyAdditionalFeature
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector