AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnowDeviceManagementClient.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_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/snow-device-management/SnowDeviceManagementServiceClientModel.h>
13
14namespace Aws
15{
16namespace SnowDeviceManagement
17{
21 class AWS_SNOWDEVICEMANAGEMENT_API SnowDeviceManagementClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<SnowDeviceManagementClient>
22 {
23 public:
25 static const char* GetServiceName();
26 static const char* GetAllocationTag();
27
30
36 std::shared_ptr<SnowDeviceManagementEndpointProviderBase> endpointProvider = nullptr);
37
43 std::shared_ptr<SnowDeviceManagementEndpointProviderBase> endpointProvider = nullptr,
45
50 SnowDeviceManagementClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
51 std::shared_ptr<SnowDeviceManagementEndpointProviderBase> endpointProvider = nullptr,
53
54
55 /* Legacy constructors due deprecation */
61
67 const Aws::Client::ClientConfiguration& clientConfiguration);
68
73 SnowDeviceManagementClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
76 /* End of legacy constructors due deprecation */
78
89
93 template<typename CancelTaskRequestT = Model::CancelTaskRequest>
94 Model::CancelTaskOutcomeCallable CancelTaskCallable(const CancelTaskRequestT& request) const
95 {
96 return SubmitCallable(&SnowDeviceManagementClient::CancelTask, request);
97 }
98
102 template<typename CancelTaskRequestT = Model::CancelTaskRequest>
103 void CancelTaskAsync(const CancelTaskRequestT& request, const CancelTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
104 {
105 return SubmitAsync(&SnowDeviceManagementClient::CancelTask, request, handler, context);
106 }
107
115
119 template<typename CreateTaskRequestT = Model::CreateTaskRequest>
120 Model::CreateTaskOutcomeCallable CreateTaskCallable(const CreateTaskRequestT& request) const
121 {
122 return SubmitCallable(&SnowDeviceManagementClient::CreateTask, request);
123 }
124
128 template<typename CreateTaskRequestT = Model::CreateTaskRequest>
129 void CreateTaskAsync(const CreateTaskRequestT& request, const CreateTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
130 {
131 return SubmitAsync(&SnowDeviceManagementClient::CreateTask, request, handler, context);
132 }
133
141
145 template<typename DescribeDeviceRequestT = Model::DescribeDeviceRequest>
146 Model::DescribeDeviceOutcomeCallable DescribeDeviceCallable(const DescribeDeviceRequestT& request) const
147 {
148 return SubmitCallable(&SnowDeviceManagementClient::DescribeDevice, request);
149 }
150
154 template<typename DescribeDeviceRequestT = Model::DescribeDeviceRequest>
155 void DescribeDeviceAsync(const DescribeDeviceRequestT& request, const DescribeDeviceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
156 {
157 return SubmitAsync(&SnowDeviceManagementClient::DescribeDevice, request, handler, context);
158 }
159
169
173 template<typename DescribeDeviceEc2InstancesRequestT = Model::DescribeDeviceEc2InstancesRequest>
174 Model::DescribeDeviceEc2InstancesOutcomeCallable DescribeDeviceEc2InstancesCallable(const DescribeDeviceEc2InstancesRequestT& request) const
175 {
176 return SubmitCallable(&SnowDeviceManagementClient::DescribeDeviceEc2Instances, request);
177 }
178
182 template<typename DescribeDeviceEc2InstancesRequestT = Model::DescribeDeviceEc2InstancesRequest>
183 void DescribeDeviceEc2InstancesAsync(const DescribeDeviceEc2InstancesRequestT& request, const DescribeDeviceEc2InstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
184 {
185 return SubmitAsync(&SnowDeviceManagementClient::DescribeDeviceEc2Instances, request, handler, context);
186 }
187
195
199 template<typename DescribeExecutionRequestT = Model::DescribeExecutionRequest>
200 Model::DescribeExecutionOutcomeCallable DescribeExecutionCallable(const DescribeExecutionRequestT& request) const
201 {
202 return SubmitCallable(&SnowDeviceManagementClient::DescribeExecution, request);
203 }
204
208 template<typename DescribeExecutionRequestT = Model::DescribeExecutionRequest>
209 void DescribeExecutionAsync(const DescribeExecutionRequestT& request, const DescribeExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
210 {
211 return SubmitAsync(&SnowDeviceManagementClient::DescribeExecution, request, handler, context);
212 }
213
221
225 template<typename DescribeTaskRequestT = Model::DescribeTaskRequest>
226 Model::DescribeTaskOutcomeCallable DescribeTaskCallable(const DescribeTaskRequestT& request) const
227 {
228 return SubmitCallable(&SnowDeviceManagementClient::DescribeTask, request);
229 }
230
234 template<typename DescribeTaskRequestT = Model::DescribeTaskRequest>
235 void DescribeTaskAsync(const DescribeTaskRequestT& request, const DescribeTaskResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
236 {
237 return SubmitAsync(&SnowDeviceManagementClient::DescribeTask, request, handler, context);
238 }
239
248
252 template<typename ListDeviceResourcesRequestT = Model::ListDeviceResourcesRequest>
253 Model::ListDeviceResourcesOutcomeCallable ListDeviceResourcesCallable(const ListDeviceResourcesRequestT& request) const
254 {
255 return SubmitCallable(&SnowDeviceManagementClient::ListDeviceResources, request);
256 }
257
261 template<typename ListDeviceResourcesRequestT = Model::ListDeviceResourcesRequest>
262 void ListDeviceResourcesAsync(const ListDeviceResourcesRequestT& request, const ListDeviceResourcesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
263 {
264 return SubmitAsync(&SnowDeviceManagementClient::ListDeviceResources, request, handler, context);
265 }
266
275
279 template<typename ListDevicesRequestT = Model::ListDevicesRequest>
280 Model::ListDevicesOutcomeCallable ListDevicesCallable(const ListDevicesRequestT& request = {}) const
281 {
282 return SubmitCallable(&SnowDeviceManagementClient::ListDevices, request);
283 }
284
288 template<typename ListDevicesRequestT = Model::ListDevicesRequest>
289 void ListDevicesAsync(const ListDevicesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListDevicesRequestT& request = {}) const
290 {
291 return SubmitAsync(&SnowDeviceManagementClient::ListDevices, request, handler, context);
292 }
293
301
305 template<typename ListExecutionsRequestT = Model::ListExecutionsRequest>
306 Model::ListExecutionsOutcomeCallable ListExecutionsCallable(const ListExecutionsRequestT& request) const
307 {
308 return SubmitCallable(&SnowDeviceManagementClient::ListExecutions, request);
309 }
310
314 template<typename ListExecutionsRequestT = Model::ListExecutionsRequest>
315 void ListExecutionsAsync(const ListExecutionsRequestT& request, const ListExecutionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
316 {
317 return SubmitAsync(&SnowDeviceManagementClient::ListExecutions, request, handler, context);
318 }
319
327
331 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
332 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
333 {
334 return SubmitCallable(&SnowDeviceManagementClient::ListTagsForResource, request);
335 }
336
340 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
341 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
342 {
343 return SubmitAsync(&SnowDeviceManagementClient::ListTagsForResource, request, handler, context);
344 }
345
353
357 template<typename ListTasksRequestT = Model::ListTasksRequest>
358 Model::ListTasksOutcomeCallable ListTasksCallable(const ListTasksRequestT& request = {}) const
359 {
360 return SubmitCallable(&SnowDeviceManagementClient::ListTasks, request);
361 }
362
366 template<typename ListTasksRequestT = Model::ListTasksRequest>
367 void ListTasksAsync(const ListTasksResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListTasksRequestT& request = {}) const
368 {
369 return SubmitAsync(&SnowDeviceManagementClient::ListTasks, request, handler, context);
370 }
371
378
382 template<typename TagResourceRequestT = Model::TagResourceRequest>
383 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
384 {
385 return SubmitCallable(&SnowDeviceManagementClient::TagResource, request);
386 }
387
391 template<typename TagResourceRequestT = Model::TagResourceRequest>
392 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
393 {
394 return SubmitAsync(&SnowDeviceManagementClient::TagResource, request, handler, context);
395 }
396
403
407 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
408 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
409 {
410 return SubmitCallable(&SnowDeviceManagementClient::UntagResource, request);
411 }
412
416 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
417 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
418 {
419 return SubmitAsync(&SnowDeviceManagementClient::UntagResource, request, handler, context);
420 }
421
422
423 void OverrideEndpoint(const Aws::String& endpoint);
424 std::shared_ptr<SnowDeviceManagementEndpointProviderBase>& accessEndpointProvider();
425 private:
427 void init(const SnowDeviceManagementClientConfiguration& clientConfiguration);
428
429 SnowDeviceManagementClientConfiguration m_clientConfiguration;
430 std::shared_ptr<SnowDeviceManagementEndpointProviderBase> m_endpointProvider;
431 };
432
433} // namespace SnowDeviceManagement
434} // namespace Aws
SnowDeviceManagementClientConfiguration ClientConfigurationType
virtual Model::DescribeDeviceEc2InstancesOutcome DescribeDeviceEc2Instances(const Model::DescribeDeviceEc2InstancesRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
SnowDeviceManagementClient(const Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration &clientConfiguration=Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration(), std::shared_ptr< SnowDeviceManagementEndpointProviderBase > endpointProvider=nullptr)
Model::ListTasksOutcomeCallable ListTasksCallable(const ListTasksRequestT &request={}) const
virtual Model::DescribeTaskOutcome DescribeTask(const Model::DescribeTaskRequest &request) const
virtual Model::ListDeviceResourcesOutcome ListDeviceResources(const Model::ListDeviceResourcesRequest &request) const
virtual Model::DescribeDeviceOutcome DescribeDevice(const Model::DescribeDeviceRequest &request) const
void CreateTaskAsync(const CreateTaskRequestT &request, const CreateTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
SnowDeviceManagementClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SnowDeviceManagementEndpointProviderBase > endpointProvider=nullptr, const Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration &clientConfiguration=Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration())
virtual Model::ListExecutionsOutcome ListExecutions(const Model::ListExecutionsRequest &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
Model::DescribeDeviceOutcomeCallable DescribeDeviceCallable(const DescribeDeviceRequestT &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
SnowDeviceManagementClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SnowDeviceManagementEndpointProviderBase > endpointProvider=nullptr, const Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration &clientConfiguration=Aws::SnowDeviceManagement::SnowDeviceManagementClientConfiguration())
void ListDeviceResourcesAsync(const ListDeviceResourcesRequestT &request, const ListDeviceResourcesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CancelTaskAsync(const CancelTaskRequestT &request, const CancelTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DescribeTaskAsync(const DescribeTaskRequestT &request, const DescribeTaskResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
SnowDeviceManagementClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::CreateTaskOutcome CreateTask(const Model::CreateTaskRequest &request) const
void DescribeDeviceAsync(const DescribeDeviceRequestT &request, const DescribeDeviceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< SnowDeviceManagementEndpointProviderBase > & accessEndpointProvider()
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateTaskOutcomeCallable CreateTaskCallable(const CreateTaskRequestT &request) const
void ListExecutionsAsync(const ListExecutionsRequestT &request, const ListExecutionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
Model::DescribeTaskOutcomeCallable DescribeTaskCallable(const DescribeTaskRequestT &request) const
void ListTasksAsync(const ListTasksResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListTasksRequestT &request={}) const
void DescribeDeviceEc2InstancesAsync(const DescribeDeviceEc2InstancesRequestT &request, const DescribeDeviceEc2InstancesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SnowDeviceManagementClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
SnowDeviceManagementClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void ListDevicesAsync(const ListDevicesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListDevicesRequestT &request={}) const
Model::DescribeDeviceEc2InstancesOutcomeCallable DescribeDeviceEc2InstancesCallable(const DescribeDeviceEc2InstancesRequestT &request) const
virtual Model::ListTasksOutcome ListTasks(const Model::ListTasksRequest &request={}) const
Model::ListExecutionsOutcomeCallable ListExecutionsCallable(const ListExecutionsRequestT &request) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::CancelTaskOutcomeCallable CancelTaskCallable(const CancelTaskRequestT &request) const
virtual Model::CancelTaskOutcome CancelTask(const Model::CancelTaskRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DescribeExecutionOutcomeCallable DescribeExecutionCallable(const DescribeExecutionRequestT &request) const
virtual Model::ListDevicesOutcome ListDevices(const Model::ListDevicesRequest &request={}) const
Model::ListDeviceResourcesOutcomeCallable ListDeviceResourcesCallable(const ListDeviceResourcesRequestT &request) const
virtual Model::DescribeExecutionOutcome DescribeExecution(const Model::DescribeExecutionRequest &request) const
void DescribeExecutionAsync(const DescribeExecutionRequestT &request, const DescribeExecutionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListDevicesOutcomeCallable ListDevicesCallable(const ListDevicesRequestT &request={}) const
std::future< ListDeviceResourcesOutcome > ListDeviceResourcesOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< DescribeDeviceEc2InstancesOutcome > DescribeDeviceEc2InstancesOutcomeCallable
std::future< CancelTaskOutcome > CancelTaskOutcomeCallable
std::future< CreateTaskOutcome > CreateTaskOutcomeCallable
std::future< DescribeDeviceOutcome > DescribeDeviceOutcomeCallable
std::future< ListDevicesOutcome > ListDevicesOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< DescribeExecutionOutcome > DescribeExecutionOutcomeCallable
std::future< ListExecutionsOutcome > ListExecutionsOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< DescribeTaskOutcome > DescribeTaskOutcomeCallable
std::function< void(const SnowDeviceManagementClient *, const Model::ListTasksRequest &, const Model::ListTasksOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTasksResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::ListDevicesRequest &, const Model::ListDevicesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDevicesResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::DescribeExecutionRequest &, const Model::DescribeExecutionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeExecutionResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::DescribeDeviceRequest &, const Model::DescribeDeviceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDeviceResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::CreateTaskRequest &, const Model::CreateTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateTaskResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::ListDeviceResourcesRequest &, const Model::ListDeviceResourcesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDeviceResourcesResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::CancelTaskRequest &, const Model::CancelTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelTaskResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::DescribeDeviceEc2InstancesRequest &, const Model::DescribeDeviceEc2InstancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeDeviceEc2InstancesResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::DescribeTaskRequest &, const Model::DescribeTaskOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeTaskResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const SnowDeviceManagementClient *, const Model::ListExecutionsRequest &, const Model::ListExecutionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListExecutionsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String