AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchWizardClient.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_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/launch-wizard/LaunchWizardServiceClientModel.h>
13
14namespace Aws
15{
16namespace LaunchWizard
17{
24 class AWS_LAUNCHWIZARD_API LaunchWizardClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<LaunchWizardClient>
25 {
26 public:
28 static const char* GetServiceName();
29 static const char* GetAllocationTag();
30
33
39 std::shared_ptr<LaunchWizardEndpointProviderBase> endpointProvider = nullptr);
40
46 std::shared_ptr<LaunchWizardEndpointProviderBase> endpointProvider = nullptr,
48
53 LaunchWizardClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
54 std::shared_ptr<LaunchWizardEndpointProviderBase> endpointProvider = nullptr,
56
57
58 /* Legacy constructors due deprecation */
64
70 const Aws::Client::ClientConfiguration& clientConfiguration);
71
76 LaunchWizardClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
77 const Aws::Client::ClientConfiguration& clientConfiguration);
78
79 /* End of legacy constructors due deprecation */
81
90
94 template<typename CreateDeploymentRequestT = Model::CreateDeploymentRequest>
95 Model::CreateDeploymentOutcomeCallable CreateDeploymentCallable(const CreateDeploymentRequestT& request) const
96 {
97 return SubmitCallable(&LaunchWizardClient::CreateDeployment, request);
98 }
99
103 template<typename CreateDeploymentRequestT = Model::CreateDeploymentRequest>
104 void CreateDeploymentAsync(const CreateDeploymentRequestT& request, const CreateDeploymentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
105 {
106 return SubmitAsync(&LaunchWizardClient::CreateDeployment, request, handler, context);
107 }
108
115
119 template<typename DeleteDeploymentRequestT = Model::DeleteDeploymentRequest>
120 Model::DeleteDeploymentOutcomeCallable DeleteDeploymentCallable(const DeleteDeploymentRequestT& request) const
121 {
122 return SubmitCallable(&LaunchWizardClient::DeleteDeployment, request);
123 }
124
128 template<typename DeleteDeploymentRequestT = Model::DeleteDeploymentRequest>
129 void DeleteDeploymentAsync(const DeleteDeploymentRequestT& request, const DeleteDeploymentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
130 {
131 return SubmitAsync(&LaunchWizardClient::DeleteDeployment, request, handler, context);
132 }
133
140
144 template<typename GetDeploymentRequestT = Model::GetDeploymentRequest>
145 Model::GetDeploymentOutcomeCallable GetDeploymentCallable(const GetDeploymentRequestT& request) const
146 {
147 return SubmitCallable(&LaunchWizardClient::GetDeployment, request);
148 }
149
153 template<typename GetDeploymentRequestT = Model::GetDeploymentRequest>
154 void GetDeploymentAsync(const GetDeploymentRequestT& request, const GetDeploymentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
155 {
156 return SubmitAsync(&LaunchWizardClient::GetDeployment, request, handler, context);
157 }
158
165
169 template<typename GetWorkloadRequestT = Model::GetWorkloadRequest>
170 Model::GetWorkloadOutcomeCallable GetWorkloadCallable(const GetWorkloadRequestT& request) const
171 {
172 return SubmitCallable(&LaunchWizardClient::GetWorkload, request);
173 }
174
178 template<typename GetWorkloadRequestT = Model::GetWorkloadRequest>
179 void GetWorkloadAsync(const GetWorkloadRequestT& request, const GetWorkloadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
180 {
181 return SubmitAsync(&LaunchWizardClient::GetWorkload, request, handler, context);
182 }
183
196
200 template<typename GetWorkloadDeploymentPatternRequestT = Model::GetWorkloadDeploymentPatternRequest>
201 Model::GetWorkloadDeploymentPatternOutcomeCallable GetWorkloadDeploymentPatternCallable(const GetWorkloadDeploymentPatternRequestT& request) const
202 {
203 return SubmitCallable(&LaunchWizardClient::GetWorkloadDeploymentPattern, request);
204 }
205
209 template<typename GetWorkloadDeploymentPatternRequestT = Model::GetWorkloadDeploymentPatternRequest>
210 void GetWorkloadDeploymentPatternAsync(const GetWorkloadDeploymentPatternRequestT& request, const GetWorkloadDeploymentPatternResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
211 {
212 return SubmitAsync(&LaunchWizardClient::GetWorkloadDeploymentPattern, request, handler, context);
213 }
214
221
225 template<typename ListDeploymentEventsRequestT = Model::ListDeploymentEventsRequest>
226 Model::ListDeploymentEventsOutcomeCallable ListDeploymentEventsCallable(const ListDeploymentEventsRequestT& request) const
227 {
228 return SubmitCallable(&LaunchWizardClient::ListDeploymentEvents, request);
229 }
230
234 template<typename ListDeploymentEventsRequestT = Model::ListDeploymentEventsRequest>
235 void ListDeploymentEventsAsync(const ListDeploymentEventsRequestT& request, const ListDeploymentEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
236 {
237 return SubmitAsync(&LaunchWizardClient::ListDeploymentEvents, request, handler, context);
238 }
239
246
250 template<typename ListDeploymentsRequestT = Model::ListDeploymentsRequest>
251 Model::ListDeploymentsOutcomeCallable ListDeploymentsCallable(const ListDeploymentsRequestT& request = {}) const
252 {
253 return SubmitCallable(&LaunchWizardClient::ListDeployments, request);
254 }
255
259 template<typename ListDeploymentsRequestT = Model::ListDeploymentsRequest>
260 void ListDeploymentsAsync(const ListDeploymentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListDeploymentsRequestT& request = {}) const
261 {
262 return SubmitAsync(&LaunchWizardClient::ListDeployments, request, handler, context);
263 }
264
272
276 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
277 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
278 {
279 return SubmitCallable(&LaunchWizardClient::ListTagsForResource, request);
280 }
281
285 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
286 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
287 {
288 return SubmitAsync(&LaunchWizardClient::ListTagsForResource, request, handler, context);
289 }
290
301
305 template<typename ListWorkloadDeploymentPatternsRequestT = Model::ListWorkloadDeploymentPatternsRequest>
306 Model::ListWorkloadDeploymentPatternsOutcomeCallable ListWorkloadDeploymentPatternsCallable(const ListWorkloadDeploymentPatternsRequestT& request) const
307 {
308 return SubmitCallable(&LaunchWizardClient::ListWorkloadDeploymentPatterns, request);
309 }
310
314 template<typename ListWorkloadDeploymentPatternsRequestT = Model::ListWorkloadDeploymentPatternsRequest>
315 void ListWorkloadDeploymentPatternsAsync(const ListWorkloadDeploymentPatternsRequestT& request, const ListWorkloadDeploymentPatternsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
316 {
317 return SubmitAsync(&LaunchWizardClient::ListWorkloadDeploymentPatterns, request, handler, context);
318 }
319
329
333 template<typename ListWorkloadsRequestT = Model::ListWorkloadsRequest>
334 Model::ListWorkloadsOutcomeCallable ListWorkloadsCallable(const ListWorkloadsRequestT& request = {}) const
335 {
336 return SubmitCallable(&LaunchWizardClient::ListWorkloads, request);
337 }
338
342 template<typename ListWorkloadsRequestT = Model::ListWorkloadsRequest>
343 void ListWorkloadsAsync(const ListWorkloadsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListWorkloadsRequestT& request = {}) const
344 {
345 return SubmitAsync(&LaunchWizardClient::ListWorkloads, request, handler, context);
346 }
347
354
358 template<typename TagResourceRequestT = Model::TagResourceRequest>
359 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
360 {
361 return SubmitCallable(&LaunchWizardClient::TagResource, request);
362 }
363
367 template<typename TagResourceRequestT = Model::TagResourceRequest>
368 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
369 {
370 return SubmitAsync(&LaunchWizardClient::TagResource, request, handler, context);
371 }
372
380
384 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
385 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
386 {
387 return SubmitCallable(&LaunchWizardClient::UntagResource, request);
388 }
389
393 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
394 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
395 {
396 return SubmitAsync(&LaunchWizardClient::UntagResource, request, handler, context);
397 }
398
399
400 void OverrideEndpoint(const Aws::String& endpoint);
401 std::shared_ptr<LaunchWizardEndpointProviderBase>& accessEndpointProvider();
402 private:
404 void init(const LaunchWizardClientConfiguration& clientConfiguration);
405
406 LaunchWizardClientConfiguration m_clientConfiguration;
407 std::shared_ptr<LaunchWizardEndpointProviderBase> m_endpointProvider;
408 };
409
410} // namespace LaunchWizard
411} // namespace Aws
virtual Model::ListWorkloadDeploymentPatternsOutcome ListWorkloadDeploymentPatterns(const Model::ListWorkloadDeploymentPatternsRequest &request) const
std::shared_ptr< LaunchWizardEndpointProviderBase > & accessEndpointProvider()
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
Model::GetWorkloadOutcomeCallable GetWorkloadCallable(const GetWorkloadRequestT &request) const
void GetDeploymentAsync(const GetDeploymentRequestT &request, const GetDeploymentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListDeploymentsOutcomeCallable ListDeploymentsCallable(const ListDeploymentsRequestT &request={}) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
static const char * GetServiceName()
virtual Model::ListDeploymentEventsOutcome ListDeploymentEvents(const Model::ListDeploymentEventsRequest &request) const
LaunchWizardClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< LaunchWizardEndpointProviderBase > endpointProvider=nullptr, const Aws::LaunchWizard::LaunchWizardClientConfiguration &clientConfiguration=Aws::LaunchWizard::LaunchWizardClientConfiguration())
void ListDeploymentsAsync(const ListDeploymentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListDeploymentsRequestT &request={}) const
LaunchWizardClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void GetWorkloadDeploymentPatternAsync(const GetWorkloadDeploymentPatternRequestT &request, const GetWorkloadDeploymentPatternResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListDeploymentEventsOutcomeCallable ListDeploymentEventsCallable(const ListDeploymentEventsRequestT &request) const
LaunchWizardClient(const Aws::LaunchWizard::LaunchWizardClientConfiguration &clientConfiguration=Aws::LaunchWizard::LaunchWizardClientConfiguration(), std::shared_ptr< LaunchWizardEndpointProviderBase > endpointProvider=nullptr)
void ListDeploymentEventsAsync(const ListDeploymentEventsRequestT &request, const ListDeploymentEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListWorkloadsAsync(const ListWorkloadsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListWorkloadsRequestT &request={}) const
virtual Model::CreateDeploymentOutcome CreateDeployment(const Model::CreateDeploymentRequest &request) const
LaunchWizardClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< LaunchWizardEndpointProviderBase > endpointProvider=nullptr, const Aws::LaunchWizard::LaunchWizardClientConfiguration &clientConfiguration=Aws::LaunchWizard::LaunchWizardClientConfiguration())
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Model::ListWorkloadDeploymentPatternsOutcomeCallable ListWorkloadDeploymentPatternsCallable(const ListWorkloadDeploymentPatternsRequestT &request) const
void CreateDeploymentAsync(const CreateDeploymentRequestT &request, const CreateDeploymentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::GetWorkloadDeploymentPatternOutcomeCallable GetWorkloadDeploymentPatternCallable(const GetWorkloadDeploymentPatternRequestT &request) const
LaunchWizardClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
LaunchWizardClient(const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetAllocationTag()
virtual Model::GetWorkloadDeploymentPatternOutcome GetWorkloadDeploymentPattern(const Model::GetWorkloadDeploymentPatternRequest &request) const
Model::GetDeploymentOutcomeCallable GetDeploymentCallable(const GetDeploymentRequestT &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
void DeleteDeploymentAsync(const DeleteDeploymentRequestT &request, const DeleteDeploymentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListWorkloadsOutcome ListWorkloads(const Model::ListWorkloadsRequest &request={}) const
LaunchWizardEndpointProvider EndpointProviderType
void ListWorkloadDeploymentPatternsAsync(const ListWorkloadDeploymentPatternsRequestT &request, const ListWorkloadDeploymentPatternsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListWorkloadsOutcomeCallable ListWorkloadsCallable(const ListWorkloadsRequestT &request={}) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetWorkloadOutcome GetWorkload(const Model::GetWorkloadRequest &request) const
LaunchWizardClientConfiguration ClientConfigurationType
virtual Model::ListDeploymentsOutcome ListDeployments(const Model::ListDeploymentsRequest &request={}) const
Model::DeleteDeploymentOutcomeCallable DeleteDeploymentCallable(const DeleteDeploymentRequestT &request) const
virtual Model::DeleteDeploymentOutcome DeleteDeployment(const Model::DeleteDeploymentRequest &request) const
Model::CreateDeploymentOutcomeCallable CreateDeploymentCallable(const CreateDeploymentRequestT &request) const
virtual Model::GetDeploymentOutcome GetDeployment(const Model::GetDeploymentRequest &request) const
void GetWorkloadAsync(const GetWorkloadRequestT &request, const GetWorkloadResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::future< DeleteDeploymentOutcome > DeleteDeploymentOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< GetWorkloadOutcome > GetWorkloadOutcomeCallable
std::future< ListWorkloadDeploymentPatternsOutcome > ListWorkloadDeploymentPatternsOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListDeploymentEventsOutcome > ListDeploymentEventsOutcomeCallable
std::future< CreateDeploymentOutcome > CreateDeploymentOutcomeCallable
std::future< GetWorkloadDeploymentPatternOutcome > GetWorkloadDeploymentPatternOutcomeCallable
std::future< GetDeploymentOutcome > GetDeploymentOutcomeCallable
std::future< ListDeploymentsOutcome > ListDeploymentsOutcomeCallable
std::future< ListWorkloadsOutcome > ListWorkloadsOutcomeCallable
std::function< void(const LaunchWizardClient *, const Model::DeleteDeploymentRequest &, const Model::DeleteDeploymentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteDeploymentResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::ListWorkloadDeploymentPatternsRequest &, const Model::ListWorkloadDeploymentPatternsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListWorkloadDeploymentPatternsResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::ListDeploymentEventsRequest &, const Model::ListDeploymentEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDeploymentEventsResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::ListWorkloadsRequest &, const Model::ListWorkloadsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListWorkloadsResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::GetDeploymentRequest &, const Model::GetDeploymentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDeploymentResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::ListDeploymentsRequest &, const Model::ListDeploymentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListDeploymentsResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::GetWorkloadDeploymentPatternRequest &, const Model::GetWorkloadDeploymentPatternOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetWorkloadDeploymentPatternResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::CreateDeploymentRequest &, const Model::CreateDeploymentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateDeploymentResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::GetWorkloadRequest &, const Model::GetWorkloadOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetWorkloadResponseReceivedHandler
std::function< void(const LaunchWizardClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String