AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipesClient.h
1
6#pragma once
7#include <aws/pipes/Pipes_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/pipes/PipesServiceClientModel.h>
13
14namespace Aws
15{
16namespace Pipes
17{
27 {
28 public:
30 static const char* GetServiceName();
31 static const char* GetAllocationTag();
32
35
41 std::shared_ptr<PipesEndpointProviderBase> endpointProvider = nullptr);
42
48 std::shared_ptr<PipesEndpointProviderBase> endpointProvider = nullptr,
50
55 PipesClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
56 std::shared_ptr<PipesEndpointProviderBase> endpointProvider = nullptr,
58
59
60 /* Legacy constructors due deprecation */
65 PipesClient(const Aws::Client::ClientConfiguration& clientConfiguration);
66
72 const Aws::Client::ClientConfiguration& clientConfiguration);
73
78 PipesClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
82 virtual ~PipesClient();
83
92
96 template<typename CreatePipeRequestT = Model::CreatePipeRequest>
97 Model::CreatePipeOutcomeCallable CreatePipeCallable(const CreatePipeRequestT& request) const
98 {
99 return SubmitCallable(&PipesClient::CreatePipe, request);
100 }
101
105 template<typename CreatePipeRequestT = Model::CreatePipeRequest>
106 void CreatePipeAsync(const CreatePipeRequestT& request, const CreatePipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
107 {
108 return SubmitAsync(&PipesClient::CreatePipe, request, handler, context);
109 }
110
120
124 template<typename DeletePipeRequestT = Model::DeletePipeRequest>
125 Model::DeletePipeOutcomeCallable DeletePipeCallable(const DeletePipeRequestT& request) const
126 {
127 return SubmitCallable(&PipesClient::DeletePipe, request);
128 }
129
133 template<typename DeletePipeRequestT = Model::DeletePipeRequest>
134 void DeletePipeAsync(const DeletePipeRequestT& request, const DeletePipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
135 {
136 return SubmitAsync(&PipesClient::DeletePipe, request, handler, context);
137 }
138
149
153 template<typename DescribePipeRequestT = Model::DescribePipeRequest>
154 Model::DescribePipeOutcomeCallable DescribePipeCallable(const DescribePipeRequestT& request) const
155 {
156 return SubmitCallable(&PipesClient::DescribePipe, request);
157 }
158
162 template<typename DescribePipeRequestT = Model::DescribePipeRequest>
163 void DescribePipeAsync(const DescribePipeRequestT& request, const DescribePipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
164 {
165 return SubmitAsync(&PipesClient::DescribePipe, request, handler, context);
166 }
167
178
182 template<typename ListPipesRequestT = Model::ListPipesRequest>
183 Model::ListPipesOutcomeCallable ListPipesCallable(const ListPipesRequestT& request = {}) const
184 {
185 return SubmitCallable(&PipesClient::ListPipes, request);
186 }
187
191 template<typename ListPipesRequestT = Model::ListPipesRequest>
192 void ListPipesAsync(const ListPipesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListPipesRequestT& request = {}) const
193 {
194 return SubmitAsync(&PipesClient::ListPipes, request, handler, context);
195 }
196
203
207 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
208 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
209 {
210 return SubmitCallable(&PipesClient::ListTagsForResource, request);
211 }
212
216 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
217 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
218 {
219 return SubmitAsync(&PipesClient::ListTagsForResource, request, handler, context);
220 }
221
228
232 template<typename StartPipeRequestT = Model::StartPipeRequest>
233 Model::StartPipeOutcomeCallable StartPipeCallable(const StartPipeRequestT& request) const
234 {
235 return SubmitCallable(&PipesClient::StartPipe, request);
236 }
237
241 template<typename StartPipeRequestT = Model::StartPipeRequest>
242 void StartPipeAsync(const StartPipeRequestT& request, const StartPipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
243 {
244 return SubmitAsync(&PipesClient::StartPipe, request, handler, context);
245 }
246
253
257 template<typename StopPipeRequestT = Model::StopPipeRequest>
258 Model::StopPipeOutcomeCallable StopPipeCallable(const StopPipeRequestT& request) const
259 {
260 return SubmitCallable(&PipesClient::StopPipe, request);
261 }
262
266 template<typename StopPipeRequestT = Model::StopPipeRequest>
267 void StopPipeAsync(const StopPipeRequestT& request, const StopPipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
268 {
269 return SubmitAsync(&PipesClient::StopPipe, request, handler, context);
270 }
271
288
292 template<typename TagResourceRequestT = Model::TagResourceRequest>
293 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
294 {
295 return SubmitCallable(&PipesClient::TagResource, request);
296 }
297
301 template<typename TagResourceRequestT = Model::TagResourceRequest>
302 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
303 {
304 return SubmitAsync(&PipesClient::TagResource, request, handler, context);
305 }
306
314
318 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
319 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
320 {
321 return SubmitCallable(&PipesClient::UntagResource, request);
322 }
323
327 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
328 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
329 {
330 return SubmitAsync(&PipesClient::UntagResource, request, handler, context);
331 }
332
353
357 template<typename UpdatePipeRequestT = Model::UpdatePipeRequest>
358 Model::UpdatePipeOutcomeCallable UpdatePipeCallable(const UpdatePipeRequestT& request) const
359 {
360 return SubmitCallable(&PipesClient::UpdatePipe, request);
361 }
362
366 template<typename UpdatePipeRequestT = Model::UpdatePipeRequest>
367 void UpdatePipeAsync(const UpdatePipeRequestT& request, const UpdatePipeResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
368 {
369 return SubmitAsync(&PipesClient::UpdatePipe, request, handler, context);
370 }
371
372
373 void OverrideEndpoint(const Aws::String& endpoint);
374 std::shared_ptr<PipesEndpointProviderBase>& accessEndpointProvider();
375 private:
377 void init(const PipesClientConfiguration& clientConfiguration);
378
379 PipesClientConfiguration m_clientConfiguration;
380 std::shared_ptr<PipesEndpointProviderBase> m_endpointProvider;
381 };
382
383} // namespace Pipes
384} // namespace Aws
std::shared_ptr< PipesEndpointProviderBase > & accessEndpointProvider()
Model::UpdatePipeOutcomeCallable UpdatePipeCallable(const UpdatePipeRequestT &request) const
PipesClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< PipesEndpointProviderBase > endpointProvider=nullptr, const Aws::Pipes::PipesClientConfiguration &clientConfiguration=Aws::Pipes::PipesClientConfiguration())
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::StartPipeOutcome StartPipe(const Model::StartPipeRequest &request) const
void DescribePipeAsync(const DescribePipeRequestT &request, const DescribePipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::ListPipesOutcomeCallable ListPipesCallable(const ListPipesRequestT &request={}) const
Model::CreatePipeOutcomeCallable CreatePipeCallable(const CreatePipeRequestT &request) const
Definition PipesClient.h:97
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListPipesOutcome ListPipes(const Model::ListPipesRequest &request={}) const
PipesClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< PipesEndpointProviderBase > endpointProvider=nullptr, const Aws::Pipes::PipesClientConfiguration &clientConfiguration=Aws::Pipes::PipesClientConfiguration())
Model::DescribePipeOutcomeCallable DescribePipeCallable(const DescribePipeRequestT &request) const
PipesClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
PipesClientConfiguration ClientConfigurationType
Definition PipesClient.h:33
virtual Model::DescribePipeOutcome DescribePipe(const Model::DescribePipeRequest &request) const
PipesClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Aws::Client::AWSJsonClient BASECLASS
Definition PipesClient.h:29
static const char * GetAllocationTag()
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdatePipeOutcome UpdatePipe(const Model::UpdatePipeRequest &request) const
void StartPipeAsync(const StartPipeRequestT &request, const StartPipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UpdatePipeAsync(const UpdatePipeRequestT &request, const UpdatePipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
PipesEndpointProvider EndpointProviderType
Definition PipesClient.h:34
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::StopPipeOutcomeCallable StopPipeCallable(const StopPipeRequestT &request) const
void CreatePipeAsync(const CreatePipeRequestT &request, const CreatePipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void StopPipeAsync(const StopPipeRequestT &request, const StopPipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::StartPipeOutcomeCallable StartPipeCallable(const StartPipeRequestT &request) const
virtual Model::StopPipeOutcome StopPipe(const Model::StopPipeRequest &request) const
Model::DeletePipeOutcomeCallable DeletePipeCallable(const DeletePipeRequestT &request) const
void DeletePipeAsync(const DeletePipeRequestT &request, const DeletePipeResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
PipesClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::DeletePipeOutcome DeletePipe(const Model::DeletePipeRequest &request) const
PipesClient(const Aws::Pipes::PipesClientConfiguration &clientConfiguration=Aws::Pipes::PipesClientConfiguration(), std::shared_ptr< PipesEndpointProviderBase > endpointProvider=nullptr)
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
virtual Model::CreatePipeOutcome CreatePipe(const Model::CreatePipeRequest &request) const
static const char * GetServiceName()
void ListPipesAsync(const ListPipesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListPipesRequestT &request={}) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
void OverrideEndpoint(const Aws::String &endpoint)
std::future< CreatePipeOutcome > CreatePipeOutcomeCallable
std::future< DeletePipeOutcome > DeletePipeOutcomeCallable
std::future< StartPipeOutcome > StartPipeOutcomeCallable
std::future< DescribePipeOutcome > DescribePipeOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListPipesOutcome > ListPipesOutcomeCallable
std::future< StopPipeOutcome > StopPipeOutcomeCallable
std::future< UpdatePipeOutcome > UpdatePipeOutcomeCallable
std::function< void(const PipesClient *, const Model::UpdatePipeRequest &, const Model::UpdatePipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdatePipeResponseReceivedHandler
std::function< void(const PipesClient *, const Model::StartPipeRequest &, const Model::StartPipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartPipeResponseReceivedHandler
std::function< void(const PipesClient *, const Model::DescribePipeRequest &, const Model::DescribePipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribePipeResponseReceivedHandler
std::function< void(const PipesClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const PipesClient *, const Model::StopPipeRequest &, const Model::StopPipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopPipeResponseReceivedHandler
std::function< void(const PipesClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const PipesClient *, const Model::DeletePipeRequest &, const Model::DeletePipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeletePipeResponseReceivedHandler
std::function< void(const PipesClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const PipesClient *, const Model::ListPipesRequest &, const Model::ListPipesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListPipesResponseReceivedHandler
std::function< void(const PipesClient *, const Model::CreatePipeRequest &, const Model::CreatePipeOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreatePipeResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String