AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IoTFleetHubClient.h
1
6#pragma once
7#include <aws/iotfleethub/IoTFleetHub_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/iotfleethub/IoTFleetHubServiceClientModel.h>
13
14namespace Aws
15{
16namespace IoTFleetHub
17{
22 class AWS_IOTFLEETHUB_API IoTFleetHubClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<IoTFleetHubClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<IoTFleetHubEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<IoTFleetHubEndpointProviderBase> endpointProvider = nullptr,
46
51 IoTFleetHubClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<IoTFleetHubEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 IoTFleetHubClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
94
98 template<typename CreateApplicationRequestT = Model::CreateApplicationRequest>
99 Model::CreateApplicationOutcomeCallable CreateApplicationCallable(const CreateApplicationRequestT& request) const
100 {
101 return SubmitCallable(&IoTFleetHubClient::CreateApplication, request);
102 }
103
107 template<typename CreateApplicationRequestT = Model::CreateApplicationRequest>
108 void CreateApplicationAsync(const CreateApplicationRequestT& request, const CreateApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
109 {
110 return SubmitAsync(&IoTFleetHubClient::CreateApplication, request, handler, context);
111 }
112
120
124 template<typename DeleteApplicationRequestT = Model::DeleteApplicationRequest>
125 Model::DeleteApplicationOutcomeCallable DeleteApplicationCallable(const DeleteApplicationRequestT& request) const
126 {
127 return SubmitCallable(&IoTFleetHubClient::DeleteApplication, request);
128 }
129
133 template<typename DeleteApplicationRequestT = Model::DeleteApplicationRequest>
134 void DeleteApplicationAsync(const DeleteApplicationRequestT& request, const DeleteApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
135 {
136 return SubmitAsync(&IoTFleetHubClient::DeleteApplication, request, handler, context);
137 }
138
146
150 template<typename DescribeApplicationRequestT = Model::DescribeApplicationRequest>
151 Model::DescribeApplicationOutcomeCallable DescribeApplicationCallable(const DescribeApplicationRequestT& request) const
152 {
153 return SubmitCallable(&IoTFleetHubClient::DescribeApplication, request);
154 }
155
159 template<typename DescribeApplicationRequestT = Model::DescribeApplicationRequest>
160 void DescribeApplicationAsync(const DescribeApplicationRequestT& request, const DescribeApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
161 {
162 return SubmitAsync(&IoTFleetHubClient::DescribeApplication, request, handler, context);
163 }
164
172
176 template<typename ListApplicationsRequestT = Model::ListApplicationsRequest>
177 Model::ListApplicationsOutcomeCallable ListApplicationsCallable(const ListApplicationsRequestT& request = {}) const
178 {
179 return SubmitCallable(&IoTFleetHubClient::ListApplications, request);
180 }
181
185 template<typename ListApplicationsRequestT = Model::ListApplicationsRequest>
186 void ListApplicationsAsync(const ListApplicationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListApplicationsRequestT& request = {}) const
187 {
188 return SubmitAsync(&IoTFleetHubClient::ListApplications, request, handler, context);
189 }
190
197
201 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
202 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
203 {
204 return SubmitCallable(&IoTFleetHubClient::ListTagsForResource, request);
205 }
206
210 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
211 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
212 {
213 return SubmitAsync(&IoTFleetHubClient::ListTagsForResource, request, handler, context);
214 }
215
223
227 template<typename TagResourceRequestT = Model::TagResourceRequest>
228 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
229 {
230 return SubmitCallable(&IoTFleetHubClient::TagResource, request);
231 }
232
236 template<typename TagResourceRequestT = Model::TagResourceRequest>
237 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
238 {
239 return SubmitAsync(&IoTFleetHubClient::TagResource, request, handler, context);
240 }
241
249
253 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
254 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
255 {
256 return SubmitCallable(&IoTFleetHubClient::UntagResource, request);
257 }
258
262 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
263 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
264 {
265 return SubmitAsync(&IoTFleetHubClient::UntagResource, request, handler, context);
266 }
267
275
279 template<typename UpdateApplicationRequestT = Model::UpdateApplicationRequest>
280 Model::UpdateApplicationOutcomeCallable UpdateApplicationCallable(const UpdateApplicationRequestT& request) const
281 {
282 return SubmitCallable(&IoTFleetHubClient::UpdateApplication, request);
283 }
284
288 template<typename UpdateApplicationRequestT = Model::UpdateApplicationRequest>
289 void UpdateApplicationAsync(const UpdateApplicationRequestT& request, const UpdateApplicationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
290 {
291 return SubmitAsync(&IoTFleetHubClient::UpdateApplication, request, handler, context);
292 }
293
294
295 void OverrideEndpoint(const Aws::String& endpoint);
296 std::shared_ptr<IoTFleetHubEndpointProviderBase>& accessEndpointProvider();
297 private:
299 void init(const IoTFleetHubClientConfiguration& clientConfiguration);
300
301 IoTFleetHubClientConfiguration m_clientConfiguration;
302 std::shared_ptr<IoTFleetHubEndpointProviderBase> m_endpointProvider;
303 };
304
305} // namespace IoTFleetHub
306} // namespace Aws
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
IoTFleetHubClientConfiguration ClientConfigurationType
void UpdateApplicationAsync(const UpdateApplicationRequestT &request, const UpdateApplicationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
IoTFleetHubClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual Model::ListApplicationsOutcome ListApplications(const Model::ListApplicationsRequest &request={}) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListApplicationsAsync(const ListApplicationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListApplicationsRequestT &request={}) const
virtual Model::CreateApplicationOutcome CreateApplication(const Model::CreateApplicationRequest &request) const
Model::DeleteApplicationOutcomeCallable DeleteApplicationCallable(const DeleteApplicationRequestT &request) const
void DeleteApplicationAsync(const DeleteApplicationRequestT &request, const DeleteApplicationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::CreateApplicationOutcomeCallable CreateApplicationCallable(const CreateApplicationRequestT &request) const
void CreateApplicationAsync(const CreateApplicationRequestT &request, const CreateApplicationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListApplicationsOutcomeCallable ListApplicationsCallable(const ListApplicationsRequestT &request={}) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
IoTFleetHubEndpointProvider EndpointProviderType
IoTFleetHubClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< IoTFleetHubEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTFleetHub::IoTFleetHubClientConfiguration &clientConfiguration=Aws::IoTFleetHub::IoTFleetHubClientConfiguration())
void DescribeApplicationAsync(const DescribeApplicationRequestT &request, const DescribeApplicationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< IoTFleetHubEndpointProviderBase > & accessEndpointProvider()
virtual Model::DeleteApplicationOutcome DeleteApplication(const Model::DeleteApplicationRequest &request) const
virtual Model::UpdateApplicationOutcome UpdateApplication(const Model::UpdateApplicationRequest &request) const
static const char * GetAllocationTag()
IoTFleetHubClient(const Aws::IoTFleetHub::IoTFleetHubClientConfiguration &clientConfiguration=Aws::IoTFleetHub::IoTFleetHubClientConfiguration(), std::shared_ptr< IoTFleetHubEndpointProviderBase > endpointProvider=nullptr)
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::DescribeApplicationOutcomeCallable DescribeApplicationCallable(const DescribeApplicationRequestT &request) const
IoTFleetHubClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< IoTFleetHubEndpointProviderBase > endpointProvider=nullptr, const Aws::IoTFleetHub::IoTFleetHubClientConfiguration &clientConfiguration=Aws::IoTFleetHub::IoTFleetHubClientConfiguration())
Aws::Client::AWSJsonClient BASECLASS
IoTFleetHubClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::DescribeApplicationOutcome DescribeApplication(const Model::DescribeApplicationRequest &request) const
Model::UpdateApplicationOutcomeCallable UpdateApplicationCallable(const UpdateApplicationRequestT &request) const
IoTFleetHubClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< CreateApplicationOutcome > CreateApplicationOutcomeCallable
std::future< UpdateApplicationOutcome > UpdateApplicationOutcomeCallable
std::future< DescribeApplicationOutcome > DescribeApplicationOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< DeleteApplicationOutcome > DeleteApplicationOutcomeCallable
std::future< ListApplicationsOutcome > ListApplicationsOutcomeCallable
std::function< void(const IoTFleetHubClient *, const Model::ListApplicationsRequest &, const Model::ListApplicationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListApplicationsResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::UpdateApplicationRequest &, const Model::UpdateApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateApplicationResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::DescribeApplicationRequest &, const Model::DescribeApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeApplicationResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::DeleteApplicationRequest &, const Model::DeleteApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteApplicationResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::CreateApplicationRequest &, const Model::CreateApplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateApplicationResponseReceivedHandler
std::function< void(const IoTFleetHubClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String