AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LicenseManagerUserSubscriptionsClient.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_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-user-subscriptions/LicenseManagerUserSubscriptionsServiceClientModel.h>
13
14namespace Aws
15{
16namespace LicenseManagerUserSubscriptions
17{
22 class AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseManagerUserSubscriptionsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<LicenseManagerUserSubscriptionsClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<LicenseManagerUserSubscriptionsEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<LicenseManagerUserSubscriptionsEndpointProviderBase> endpointProvider = nullptr,
46
51 LicenseManagerUserSubscriptionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<LicenseManagerUserSubscriptionsEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 LicenseManagerUserSubscriptionsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
93
97 template<typename AssociateUserRequestT = Model::AssociateUserRequest>
98 Model::AssociateUserOutcomeCallable AssociateUserCallable(const AssociateUserRequestT& request) const
99 {
100 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::AssociateUser, request);
101 }
102
106 template<typename AssociateUserRequestT = Model::AssociateUserRequest>
107 void AssociateUserAsync(const AssociateUserRequestT& request, const AssociateUserResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
108 {
109 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::AssociateUser, request, handler, context);
110 }
111
119
123 template<typename DeregisterIdentityProviderRequestT = Model::DeregisterIdentityProviderRequest>
124 Model::DeregisterIdentityProviderOutcomeCallable DeregisterIdentityProviderCallable(const DeregisterIdentityProviderRequestT& request) const
125 {
126 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::DeregisterIdentityProvider, request);
127 }
128
132 template<typename DeregisterIdentityProviderRequestT = Model::DeregisterIdentityProviderRequest>
133 void DeregisterIdentityProviderAsync(const DeregisterIdentityProviderRequestT& request, const DeregisterIdentityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
134 {
135 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::DeregisterIdentityProvider, request, handler, context);
136 }
137
145
149 template<typename DisassociateUserRequestT = Model::DisassociateUserRequest>
150 Model::DisassociateUserOutcomeCallable DisassociateUserCallable(const DisassociateUserRequestT& request) const
151 {
152 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::DisassociateUser, request);
153 }
154
158 template<typename DisassociateUserRequestT = Model::DisassociateUserRequest>
159 void DisassociateUserAsync(const DisassociateUserRequestT& request, const DisassociateUserResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
160 {
161 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::DisassociateUser, request, handler, context);
162 }
163
171
175 template<typename ListIdentityProvidersRequestT = Model::ListIdentityProvidersRequest>
176 Model::ListIdentityProvidersOutcomeCallable ListIdentityProvidersCallable(const ListIdentityProvidersRequestT& request = {}) const
177 {
178 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::ListIdentityProviders, request);
179 }
180
184 template<typename ListIdentityProvidersRequestT = Model::ListIdentityProvidersRequest>
185 void ListIdentityProvidersAsync(const ListIdentityProvidersResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListIdentityProvidersRequestT& request = {}) const
186 {
187 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::ListIdentityProviders, request, handler, context);
188 }
189
197
201 template<typename ListInstancesRequestT = Model::ListInstancesRequest>
202 Model::ListInstancesOutcomeCallable ListInstancesCallable(const ListInstancesRequestT& request = {}) const
203 {
204 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::ListInstances, request);
205 }
206
210 template<typename ListInstancesRequestT = Model::ListInstancesRequest>
211 void ListInstancesAsync(const ListInstancesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListInstancesRequestT& request = {}) const
212 {
213 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::ListInstances, request, handler, context);
214 }
215
223
227 template<typename ListProductSubscriptionsRequestT = Model::ListProductSubscriptionsRequest>
228 Model::ListProductSubscriptionsOutcomeCallable ListProductSubscriptionsCallable(const ListProductSubscriptionsRequestT& request) const
229 {
230 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::ListProductSubscriptions, request);
231 }
232
236 template<typename ListProductSubscriptionsRequestT = Model::ListProductSubscriptionsRequest>
237 void ListProductSubscriptionsAsync(const ListProductSubscriptionsRequestT& request, const ListProductSubscriptionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
238 {
239 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::ListProductSubscriptions, request, handler, context);
240 }
241
249
253 template<typename ListUserAssociationsRequestT = Model::ListUserAssociationsRequest>
254 Model::ListUserAssociationsOutcomeCallable ListUserAssociationsCallable(const ListUserAssociationsRequestT& request) const
255 {
256 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::ListUserAssociations, request);
257 }
258
262 template<typename ListUserAssociationsRequestT = Model::ListUserAssociationsRequest>
263 void ListUserAssociationsAsync(const ListUserAssociationsRequestT& request, const ListUserAssociationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
264 {
265 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::ListUserAssociations, request, handler, context);
266 }
267
275
279 template<typename RegisterIdentityProviderRequestT = Model::RegisterIdentityProviderRequest>
280 Model::RegisterIdentityProviderOutcomeCallable RegisterIdentityProviderCallable(const RegisterIdentityProviderRequestT& request) const
281 {
282 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::RegisterIdentityProvider, request);
283 }
284
288 template<typename RegisterIdentityProviderRequestT = Model::RegisterIdentityProviderRequest>
289 void RegisterIdentityProviderAsync(const RegisterIdentityProviderRequestT& request, const RegisterIdentityProviderResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
290 {
291 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::RegisterIdentityProvider, request, handler, context);
292 }
293
307
311 template<typename StartProductSubscriptionRequestT = Model::StartProductSubscriptionRequest>
312 Model::StartProductSubscriptionOutcomeCallable StartProductSubscriptionCallable(const StartProductSubscriptionRequestT& request) const
313 {
314 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::StartProductSubscription, request);
315 }
316
320 template<typename StartProductSubscriptionRequestT = Model::StartProductSubscriptionRequest>
321 void StartProductSubscriptionAsync(const StartProductSubscriptionRequestT& request, const StartProductSubscriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
322 {
323 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::StartProductSubscription, request, handler, context);
324 }
325
333
337 template<typename StopProductSubscriptionRequestT = Model::StopProductSubscriptionRequest>
338 Model::StopProductSubscriptionOutcomeCallable StopProductSubscriptionCallable(const StopProductSubscriptionRequestT& request) const
339 {
340 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::StopProductSubscription, request);
341 }
342
346 template<typename StopProductSubscriptionRequestT = Model::StopProductSubscriptionRequest>
347 void StopProductSubscriptionAsync(const StopProductSubscriptionRequestT& request, const StopProductSubscriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
348 {
349 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::StopProductSubscription, request, handler, context);
350 }
351
359
363 template<typename UpdateIdentityProviderSettingsRequestT = Model::UpdateIdentityProviderSettingsRequest>
364 Model::UpdateIdentityProviderSettingsOutcomeCallable UpdateIdentityProviderSettingsCallable(const UpdateIdentityProviderSettingsRequestT& request) const
365 {
366 return SubmitCallable(&LicenseManagerUserSubscriptionsClient::UpdateIdentityProviderSettings, request);
367 }
368
372 template<typename UpdateIdentityProviderSettingsRequestT = Model::UpdateIdentityProviderSettingsRequest>
373 void UpdateIdentityProviderSettingsAsync(const UpdateIdentityProviderSettingsRequestT& request, const UpdateIdentityProviderSettingsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
374 {
375 return SubmitAsync(&LicenseManagerUserSubscriptionsClient::UpdateIdentityProviderSettings, request, handler, context);
376 }
377
378
379 void OverrideEndpoint(const Aws::String& endpoint);
380 std::shared_ptr<LicenseManagerUserSubscriptionsEndpointProviderBase>& accessEndpointProvider();
381 private:
383 void init(const LicenseManagerUserSubscriptionsClientConfiguration& clientConfiguration);
384
386 std::shared_ptr<LicenseManagerUserSubscriptionsEndpointProviderBase> m_endpointProvider;
387 };
388
389} // namespace LicenseManagerUserSubscriptions
390} // namespace Aws
virtual Model::DisassociateUserOutcome DisassociateUser(const Model::DisassociateUserRequest &request) const
Model::UpdateIdentityProviderSettingsOutcomeCallable UpdateIdentityProviderSettingsCallable(const UpdateIdentityProviderSettingsRequestT &request) const
virtual Model::ListInstancesOutcome ListInstances(const Model::ListInstancesRequest &request={}) const
void ListProductSubscriptionsAsync(const ListProductSubscriptionsRequestT &request, const ListProductSubscriptionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::AssociateUserOutcome AssociateUser(const Model::AssociateUserRequest &request) const
LicenseManagerUserSubscriptionsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListProductSubscriptionsOutcomeCallable ListProductSubscriptionsCallable(const ListProductSubscriptionsRequestT &request) const
virtual Model::StopProductSubscriptionOutcome StopProductSubscription(const Model::StopProductSubscriptionRequest &request) const
Model::ListUserAssociationsOutcomeCallable ListUserAssociationsCallable(const ListUserAssociationsRequestT &request) const
Model::DeregisterIdentityProviderOutcomeCallable DeregisterIdentityProviderCallable(const DeregisterIdentityProviderRequestT &request) const
virtual Model::RegisterIdentityProviderOutcome RegisterIdentityProvider(const Model::RegisterIdentityProviderRequest &request) const
virtual Model::ListIdentityProvidersOutcome ListIdentityProviders(const Model::ListIdentityProvidersRequest &request={}) const
LicenseManagerUserSubscriptionsClient(const Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration(), std::shared_ptr< LicenseManagerUserSubscriptionsEndpointProviderBase > endpointProvider=nullptr)
void StopProductSubscriptionAsync(const StopProductSubscriptionRequestT &request, const StopProductSubscriptionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListIdentityProvidersAsync(const ListIdentityProvidersResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListIdentityProvidersRequestT &request={}) const
Model::StopProductSubscriptionOutcomeCallable StopProductSubscriptionCallable(const StopProductSubscriptionRequestT &request) const
Model::DisassociateUserOutcomeCallable DisassociateUserCallable(const DisassociateUserRequestT &request) const
LicenseManagerUserSubscriptionsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< LicenseManagerUserSubscriptionsEndpointProviderBase > endpointProvider=nullptr, const Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration())
void ListUserAssociationsAsync(const ListUserAssociationsRequestT &request, const ListUserAssociationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::AssociateUserOutcomeCallable AssociateUserCallable(const AssociateUserRequestT &request) const
void ListInstancesAsync(const ListInstancesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListInstancesRequestT &request={}) const
void AssociateUserAsync(const AssociateUserRequestT &request, const AssociateUserResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
LicenseManagerUserSubscriptionsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::StartProductSubscriptionOutcome StartProductSubscription(const Model::StartProductSubscriptionRequest &request) const
virtual Model::ListUserAssociationsOutcome ListUserAssociations(const Model::ListUserAssociationsRequest &request) const
std::shared_ptr< LicenseManagerUserSubscriptionsEndpointProviderBase > & accessEndpointProvider()
Model::ListInstancesOutcomeCallable ListInstancesCallable(const ListInstancesRequestT &request={}) const
LicenseManagerUserSubscriptionsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListIdentityProvidersOutcomeCallable ListIdentityProvidersCallable(const ListIdentityProvidersRequestT &request={}) const
Model::StartProductSubscriptionOutcomeCallable StartProductSubscriptionCallable(const StartProductSubscriptionRequestT &request) const
void StartProductSubscriptionAsync(const StartProductSubscriptionRequestT &request, const StartProductSubscriptionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
LicenseManagerUserSubscriptionsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< LicenseManagerUserSubscriptionsEndpointProviderBase > endpointProvider=nullptr, const Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration &clientConfiguration=Aws::LicenseManagerUserSubscriptions::LicenseManagerUserSubscriptionsClientConfiguration())
void DeregisterIdentityProviderAsync(const DeregisterIdentityProviderRequestT &request, const DeregisterIdentityProviderResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeregisterIdentityProviderOutcome DeregisterIdentityProvider(const Model::DeregisterIdentityProviderRequest &request) const
virtual Model::ListProductSubscriptionsOutcome ListProductSubscriptions(const Model::ListProductSubscriptionsRequest &request) const
Model::RegisterIdentityProviderOutcomeCallable RegisterIdentityProviderCallable(const RegisterIdentityProviderRequestT &request) const
void DisassociateUserAsync(const DisassociateUserRequestT &request, const DisassociateUserResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void RegisterIdentityProviderAsync(const RegisterIdentityProviderRequestT &request, const RegisterIdentityProviderResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdateIdentityProviderSettingsOutcome UpdateIdentityProviderSettings(const Model::UpdateIdentityProviderSettingsRequest &request) const
void UpdateIdentityProviderSettingsAsync(const UpdateIdentityProviderSettingsRequestT &request, const UpdateIdentityProviderSettingsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< UpdateIdentityProviderSettingsOutcome > UpdateIdentityProviderSettingsOutcomeCallable
std::future< RegisterIdentityProviderOutcome > RegisterIdentityProviderOutcomeCallable
std::future< DeregisterIdentityProviderOutcome > DeregisterIdentityProviderOutcomeCallable
std::future< StopProductSubscriptionOutcome > StopProductSubscriptionOutcomeCallable
std::future< ListProductSubscriptionsOutcome > ListProductSubscriptionsOutcomeCallable
std::future< ListIdentityProvidersOutcome > ListIdentityProvidersOutcomeCallable
std::future< StartProductSubscriptionOutcome > StartProductSubscriptionOutcomeCallable
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::StartProductSubscriptionRequest &, const Model::StartProductSubscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartProductSubscriptionResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::ListProductSubscriptionsRequest &, const Model::ListProductSubscriptionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListProductSubscriptionsResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::RegisterIdentityProviderRequest &, const Model::RegisterIdentityProviderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterIdentityProviderResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::ListInstancesRequest &, const Model::ListInstancesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListInstancesResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::DeregisterIdentityProviderRequest &, const Model::DeregisterIdentityProviderOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeregisterIdentityProviderResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::StopProductSubscriptionRequest &, const Model::StopProductSubscriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopProductSubscriptionResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::DisassociateUserRequest &, const Model::DisassociateUserOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisassociateUserResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::ListUserAssociationsRequest &, const Model::ListUserAssociationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListUserAssociationsResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::UpdateIdentityProviderSettingsRequest &, const Model::UpdateIdentityProviderSettingsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateIdentityProviderSettingsResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::AssociateUserRequest &, const Model::AssociateUserOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssociateUserResponseReceivedHandler
std::function< void(const LicenseManagerUserSubscriptionsClient *, const Model::ListIdentityProvidersRequest &, const Model::ListIdentityProvidersOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListIdentityProvidersResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String