AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LicenseManagerLinuxSubscriptionsClient.h
1
6#pragma once
7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_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/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptionsServiceClientModel.h>
13
14namespace Aws
15{
16namespace LicenseManagerLinuxSubscriptions
17{
22 class AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API LicenseManagerLinuxSubscriptionsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<LicenseManagerLinuxSubscriptionsClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<LicenseManagerLinuxSubscriptionsEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<LicenseManagerLinuxSubscriptionsEndpointProviderBase> endpointProvider = nullptr,
46
51 LicenseManagerLinuxSubscriptionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<LicenseManagerLinuxSubscriptionsEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 LicenseManagerLinuxSubscriptionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
87
91 template<typename DeregisterSubscriptionProviderRequestT = Model::DeregisterSubscriptionProviderRequest>
92 Model::DeregisterSubscriptionProviderOutcomeCallable DeregisterSubscriptionProviderCallable(const DeregisterSubscriptionProviderRequestT& request) const
93 {
94 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::DeregisterSubscriptionProvider, request);
95 }
96
100 template<typename DeregisterSubscriptionProviderRequestT = Model::DeregisterSubscriptionProviderRequest>
101 void DeregisterSubscriptionProviderAsync(const DeregisterSubscriptionProviderRequestT& request, const DeregisterSubscriptionProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
102 {
103 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::DeregisterSubscriptionProvider, request, handler, context);
104 }
105
113
117 template<typename GetRegisteredSubscriptionProviderRequestT = Model::GetRegisteredSubscriptionProviderRequest>
119 {
120 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::GetRegisteredSubscriptionProvider, request);
121 }
122
126 template<typename GetRegisteredSubscriptionProviderRequestT = Model::GetRegisteredSubscriptionProviderRequest>
127 void GetRegisteredSubscriptionProviderAsync(const GetRegisteredSubscriptionProviderRequestT& request, const GetRegisteredSubscriptionProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
128 {
129 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::GetRegisteredSubscriptionProvider, request, handler, context);
130 }
131
139
143 template<typename GetServiceSettingsRequestT = Model::GetServiceSettingsRequest>
144 Model::GetServiceSettingsOutcomeCallable GetServiceSettingsCallable(const GetServiceSettingsRequestT& request = {}) const
145 {
146 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::GetServiceSettings, request);
147 }
148
152 template<typename GetServiceSettingsRequestT = Model::GetServiceSettingsRequest>
153 void GetServiceSettingsAsync(const GetServiceSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetServiceSettingsRequestT& request = {}) const
154 {
155 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::GetServiceSettings, request, handler, context);
156 }
157
165
169 template<typename ListLinuxSubscriptionInstancesRequestT = Model::ListLinuxSubscriptionInstancesRequest>
170 Model::ListLinuxSubscriptionInstancesOutcomeCallable ListLinuxSubscriptionInstancesCallable(const ListLinuxSubscriptionInstancesRequestT& request = {}) const
171 {
172 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::ListLinuxSubscriptionInstances, request);
173 }
174
178 template<typename ListLinuxSubscriptionInstancesRequestT = Model::ListLinuxSubscriptionInstancesRequest>
179 void ListLinuxSubscriptionInstancesAsync(const ListLinuxSubscriptionInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListLinuxSubscriptionInstancesRequestT& request = {}) const
180 {
181 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::ListLinuxSubscriptionInstances, request, handler, context);
182 }
183
192
196 template<typename ListLinuxSubscriptionsRequestT = Model::ListLinuxSubscriptionsRequest>
197 Model::ListLinuxSubscriptionsOutcomeCallable ListLinuxSubscriptionsCallable(const ListLinuxSubscriptionsRequestT& request = {}) const
198 {
199 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::ListLinuxSubscriptions, request);
200 }
201
205 template<typename ListLinuxSubscriptionsRequestT = Model::ListLinuxSubscriptionsRequest>
206 void ListLinuxSubscriptionsAsync(const ListLinuxSubscriptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListLinuxSubscriptionsRequestT& request = {}) const
207 {
208 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::ListLinuxSubscriptions, request, handler, context);
209 }
210
218
222 template<typename ListRegisteredSubscriptionProvidersRequestT = Model::ListRegisteredSubscriptionProvidersRequest>
223 Model::ListRegisteredSubscriptionProvidersOutcomeCallable ListRegisteredSubscriptionProvidersCallable(const ListRegisteredSubscriptionProvidersRequestT& request = {}) const
224 {
225 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::ListRegisteredSubscriptionProviders, request);
226 }
227
231 template<typename ListRegisteredSubscriptionProvidersRequestT = Model::ListRegisteredSubscriptionProvidersRequest>
232 void ListRegisteredSubscriptionProvidersAsync(const ListRegisteredSubscriptionProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListRegisteredSubscriptionProvidersRequestT& request = {}) const
233 {
234 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::ListRegisteredSubscriptionProviders, request, handler, context);
235 }
236
244
248 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
249 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
250 {
251 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::ListTagsForResource, request);
252 }
253
257 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
258 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
259 {
260 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::ListTagsForResource, request, handler, context);
261 }
262
270
274 template<typename RegisterSubscriptionProviderRequestT = Model::RegisterSubscriptionProviderRequest>
275 Model::RegisterSubscriptionProviderOutcomeCallable RegisterSubscriptionProviderCallable(const RegisterSubscriptionProviderRequestT& request) const
276 {
277 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::RegisterSubscriptionProvider, request);
278 }
279
283 template<typename RegisterSubscriptionProviderRequestT = Model::RegisterSubscriptionProviderRequest>
284 void RegisterSubscriptionProviderAsync(const RegisterSubscriptionProviderRequestT& request, const RegisterSubscriptionProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
285 {
286 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::RegisterSubscriptionProvider, request, handler, context);
287 }
288
296
300 template<typename TagResourceRequestT = Model::TagResourceRequest>
301 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
302 {
303 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::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(&LicenseManagerLinuxSubscriptionsClient::TagResource, request, handler, context);
313 }
314
322
326 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
327 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
328 {
329 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::UntagResource, request);
330 }
331
335 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
336 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
337 {
338 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::UntagResource, request, handler, context);
339 }
340
348
352 template<typename UpdateServiceSettingsRequestT = Model::UpdateServiceSettingsRequest>
353 Model::UpdateServiceSettingsOutcomeCallable UpdateServiceSettingsCallable(const UpdateServiceSettingsRequestT& request) const
354 {
355 return SubmitCallable(&LicenseManagerLinuxSubscriptionsClient::UpdateServiceSettings, request);
356 }
357
361 template<typename UpdateServiceSettingsRequestT = Model::UpdateServiceSettingsRequest>
362 void UpdateServiceSettingsAsync(const UpdateServiceSettingsRequestT& request, const UpdateServiceSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
363 {
364 return SubmitAsync(&LicenseManagerLinuxSubscriptionsClient::UpdateServiceSettings, request, handler, context);
365 }
366
367
368 void OverrideEndpoint(const Aws::String& endpoint);
369 std::shared_ptr<LicenseManagerLinuxSubscriptionsEndpointProviderBase>& accessEndpointProvider();
370 private:
372 void init(const LicenseManagerLinuxSubscriptionsClientConfiguration& clientConfiguration);
373
375 std::shared_ptr<LicenseManagerLinuxSubscriptionsEndpointProviderBase> m_endpointProvider;
376 };
377
378} // namespace LicenseManagerLinuxSubscriptions
379} // namespace Aws
void ListLinuxSubscriptionsAsync(const ListLinuxSubscriptionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListLinuxSubscriptionsRequestT &request={}) const
void DeregisterSubscriptionProviderAsync(const DeregisterSubscriptionProviderRequestT &request, const DeregisterSubscriptionProviderResponseReceivedHandler &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
virtual Model::DeregisterSubscriptionProviderOutcome DeregisterSubscriptionProvider(const Model::DeregisterSubscriptionProviderRequest &request) const
LicenseManagerLinuxSubscriptionsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< LicenseManagerLinuxSubscriptionsEndpointProviderBase > endpointProvider=nullptr, const Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration())
LicenseManagerLinuxSubscriptionsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetServiceSettingsOutcome GetServiceSettings(const Model::GetServiceSettingsRequest &request={}) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::DeregisterSubscriptionProviderOutcomeCallable DeregisterSubscriptionProviderCallable(const DeregisterSubscriptionProviderRequestT &request) const
Model::ListLinuxSubscriptionsOutcomeCallable ListLinuxSubscriptionsCallable(const ListLinuxSubscriptionsRequestT &request={}) const
Model::RegisterSubscriptionProviderOutcomeCallable RegisterSubscriptionProviderCallable(const RegisterSubscriptionProviderRequestT &request) const
virtual Model::ListLinuxSubscriptionsOutcome ListLinuxSubscriptions(const Model::ListLinuxSubscriptionsRequest &request={}) const
Model::ListLinuxSubscriptionInstancesOutcomeCallable ListLinuxSubscriptionInstancesCallable(const ListLinuxSubscriptionInstancesRequestT &request={}) const
Model::GetServiceSettingsOutcomeCallable GetServiceSettingsCallable(const GetServiceSettingsRequestT &request={}) const
void GetServiceSettingsAsync(const GetServiceSettingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetServiceSettingsRequestT &request={}) const
void GetRegisteredSubscriptionProviderAsync(const GetRegisteredSubscriptionProviderRequestT &request, const GetRegisteredSubscriptionProviderResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< LicenseManagerLinuxSubscriptionsEndpointProviderBase > & accessEndpointProvider()
void ListRegisteredSubscriptionProvidersAsync(const ListRegisteredSubscriptionProvidersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListRegisteredSubscriptionProvidersRequestT &request={}) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListLinuxSubscriptionInstancesAsync(const ListLinuxSubscriptionInstancesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListLinuxSubscriptionInstancesRequestT &request={}) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
LicenseManagerLinuxSubscriptionsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
LicenseManagerLinuxSubscriptionsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void RegisterSubscriptionProviderAsync(const RegisterSubscriptionProviderRequestT &request, const RegisterSubscriptionProviderResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
virtual Model::ListLinuxSubscriptionInstancesOutcome ListLinuxSubscriptionInstances(const Model::ListLinuxSubscriptionInstancesRequest &request={}) const
virtual Model::ListRegisteredSubscriptionProvidersOutcome ListRegisteredSubscriptionProviders(const Model::ListRegisteredSubscriptionProvidersRequest &request={}) const
Model::ListRegisteredSubscriptionProvidersOutcomeCallable ListRegisteredSubscriptionProvidersCallable(const ListRegisteredSubscriptionProvidersRequestT &request={}) const
Model::GetRegisteredSubscriptionProviderOutcomeCallable GetRegisteredSubscriptionProviderCallable(const GetRegisteredSubscriptionProviderRequestT &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
LicenseManagerLinuxSubscriptionsClient(const Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration(), std::shared_ptr< LicenseManagerLinuxSubscriptionsEndpointProviderBase > endpointProvider=nullptr)
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::UpdateServiceSettingsOutcome UpdateServiceSettings(const Model::UpdateServiceSettingsRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
LicenseManagerLinuxSubscriptionsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< LicenseManagerLinuxSubscriptionsEndpointProviderBase > endpointProvider=nullptr, const Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerLinuxSubscriptions::LicenseManagerLinuxSubscriptionsClientConfiguration())
virtual Model::GetRegisteredSubscriptionProviderOutcome GetRegisteredSubscriptionProvider(const Model::GetRegisteredSubscriptionProviderRequest &request) const
void UpdateServiceSettingsAsync(const UpdateServiceSettingsRequestT &request, const UpdateServiceSettingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RegisterSubscriptionProviderOutcome RegisterSubscriptionProvider(const Model::RegisterSubscriptionProviderRequest &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Model::UpdateServiceSettingsOutcomeCallable UpdateServiceSettingsCallable(const UpdateServiceSettingsRequestT &request) const
std::future< DeregisterSubscriptionProviderOutcome > DeregisterSubscriptionProviderOutcomeCallable
std::future< RegisterSubscriptionProviderOutcome > RegisterSubscriptionProviderOutcomeCallable
std::future< GetRegisteredSubscriptionProviderOutcome > GetRegisteredSubscriptionProviderOutcomeCallable
std::future< ListRegisteredSubscriptionProvidersOutcome > ListRegisteredSubscriptionProvidersOutcomeCallable
std::future< ListLinuxSubscriptionsOutcome > ListLinuxSubscriptionsOutcomeCallable
std::future< ListLinuxSubscriptionInstancesOutcome > ListLinuxSubscriptionInstancesOutcomeCallable
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::UpdateServiceSettingsRequest &, const Model::UpdateServiceSettingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateServiceSettingsResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::DeregisterSubscriptionProviderRequest &, const Model::DeregisterSubscriptionProviderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeregisterSubscriptionProviderResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::GetRegisteredSubscriptionProviderRequest &, const Model::GetRegisteredSubscriptionProviderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRegisteredSubscriptionProviderResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::ListRegisteredSubscriptionProvidersRequest &, const Model::ListRegisteredSubscriptionProvidersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRegisteredSubscriptionProvidersResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::ListLinuxSubscriptionInstancesRequest &, const Model::ListLinuxSubscriptionInstancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListLinuxSubscriptionInstancesResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::ListLinuxSubscriptionsRequest &, const Model::ListLinuxSubscriptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListLinuxSubscriptionsResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::RegisterSubscriptionProviderRequest &, const Model::RegisterSubscriptionProviderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterSubscriptionProviderResponseReceivedHandler
std::function< void(const LicenseManagerLinuxSubscriptionsClient *, const Model::GetServiceSettingsRequest &, const Model::GetServiceSettingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetServiceSettingsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String