AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MarketplaceDeploymentClient.h
1
6#pragma once
7#include <aws/marketplace-deployment/MarketplaceDeployment_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/marketplace-deployment/MarketplaceDeploymentServiceClientModel.h>
13
14namespace Aws
15{
16namespace MarketplaceDeployment
17{
27 class AWS_MARKETPLACEDEPLOYMENT_API MarketplaceDeploymentClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<MarketplaceDeploymentClient>
28 {
29 public:
31 static const char* GetServiceName();
32 static const char* GetAllocationTag();
33
36
42 std::shared_ptr<MarketplaceDeploymentEndpointProviderBase> endpointProvider = nullptr);
43
49 std::shared_ptr<MarketplaceDeploymentEndpointProviderBase> endpointProvider = nullptr,
51
56 MarketplaceDeploymentClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
57 std::shared_ptr<MarketplaceDeploymentEndpointProviderBase> endpointProvider = nullptr,
59
60
61 /* Legacy constructors due deprecation */
67
73 const Aws::Client::ClientConfiguration& clientConfiguration);
74
79 MarketplaceDeploymentClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
82 /* End of legacy constructors due deprecation */
84
92
96 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
97 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
98 {
99 return SubmitCallable(&MarketplaceDeploymentClient::ListTagsForResource, request);
100 }
101
105 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
106 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
107 {
108 return SubmitAsync(&MarketplaceDeploymentClient::ListTagsForResource, request, handler, context);
109 }
110
118
122 template<typename PutDeploymentParameterRequestT = Model::PutDeploymentParameterRequest>
123 Model::PutDeploymentParameterOutcomeCallable PutDeploymentParameterCallable(const PutDeploymentParameterRequestT& request) const
124 {
125 return SubmitCallable(&MarketplaceDeploymentClient::PutDeploymentParameter, request);
126 }
127
131 template<typename PutDeploymentParameterRequestT = Model::PutDeploymentParameterRequest>
132 void PutDeploymentParameterAsync(const PutDeploymentParameterRequestT& request, const PutDeploymentParameterResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
133 {
134 return SubmitAsync(&MarketplaceDeploymentClient::PutDeploymentParameter, request, handler, context);
135 }
136
143
147 template<typename TagResourceRequestT = Model::TagResourceRequest>
148 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
149 {
150 return SubmitCallable(&MarketplaceDeploymentClient::TagResource, request);
151 }
152
156 template<typename TagResourceRequestT = Model::TagResourceRequest>
157 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
158 {
159 return SubmitAsync(&MarketplaceDeploymentClient::TagResource, request, handler, context);
160 }
161
168
172 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
173 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
174 {
175 return SubmitCallable(&MarketplaceDeploymentClient::UntagResource, request);
176 }
177
181 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
182 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
183 {
184 return SubmitAsync(&MarketplaceDeploymentClient::UntagResource, request, handler, context);
185 }
186
187
188 void OverrideEndpoint(const Aws::String& endpoint);
189 std::shared_ptr<MarketplaceDeploymentEndpointProviderBase>& accessEndpointProvider();
190 private:
192 void init(const MarketplaceDeploymentClientConfiguration& clientConfiguration);
193
194 MarketplaceDeploymentClientConfiguration m_clientConfiguration;
195 std::shared_ptr<MarketplaceDeploymentEndpointProviderBase> m_endpointProvider;
196 };
197
198} // namespace MarketplaceDeployment
199} // namespace Aws
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
MarketplaceDeploymentClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
MarketplaceDeploymentClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
MarketplaceDeploymentClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::PutDeploymentParameterOutcome PutDeploymentParameter(const Model::PutDeploymentParameterRequest &request) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
void PutDeploymentParameterAsync(const PutDeploymentParameterRequestT &request, const PutDeploymentParameterResponseReceivedHandler &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
void OverrideEndpoint(const Aws::String &endpoint)
MarketplaceDeploymentClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< MarketplaceDeploymentEndpointProviderBase > endpointProvider=nullptr, const Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration &clientConfiguration=Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration())
Model::PutDeploymentParameterOutcomeCallable PutDeploymentParameterCallable(const PutDeploymentParameterRequestT &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
std::shared_ptr< MarketplaceDeploymentEndpointProviderBase > & accessEndpointProvider()
MarketplaceDeploymentClientConfiguration ClientConfigurationType
MarketplaceDeploymentClient(const Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration &clientConfiguration=Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration(), std::shared_ptr< MarketplaceDeploymentEndpointProviderBase > endpointProvider=nullptr)
MarketplaceDeploymentClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< MarketplaceDeploymentEndpointProviderBase > endpointProvider=nullptr, const Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration &clientConfiguration=Aws::MarketplaceDeployment::MarketplaceDeploymentClientConfiguration())
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< PutDeploymentParameterOutcome > PutDeploymentParameterOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::function< void(const MarketplaceDeploymentClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const MarketplaceDeploymentClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const MarketplaceDeploymentClient *, const Model::PutDeploymentParameterRequest &, const Model::PutDeploymentParameterOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutDeploymentParameterResponseReceivedHandler
std::function< void(const MarketplaceDeploymentClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String