7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/geo-places/GeoPlacesServiceClientModel.h>
46 std::shared_ptr<GeoPlacesEndpointProviderBase> endpointProvider =
nullptr);
53 std::shared_ptr<GeoPlacesEndpointProviderBase> endpointProvider =
nullptr,
60 GeoPlacesClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
61 std::shared_ptr<GeoPlacesEndpointProviderBase> endpointProvider =
nullptr,
83 GeoPlacesClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
103 template<
typename AutocompleteRequestT = Model::AutocompleteRequest>
106 return SubmitCallable(&GeoPlacesClient::Autocomplete, request);
112 template<
typename AutocompleteRequestT = Model::AutocompleteRequest>
115 return SubmitAsync(&GeoPlacesClient::Autocomplete, request, handler, context);
129 template<
typename GeocodeRequestT = Model::GeocodeRequest>
132 return SubmitCallable(&GeoPlacesClient::Geocode, request);
138 template<
typename GeocodeRequestT = Model::GeocodeRequest>
141 return SubmitAsync(&GeoPlacesClient::Geocode, request, handler, context);
155 template<
typename GetPlaceRequestT = Model::GetPlaceRequest>
158 return SubmitCallable(&GeoPlacesClient::GetPlace, request);
164 template<
typename GetPlaceRequestT = Model::GetPlaceRequest>
167 return SubmitAsync(&GeoPlacesClient::GetPlace, request, handler, context);
181 template<
typename ReverseGeocodeRequestT = Model::ReverseGeocodeRequest>
184 return SubmitCallable(&GeoPlacesClient::ReverseGeocode, request);
190 template<
typename ReverseGeocodeRequestT = Model::ReverseGeocodeRequest>
193 return SubmitAsync(&GeoPlacesClient::ReverseGeocode, request, handler, context);
206 template<
typename SearchNearbyRequestT = Model::SearchNearbyRequest>
209 return SubmitCallable(&GeoPlacesClient::SearchNearby, request);
215 template<
typename SearchNearbyRequestT = Model::SearchNearbyRequest>
218 return SubmitAsync(&GeoPlacesClient::SearchNearby, request, handler, context);
233 template<
typename SearchTextRequestT = Model::SearchTextRequest>
236 return SubmitCallable(&GeoPlacesClient::SearchText, request);
242 template<
typename SearchTextRequestT = Model::SearchTextRequest>
245 return SubmitAsync(&GeoPlacesClient::SearchText, request, handler, context);
260 template<
typename SuggestRequestT = Model::SuggestRequest>
263 return SubmitCallable(&GeoPlacesClient::Suggest, request);
269 template<
typename SuggestRequestT = Model::SuggestRequest>
272 return SubmitAsync(&GeoPlacesClient::Suggest, request, handler, context);
283 std::shared_ptr<GeoPlacesEndpointProviderBase> m_endpointProvider;
virtual Model::GetPlaceOutcome GetPlace(const Model::GetPlaceRequest &request) const
Model::SearchTextOutcomeCallable SearchTextCallable(const SearchTextRequestT &request={}) const
static const char * GetServiceName()
Model::GetPlaceOutcomeCallable GetPlaceCallable(const GetPlaceRequestT &request) const
GeoPlacesClientConfiguration ClientConfigurationType
GeoPlacesClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ReverseGeocodeOutcomeCallable ReverseGeocodeCallable(const ReverseGeocodeRequestT &request) const
void AutocompleteAsync(const AutocompleteRequestT &request, const AutocompleteResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
GeoPlacesClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< GeoPlacesEndpointProviderBase > endpointProvider=nullptr, const Aws::GeoPlaces::GeoPlacesClientConfiguration &clientConfiguration=Aws::GeoPlaces::GeoPlacesClientConfiguration())
virtual Model::ReverseGeocodeOutcome ReverseGeocode(const Model::ReverseGeocodeRequest &request) const
virtual Model::AutocompleteOutcome Autocomplete(const Model::AutocompleteRequest &request) const
static const char * GetAllocationTag()
void SuggestAsync(const SuggestRequestT &request, const SuggestResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GeocodeOutcome Geocode(const Model::GeocodeRequest &request={}) const
Model::SuggestOutcomeCallable SuggestCallable(const SuggestRequestT &request) const
void ReverseGeocodeAsync(const ReverseGeocodeRequestT &request, const ReverseGeocodeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
GeoPlacesClient(const Aws::GeoPlaces::GeoPlacesClientConfiguration &clientConfiguration=Aws::GeoPlaces::GeoPlacesClientConfiguration(), std::shared_ptr< GeoPlacesEndpointProviderBase > endpointProvider=nullptr)
virtual Model::SuggestOutcome Suggest(const Model::SuggestRequest &request) const
std::shared_ptr< GeoPlacesEndpointProviderBase > & accessEndpointProvider()
void GeocodeAsync(const GeocodeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GeocodeRequestT &request={}) const
Model::AutocompleteOutcomeCallable AutocompleteCallable(const AutocompleteRequestT &request) const
Model::GeocodeOutcomeCallable GeocodeCallable(const GeocodeRequestT &request={}) const
GeoPlacesEndpointProvider EndpointProviderType
virtual ~GeoPlacesClient()
void SearchNearbyAsync(const SearchNearbyRequestT &request, const SearchNearbyResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
GeoPlacesClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::SearchTextOutcome SearchText(const Model::SearchTextRequest &request={}) const
Aws::Client::AWSJsonClient BASECLASS
void GetPlaceAsync(const GetPlaceRequestT &request, const GetPlaceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::SearchNearbyOutcome SearchNearby(const Model::SearchNearbyRequest &request) const
GeoPlacesClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void SearchTextAsync(const SearchTextResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const SearchTextRequestT &request={}) const
Model::SearchNearbyOutcomeCallable SearchNearbyCallable(const SearchNearbyRequestT &request) const
GeoPlacesClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< GeoPlacesEndpointProviderBase > endpointProvider=nullptr, const Aws::GeoPlaces::GeoPlacesClientConfiguration &clientConfiguration=Aws::GeoPlaces::GeoPlacesClientConfiguration())
std::future< ReverseGeocodeOutcome > ReverseGeocodeOutcomeCallable
std::future< SearchNearbyOutcome > SearchNearbyOutcomeCallable
std::future< GeocodeOutcome > GeocodeOutcomeCallable
std::future< GetPlaceOutcome > GetPlaceOutcomeCallable
std::future< SearchTextOutcome > SearchTextOutcomeCallable
std::future< SuggestOutcome > SuggestOutcomeCallable
std::future< AutocompleteOutcome > AutocompleteOutcomeCallable
std::function< void(const GeoPlacesClient *, const Model::SearchTextRequest &, const Model::SearchTextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchTextResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::ReverseGeocodeRequest &, const Model::ReverseGeocodeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReverseGeocodeResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::GetPlaceRequest &, const Model::GetPlaceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetPlaceResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::GeocodeRequest &, const Model::GeocodeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GeocodeResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::AutocompleteRequest &, const Model::AutocompleteOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AutocompleteResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::SearchNearbyRequest &, const Model::SearchNearbyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SearchNearbyResponseReceivedHandler
std::function< void(const GeoPlacesClient *, const Model::SuggestRequest &, const Model::SuggestOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SuggestResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String