AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoMapsClient.h
1
6#pragma once
7#include <aws/geo-maps/GeoMaps_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-maps/GeoMapsServiceClientModel.h>
13
14namespace Aws
15{
16namespace GeoMaps
17{
31 class AWS_GEOMAPS_API GeoMapsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<GeoMapsClient>
32 {
33 public:
35 static const char* GetServiceName();
36 static const char* GetAllocationTag();
37
40
46 std::shared_ptr<GeoMapsEndpointProviderBase> endpointProvider = nullptr);
47
53 std::shared_ptr<GeoMapsEndpointProviderBase> endpointProvider = nullptr,
55
60 GeoMapsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
61 std::shared_ptr<GeoMapsEndpointProviderBase> endpointProvider = nullptr,
63
64
65 /* Legacy constructors due deprecation */
71
77 const Aws::Client::ClientConfiguration& clientConfiguration);
78
83 GeoMapsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
84 const Aws::Client::ClientConfiguration& clientConfiguration);
85
86 /* End of legacy constructors due deprecation */
87 virtual ~GeoMapsClient();
88
95
99 template<typename GetGlyphsRequestT = Model::GetGlyphsRequest>
100 Model::GetGlyphsOutcomeCallable GetGlyphsCallable(const GetGlyphsRequestT& request) const
101 {
102 return SubmitCallable(&GeoMapsClient::GetGlyphs, request);
103 }
104
108 template<typename GetGlyphsRequestT = Model::GetGlyphsRequest>
109 void GetGlyphsAsync(const GetGlyphsRequestT& request, const GetGlyphsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
110 {
111 return SubmitAsync(&GeoMapsClient::GetGlyphs, request, handler, context);
112 }
113
120
124 template<typename GetSpritesRequestT = Model::GetSpritesRequest>
125 Model::GetSpritesOutcomeCallable GetSpritesCallable(const GetSpritesRequestT& request) const
126 {
127 return SubmitCallable(&GeoMapsClient::GetSprites, request);
128 }
129
133 template<typename GetSpritesRequestT = Model::GetSpritesRequest>
134 void GetSpritesAsync(const GetSpritesRequestT& request, const GetSpritesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
135 {
136 return SubmitAsync(&GeoMapsClient::GetSprites, request, handler, context);
137 }
138
148
152 template<typename GetStaticMapRequestT = Model::GetStaticMapRequest>
153 Model::GetStaticMapOutcomeCallable GetStaticMapCallable(const GetStaticMapRequestT& request) const
154 {
155 return SubmitCallable(&GeoMapsClient::GetStaticMap, request);
156 }
157
161 template<typename GetStaticMapRequestT = Model::GetStaticMapRequest>
162 void GetStaticMapAsync(const GetStaticMapRequestT& request, const GetStaticMapResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
163 {
164 return SubmitAsync(&GeoMapsClient::GetStaticMap, request, handler, context);
165 }
166
173
177 template<typename GetStyleDescriptorRequestT = Model::GetStyleDescriptorRequest>
178 Model::GetStyleDescriptorOutcomeCallable GetStyleDescriptorCallable(const GetStyleDescriptorRequestT& request) const
179 {
180 return SubmitCallable(&GeoMapsClient::GetStyleDescriptor, request);
181 }
182
186 template<typename GetStyleDescriptorRequestT = Model::GetStyleDescriptorRequest>
187 void GetStyleDescriptorAsync(const GetStyleDescriptorRequestT& request, const GetStyleDescriptorResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
188 {
189 return SubmitAsync(&GeoMapsClient::GetStyleDescriptor, request, handler, context);
190 }
191
200
204 template<typename GetTileRequestT = Model::GetTileRequest>
205 Model::GetTileOutcomeCallable GetTileCallable(const GetTileRequestT& request) const
206 {
207 return SubmitCallable(&GeoMapsClient::GetTile, request);
208 }
209
213 template<typename GetTileRequestT = Model::GetTileRequest>
214 void GetTileAsync(const GetTileRequestT& request, const GetTileResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
215 {
216 return SubmitAsync(&GeoMapsClient::GetTile, request, handler, context);
217 }
218
219
220 void OverrideEndpoint(const Aws::String& endpoint);
221 std::shared_ptr<GeoMapsEndpointProviderBase>& accessEndpointProvider();
222 private:
224 void init(const GeoMapsClientConfiguration& clientConfiguration);
225
226 GeoMapsClientConfiguration m_clientConfiguration;
227 std::shared_ptr<GeoMapsEndpointProviderBase> m_endpointProvider;
228 };
229
230} // namespace GeoMaps
231} // namespace Aws
GeoMapsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< GeoMapsEndpointProviderBase > endpointProvider=nullptr, const Aws::GeoMaps::GeoMapsClientConfiguration &clientConfiguration=Aws::GeoMaps::GeoMapsClientConfiguration())
void GetStaticMapAsync(const GetStaticMapRequestT &request, const GetStaticMapResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetStyleDescriptorAsync(const GetStyleDescriptorRequestT &request, const GetStyleDescriptorResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetSpritesAsync(const GetSpritesRequestT &request, const GetSpritesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
virtual Model::GetSpritesOutcome GetSprites(const Model::GetSpritesRequest &request) const
void GetGlyphsAsync(const GetGlyphsRequestT &request, const GetGlyphsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetTileOutcome GetTile(const Model::GetTileRequest &request) const
Model::GetTileOutcomeCallable GetTileCallable(const GetTileRequestT &request) const
void GetTileAsync(const GetTileRequestT &request, const GetTileResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetStyleDescriptorOutcomeCallable GetStyleDescriptorCallable(const GetStyleDescriptorRequestT &request) const
GeoMapsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetSpritesOutcomeCallable GetSpritesCallable(const GetSpritesRequestT &request) const
GeoMapsEndpointProvider EndpointProviderType
virtual Model::GetStaticMapOutcome GetStaticMap(const Model::GetStaticMapRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
GeoMapsClient(const Aws::GeoMaps::GeoMapsClientConfiguration &clientConfiguration=Aws::GeoMaps::GeoMapsClientConfiguration(), std::shared_ptr< GeoMapsEndpointProviderBase > endpointProvider=nullptr)
Model::GetStaticMapOutcomeCallable GetStaticMapCallable(const GetStaticMapRequestT &request) const
std::shared_ptr< GeoMapsEndpointProviderBase > & accessEndpointProvider()
GeoMapsClientConfiguration ClientConfigurationType
GeoMapsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetGlyphsOutcome GetGlyphs(const Model::GetGlyphsRequest &request) const
Model::GetGlyphsOutcomeCallable GetGlyphsCallable(const GetGlyphsRequestT &request) const
GeoMapsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetAllocationTag()
Aws::Client::AWSJsonClient BASECLASS
virtual Model::GetStyleDescriptorOutcome GetStyleDescriptor(const Model::GetStyleDescriptorRequest &request) const
GeoMapsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< GeoMapsEndpointProviderBase > endpointProvider=nullptr, const Aws::GeoMaps::GeoMapsClientConfiguration &clientConfiguration=Aws::GeoMaps::GeoMapsClientConfiguration())
std::future< GetStyleDescriptorOutcome > GetStyleDescriptorOutcomeCallable
std::future< GetStaticMapOutcome > GetStaticMapOutcomeCallable
std::future< GetTileOutcome > GetTileOutcomeCallable
std::future< GetGlyphsOutcome > GetGlyphsOutcomeCallable
std::future< GetSpritesOutcome > GetSpritesOutcomeCallable
std::function< void(const GeoMapsClient *, const Model::GetGlyphsRequest &, Model::GetGlyphsOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetGlyphsResponseReceivedHandler
std::function< void(const GeoMapsClient *, const Model::GetSpritesRequest &, Model::GetSpritesOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSpritesResponseReceivedHandler
std::function< void(const GeoMapsClient *, const Model::GetStyleDescriptorRequest &, Model::GetStyleDescriptorOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetStyleDescriptorResponseReceivedHandler
std::function< void(const GeoMapsClient *, const Model::GetStaticMapRequest &, Model::GetStaticMapOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetStaticMapResponseReceivedHandler
std::function< void(const GeoMapsClient *, const Model::GetTileRequest &, Model::GetTileOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetTileResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String