AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestreamInfluxDBClient.h
1
6#pragma once
7#include <aws/timestream-influxdb/TimestreamInfluxDB_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/timestream-influxdb/TimestreamInfluxDBServiceClientModel.h>
13
14namespace Aws
15{
16namespace TimestreamInfluxDB
17{
26 class AWS_TIMESTREAMINFLUXDB_API TimestreamInfluxDBClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<TimestreamInfluxDBClient>
27 {
28 public:
30 static const char* GetServiceName();
31 static const char* GetAllocationTag();
32
35
41 std::shared_ptr<TimestreamInfluxDBEndpointProviderBase> endpointProvider = nullptr);
42
48 std::shared_ptr<TimestreamInfluxDBEndpointProviderBase> endpointProvider = nullptr,
50
55 TimestreamInfluxDBClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
56 std::shared_ptr<TimestreamInfluxDBEndpointProviderBase> endpointProvider = nullptr,
58
59
60 /* Legacy constructors due deprecation */
66
72 const Aws::Client::ClientConfiguration& clientConfiguration);
73
78 TimestreamInfluxDBClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
83
91
95 template<typename CreateDbInstanceRequestT = Model::CreateDbInstanceRequest>
96 Model::CreateDbInstanceOutcomeCallable CreateDbInstanceCallable(const CreateDbInstanceRequestT& request) const
97 {
98 return SubmitCallable(&TimestreamInfluxDBClient::CreateDbInstance, request);
99 }
100
104 template<typename CreateDbInstanceRequestT = Model::CreateDbInstanceRequest>
105 void CreateDbInstanceAsync(const CreateDbInstanceRequestT& request, const CreateDbInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
106 {
107 return SubmitAsync(&TimestreamInfluxDBClient::CreateDbInstance, request, handler, context);
108 }
109
117
121 template<typename CreateDbParameterGroupRequestT = Model::CreateDbParameterGroupRequest>
122 Model::CreateDbParameterGroupOutcomeCallable CreateDbParameterGroupCallable(const CreateDbParameterGroupRequestT& request) const
123 {
124 return SubmitCallable(&TimestreamInfluxDBClient::CreateDbParameterGroup, request);
125 }
126
130 template<typename CreateDbParameterGroupRequestT = Model::CreateDbParameterGroupRequest>
131 void CreateDbParameterGroupAsync(const CreateDbParameterGroupRequestT& request, const CreateDbParameterGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
132 {
133 return SubmitAsync(&TimestreamInfluxDBClient::CreateDbParameterGroup, request, handler, context);
134 }
135
142
146 template<typename DeleteDbInstanceRequestT = Model::DeleteDbInstanceRequest>
147 Model::DeleteDbInstanceOutcomeCallable DeleteDbInstanceCallable(const DeleteDbInstanceRequestT& request) const
148 {
149 return SubmitCallable(&TimestreamInfluxDBClient::DeleteDbInstance, request);
150 }
151
155 template<typename DeleteDbInstanceRequestT = Model::DeleteDbInstanceRequest>
156 void DeleteDbInstanceAsync(const DeleteDbInstanceRequestT& request, const DeleteDbInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
157 {
158 return SubmitAsync(&TimestreamInfluxDBClient::DeleteDbInstance, request, handler, context);
159 }
160
167
171 template<typename GetDbInstanceRequestT = Model::GetDbInstanceRequest>
172 Model::GetDbInstanceOutcomeCallable GetDbInstanceCallable(const GetDbInstanceRequestT& request) const
173 {
174 return SubmitCallable(&TimestreamInfluxDBClient::GetDbInstance, request);
175 }
176
180 template<typename GetDbInstanceRequestT = Model::GetDbInstanceRequest>
181 void GetDbInstanceAsync(const GetDbInstanceRequestT& request, const GetDbInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
182 {
183 return SubmitAsync(&TimestreamInfluxDBClient::GetDbInstance, request, handler, context);
184 }
185
193
197 template<typename GetDbParameterGroupRequestT = Model::GetDbParameterGroupRequest>
198 Model::GetDbParameterGroupOutcomeCallable GetDbParameterGroupCallable(const GetDbParameterGroupRequestT& request) const
199 {
200 return SubmitCallable(&TimestreamInfluxDBClient::GetDbParameterGroup, request);
201 }
202
206 template<typename GetDbParameterGroupRequestT = Model::GetDbParameterGroupRequest>
207 void GetDbParameterGroupAsync(const GetDbParameterGroupRequestT& request, const GetDbParameterGroupResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
208 {
209 return SubmitAsync(&TimestreamInfluxDBClient::GetDbParameterGroup, request, handler, context);
210 }
211
219
223 template<typename ListDbInstancesRequestT = Model::ListDbInstancesRequest>
224 Model::ListDbInstancesOutcomeCallable ListDbInstancesCallable(const ListDbInstancesRequestT& request = {}) const
225 {
226 return SubmitCallable(&TimestreamInfluxDBClient::ListDbInstances, request);
227 }
228
232 template<typename ListDbInstancesRequestT = Model::ListDbInstancesRequest>
233 void ListDbInstancesAsync(const ListDbInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListDbInstancesRequestT& request = {}) const
234 {
235 return SubmitAsync(&TimestreamInfluxDBClient::ListDbInstances, request, handler, context);
236 }
237
245
249 template<typename ListDbParameterGroupsRequestT = Model::ListDbParameterGroupsRequest>
250 Model::ListDbParameterGroupsOutcomeCallable ListDbParameterGroupsCallable(const ListDbParameterGroupsRequestT& request = {}) const
251 {
252 return SubmitCallable(&TimestreamInfluxDBClient::ListDbParameterGroups, request);
253 }
254
258 template<typename ListDbParameterGroupsRequestT = Model::ListDbParameterGroupsRequest>
259 void ListDbParameterGroupsAsync(const ListDbParameterGroupsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListDbParameterGroupsRequestT& request = {}) const
260 {
261 return SubmitAsync(&TimestreamInfluxDBClient::ListDbParameterGroups, request, handler, context);
262 }
263
270
274 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
275 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
276 {
277 return SubmitCallable(&TimestreamInfluxDBClient::ListTagsForResource, request);
278 }
279
283 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
284 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
285 {
286 return SubmitAsync(&TimestreamInfluxDBClient::ListTagsForResource, request, handler, context);
287 }
288
296
300 template<typename TagResourceRequestT = Model::TagResourceRequest>
301 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
302 {
303 return SubmitCallable(&TimestreamInfluxDBClient::TagResource, request);
304 }
305
309 template<typename TagResourceRequestT = Model::TagResourceRequest>
310 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
311 {
312 return SubmitAsync(&TimestreamInfluxDBClient::TagResource, request, handler, context);
313 }
314
321
325 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
326 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
327 {
328 return SubmitCallable(&TimestreamInfluxDBClient::UntagResource, request);
329 }
330
334 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
335 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
336 {
337 return SubmitAsync(&TimestreamInfluxDBClient::UntagResource, request, handler, context);
338 }
339
346
350 template<typename UpdateDbInstanceRequestT = Model::UpdateDbInstanceRequest>
351 Model::UpdateDbInstanceOutcomeCallable UpdateDbInstanceCallable(const UpdateDbInstanceRequestT& request) const
352 {
353 return SubmitCallable(&TimestreamInfluxDBClient::UpdateDbInstance, request);
354 }
355
359 template<typename UpdateDbInstanceRequestT = Model::UpdateDbInstanceRequest>
360 void UpdateDbInstanceAsync(const UpdateDbInstanceRequestT& request, const UpdateDbInstanceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
361 {
362 return SubmitAsync(&TimestreamInfluxDBClient::UpdateDbInstance, request, handler, context);
363 }
364
365
366 void OverrideEndpoint(const Aws::String& endpoint);
367 std::shared_ptr<TimestreamInfluxDBEndpointProviderBase>& accessEndpointProvider();
368 private:
370 void init(const TimestreamInfluxDBClientConfiguration& clientConfiguration);
371
372 TimestreamInfluxDBClientConfiguration m_clientConfiguration;
373 std::shared_ptr<TimestreamInfluxDBEndpointProviderBase> m_endpointProvider;
374 };
375
376} // namespace TimestreamInfluxDB
377} // namespace Aws
virtual Model::ListDbParameterGroupsOutcome ListDbParameterGroups(const Model::ListDbParameterGroupsRequest &request={}) const
virtual Model::GetDbInstanceOutcome GetDbInstance(const Model::GetDbInstanceRequest &request) const
void ListDbInstancesAsync(const ListDbInstancesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListDbInstancesRequestT &request={}) const
TimestreamInfluxDBClient(const Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration &clientConfiguration=Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration(), std::shared_ptr< TimestreamInfluxDBEndpointProviderBase > endpointProvider=nullptr)
void UpdateDbInstanceAsync(const UpdateDbInstanceRequestT &request, const UpdateDbInstanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListDbParameterGroupsOutcomeCallable ListDbParameterGroupsCallable(const ListDbParameterGroupsRequestT &request={}) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
TimestreamInfluxDBClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< TimestreamInfluxDBEndpointProviderBase > endpointProvider=nullptr, const Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration &clientConfiguration=Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration())
void CreateDbParameterGroupAsync(const CreateDbParameterGroupRequestT &request, const CreateDbParameterGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListDbInstancesOutcome ListDbInstances(const Model::ListDbInstancesRequest &request={}) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
virtual Model::CreateDbInstanceOutcome CreateDbInstance(const Model::CreateDbInstanceRequest &request) const
void DeleteDbInstanceAsync(const DeleteDbInstanceRequestT &request, const DeleteDbInstanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateDbParameterGroupOutcome CreateDbParameterGroup(const Model::CreateDbParameterGroupRequest &request) const
void GetDbParameterGroupAsync(const GetDbParameterGroupRequestT &request, const GetDbParameterGroupResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TimestreamInfluxDBClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::shared_ptr< TimestreamInfluxDBEndpointProviderBase > & accessEndpointProvider()
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::CreateDbInstanceOutcomeCallable CreateDbInstanceCallable(const CreateDbInstanceRequestT &request) const
Model::CreateDbParameterGroupOutcomeCallable CreateDbParameterGroupCallable(const CreateDbParameterGroupRequestT &request) const
void GetDbInstanceAsync(const GetDbInstanceRequestT &request, const GetDbInstanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListDbInstancesOutcomeCallable ListDbInstancesCallable(const ListDbInstancesRequestT &request={}) const
virtual Model::DeleteDbInstanceOutcome DeleteDbInstance(const Model::DeleteDbInstanceRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
TimestreamInfluxDBClientConfiguration ClientConfigurationType
TimestreamInfluxDBClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetDbInstanceOutcomeCallable GetDbInstanceCallable(const GetDbInstanceRequestT &request) const
TimestreamInfluxDBClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetDbParameterGroupOutcomeCallable GetDbParameterGroupCallable(const GetDbParameterGroupRequestT &request) const
TimestreamInfluxDBClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< TimestreamInfluxDBEndpointProviderBase > endpointProvider=nullptr, const Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration &clientConfiguration=Aws::TimestreamInfluxDB::TimestreamInfluxDBClientConfiguration())
Model::UpdateDbInstanceOutcomeCallable UpdateDbInstanceCallable(const UpdateDbInstanceRequestT &request) const
virtual Model::UpdateDbInstanceOutcome UpdateDbInstance(const Model::UpdateDbInstanceRequest &request) const
void ListDbParameterGroupsAsync(const ListDbParameterGroupsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListDbParameterGroupsRequestT &request={}) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
Model::DeleteDbInstanceOutcomeCallable DeleteDbInstanceCallable(const DeleteDbInstanceRequestT &request) const
void CreateDbInstanceAsync(const CreateDbInstanceRequestT &request, const CreateDbInstanceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetDbParameterGroupOutcome GetDbParameterGroup(const Model::GetDbParameterGroupRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
std::future< CreateDbParameterGroupOutcome > CreateDbParameterGroupOutcomeCallable
std::future< ListDbParameterGroupsOutcome > ListDbParameterGroupsOutcomeCallable
std::future< GetDbInstanceOutcome > GetDbInstanceOutcomeCallable
std::future< UpdateDbInstanceOutcome > UpdateDbInstanceOutcomeCallable
std::future< ListDbInstancesOutcome > ListDbInstancesOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< GetDbParameterGroupOutcome > GetDbParameterGroupOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< DeleteDbInstanceOutcome > DeleteDbInstanceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< CreateDbInstanceOutcome > CreateDbInstanceOutcomeCallable
std::function< void(const TimestreamInfluxDBClient *, const Model::GetDbParameterGroupRequest &, const Model::GetDbParameterGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDbParameterGroupResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::CreateDbParameterGroupRequest &, const Model::CreateDbParameterGroupOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateDbParameterGroupResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::DeleteDbInstanceRequest &, const Model::DeleteDbInstanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDbInstanceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::ListDbInstancesRequest &, const Model::ListDbInstancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDbInstancesResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::GetDbInstanceRequest &, const Model::GetDbInstanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDbInstanceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::CreateDbInstanceRequest &, const Model::CreateDbInstanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateDbInstanceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::ListDbParameterGroupsRequest &, const Model::ListDbParameterGroupsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDbParameterGroupsResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const TimestreamInfluxDBClient *, const Model::UpdateDbInstanceRequest &, const Model::UpdateDbInstanceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateDbInstanceResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String