AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
S3OutpostsClient.h
1
6#pragma once
7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/s3outposts/S3OutpostsPaginationBase.h>
12#include <aws/s3outposts/S3OutpostsServiceClientModel.h>
13#include <aws/s3outposts/S3Outposts_EXPORTS.h>
14
15namespace Aws {
16namespace S3Outposts {
20class AWS_S3OUTPOSTS_API S3OutpostsClient : public Aws::Client::AWSJsonClient,
21 public Aws::Client::ClientWithAsyncTemplateMethods<S3OutpostsClient>,
22 public S3OutpostsPaginationBase<S3OutpostsClient> {
23 public:
25 static const char* GetServiceName();
26 static const char* GetAllocationTag();
27
30
37 std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr);
38
44 const Aws::Auth::AWSCredentials& credentials, std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr,
46
52 const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
53 std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr,
55
56 /* Legacy constructors due deprecation */
62
67 S3OutpostsClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration);
68
73 S3OutpostsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
74 const Aws::Client::ClientConfiguration& clientConfiguration);
75
76 /* End of legacy constructors due deprecation */
78
91
95 template <typename CreateEndpointRequestT = Model::CreateEndpointRequest>
96 Model::CreateEndpointOutcomeCallable CreateEndpointCallable(const CreateEndpointRequestT& request) const {
97 return SubmitCallable(&S3OutpostsClient::CreateEndpoint, request);
98 }
99
104 template <typename CreateEndpointRequestT = Model::CreateEndpointRequest>
105 void CreateEndpointAsync(const CreateEndpointRequestT& request, const CreateEndpointResponseReceivedHandler& handler,
106 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
107 return SubmitAsync(&S3OutpostsClient::CreateEndpoint, request, handler, context);
108 }
109
122
126 template <typename DeleteEndpointRequestT = Model::DeleteEndpointRequest>
127 Model::DeleteEndpointOutcomeCallable DeleteEndpointCallable(const DeleteEndpointRequestT& request) const {
128 return SubmitCallable(&S3OutpostsClient::DeleteEndpoint, request);
129 }
130
135 template <typename DeleteEndpointRequestT = Model::DeleteEndpointRequest>
136 void DeleteEndpointAsync(const DeleteEndpointRequestT& request, const DeleteEndpointResponseReceivedHandler& handler,
137 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
138 return SubmitAsync(&S3OutpostsClient::DeleteEndpoint, request, handler, context);
139 }
140
152
156 template <typename ListEndpointsRequestT = Model::ListEndpointsRequest>
157 Model::ListEndpointsOutcomeCallable ListEndpointsCallable(const ListEndpointsRequestT& request = {}) const {
158 return SubmitCallable(&S3OutpostsClient::ListEndpoints, request);
159 }
160
165 template <typename ListEndpointsRequestT = Model::ListEndpointsRequest>
167 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
168 const ListEndpointsRequestT& request = {}) const {
169 return SubmitAsync(&S3OutpostsClient::ListEndpoints, request, handler, context);
170 }
171
181
186 template <typename ListOutpostsWithS3RequestT = Model::ListOutpostsWithS3Request>
187 Model::ListOutpostsWithS3OutcomeCallable ListOutpostsWithS3Callable(const ListOutpostsWithS3RequestT& request = {}) const {
188 return SubmitCallable(&S3OutpostsClient::ListOutpostsWithS3, request);
189 }
190
195 template <typename ListOutpostsWithS3RequestT = Model::ListOutpostsWithS3Request>
197 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr,
198 const ListOutpostsWithS3RequestT& request = {}) const {
199 return SubmitAsync(&S3OutpostsClient::ListOutpostsWithS3, request, handler, context);
200 }
201
214
219 template <typename ListSharedEndpointsRequestT = Model::ListSharedEndpointsRequest>
220 Model::ListSharedEndpointsOutcomeCallable ListSharedEndpointsCallable(const ListSharedEndpointsRequestT& request) const {
221 return SubmitCallable(&S3OutpostsClient::ListSharedEndpoints, request);
222 }
223
228 template <typename ListSharedEndpointsRequestT = Model::ListSharedEndpointsRequest>
229 void ListSharedEndpointsAsync(const ListSharedEndpointsRequestT& request, const ListSharedEndpointsResponseReceivedHandler& handler,
230 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
231 return SubmitAsync(&S3OutpostsClient::ListSharedEndpoints, request, handler, context);
232 }
233
234 virtual void OverrideEndpoint(const Aws::String& endpoint);
235 virtual std::shared_ptr<S3OutpostsEndpointProviderBase>& accessEndpointProvider();
236
237 private:
239 void init(const S3OutpostsClientConfiguration& clientConfiguration);
240
241 S3OutpostsClientConfiguration m_clientConfiguration;
242 std::shared_ptr<S3OutpostsEndpointProviderBase> m_endpointProvider;
243};
244
245} // namespace S3Outposts
246} // namespace Aws
virtual std::shared_ptr< S3OutpostsEndpointProviderBase > & accessEndpointProvider()
virtual void OverrideEndpoint(const Aws::String &endpoint)
S3OutpostsEndpointProvider EndpointProviderType
S3OutpostsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< S3OutpostsEndpointProviderBase > endpointProvider=nullptr, const Aws::S3Outposts::S3OutpostsClientConfiguration &clientConfiguration=Aws::S3Outposts::S3OutpostsClientConfiguration())
Model::ListEndpointsOutcomeCallable ListEndpointsCallable(const ListEndpointsRequestT &request={}) const
S3OutpostsClient(const Aws::S3Outposts::S3OutpostsClientConfiguration &clientConfiguration=Aws::S3Outposts::S3OutpostsClientConfiguration(), std::shared_ptr< S3OutpostsEndpointProviderBase > endpointProvider=nullptr)
void DeleteEndpointAsync(const DeleteEndpointRequestT &request, const DeleteEndpointResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateEndpointAsync(const CreateEndpointRequestT &request, const CreateEndpointResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListSharedEndpointsAsync(const ListSharedEndpointsRequestT &request, const ListSharedEndpointsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
S3OutpostsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< S3OutpostsEndpointProviderBase > endpointProvider=nullptr, const Aws::S3Outposts::S3OutpostsClientConfiguration &clientConfiguration=Aws::S3Outposts::S3OutpostsClientConfiguration())
virtual Model::DeleteEndpointOutcome DeleteEndpoint(const Model::DeleteEndpointRequest &request) const
virtual Model::ListSharedEndpointsOutcome ListSharedEndpoints(const Model::ListSharedEndpointsRequest &request) const
S3OutpostsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetAllocationTag()
void ListEndpointsAsync(const ListEndpointsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListEndpointsRequestT &request={}) const
virtual Model::CreateEndpointOutcome CreateEndpoint(const Model::CreateEndpointRequest &request) const
Model::CreateEndpointOutcomeCallable CreateEndpointCallable(const CreateEndpointRequestT &request) const
Model::ListSharedEndpointsOutcomeCallable ListSharedEndpointsCallable(const ListSharedEndpointsRequestT &request) const
virtual Model::ListOutpostsWithS3Outcome ListOutpostsWithS3(const Model::ListOutpostsWithS3Request &request={}) const
S3OutpostsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void ListOutpostsWithS3Async(const ListOutpostsWithS3ResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListOutpostsWithS3RequestT &request={}) const
virtual Model::ListEndpointsOutcome ListEndpoints(const Model::ListEndpointsRequest &request={}) const
Aws::Client::AWSJsonClient BASECLASS
S3OutpostsClientConfiguration ClientConfigurationType
S3OutpostsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListOutpostsWithS3OutcomeCallable ListOutpostsWithS3Callable(const ListOutpostsWithS3RequestT &request={}) const
static const char * GetServiceName()
Model::DeleteEndpointOutcomeCallable DeleteEndpointCallable(const DeleteEndpointRequestT &request) const
std::future< ListOutpostsWithS3Outcome > ListOutpostsWithS3OutcomeCallable
std::future< DeleteEndpointOutcome > DeleteEndpointOutcomeCallable
std::future< CreateEndpointOutcome > CreateEndpointOutcomeCallable
std::future< ListSharedEndpointsOutcome > ListSharedEndpointsOutcomeCallable
std::future< ListEndpointsOutcome > ListEndpointsOutcomeCallable
std::function< void(const S3OutpostsClient *, const Model::DeleteEndpointRequest &, const Model::DeleteEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteEndpointResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::CreateEndpointRequest &, const Model::CreateEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateEndpointResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::ListSharedEndpointsRequest &, const Model::ListSharedEndpointsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListSharedEndpointsResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::ListOutpostsWithS3Request &, const Model::ListOutpostsWithS3Outcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListOutpostsWithS3ResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::ListEndpointsRequest &, const Model::ListEndpointsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListEndpointsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String