AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3OutpostsClient.h
1
6#pragma once
7#include <aws/s3outposts/S3Outposts_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/s3outposts/S3OutpostsServiceClientModel.h>
13
14namespace Aws
15{
16namespace S3Outposts
17{
21 class AWS_S3OUTPOSTS_API S3OutpostsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<S3OutpostsClient>
22 {
23 public:
25 static const char* GetServiceName();
26 static const char* GetAllocationTag();
27
30
36 std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr);
37
43 std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr,
45
50 S3OutpostsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
51 std::shared_ptr<S3OutpostsEndpointProviderBase> endpointProvider = nullptr,
53
54
55 /* Legacy constructors due deprecation */
61
67 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 {
98 return SubmitCallable(&S3OutpostsClient::CreateEndpoint, request);
99 }
100
104 template<typename CreateEndpointRequestT = Model::CreateEndpointRequest>
105 void CreateEndpointAsync(const CreateEndpointRequestT& request, const CreateEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
106 {
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 {
129 return SubmitCallable(&S3OutpostsClient::DeleteEndpoint, request);
130 }
131
135 template<typename DeleteEndpointRequestT = Model::DeleteEndpointRequest>
136 void DeleteEndpointAsync(const DeleteEndpointRequestT& request, const DeleteEndpointResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
137 {
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 {
159 return SubmitCallable(&S3OutpostsClient::ListEndpoints, request);
160 }
161
165 template<typename ListEndpointsRequestT = Model::ListEndpointsRequest>
166 void ListEndpointsAsync(const ListEndpointsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListEndpointsRequestT& request = {}) const
167 {
168 return SubmitAsync(&S3OutpostsClient::ListEndpoints, request, handler, context);
169 }
170
180
184 template<typename ListOutpostsWithS3RequestT = Model::ListOutpostsWithS3Request>
185 Model::ListOutpostsWithS3OutcomeCallable ListOutpostsWithS3Callable(const ListOutpostsWithS3RequestT& request = {}) const
186 {
187 return SubmitCallable(&S3OutpostsClient::ListOutpostsWithS3, request);
188 }
189
193 template<typename ListOutpostsWithS3RequestT = Model::ListOutpostsWithS3Request>
194 void ListOutpostsWithS3Async(const ListOutpostsWithS3ResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListOutpostsWithS3RequestT& request = {}) const
195 {
196 return SubmitAsync(&S3OutpostsClient::ListOutpostsWithS3, request, handler, context);
197 }
198
211
215 template<typename ListSharedEndpointsRequestT = Model::ListSharedEndpointsRequest>
216 Model::ListSharedEndpointsOutcomeCallable ListSharedEndpointsCallable(const ListSharedEndpointsRequestT& request) const
217 {
218 return SubmitCallable(&S3OutpostsClient::ListSharedEndpoints, request);
219 }
220
224 template<typename ListSharedEndpointsRequestT = Model::ListSharedEndpointsRequest>
225 void ListSharedEndpointsAsync(const ListSharedEndpointsRequestT& request, const ListSharedEndpointsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
226 {
227 return SubmitAsync(&S3OutpostsClient::ListSharedEndpoints, request, handler, context);
228 }
229
230
231 void OverrideEndpoint(const Aws::String& endpoint);
232 std::shared_ptr<S3OutpostsEndpointProviderBase>& accessEndpointProvider();
233 private:
235 void init(const S3OutpostsClientConfiguration& clientConfiguration);
236
237 S3OutpostsClientConfiguration m_clientConfiguration;
238 std::shared_ptr<S3OutpostsEndpointProviderBase> m_endpointProvider;
239 };
240
241} // namespace S3Outposts
242} // namespace Aws
std::shared_ptr< S3OutpostsEndpointProviderBase > & accessEndpointProvider()
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
void OverrideEndpoint(const Aws::String &endpoint)
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::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::CreateEndpointRequest &, const Model::CreateEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateEndpointResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::ListEndpointsRequest &, const Model::ListEndpointsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEndpointsResponseReceivedHandler
std::function< void(const S3OutpostsClient *, const Model::DeleteEndpointRequest &, const Model::DeleteEndpointOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteEndpointResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String