AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepostspaceClient.h
1
6#pragma once
7#include <aws/repostspace/Repostspace_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/repostspace/RepostspaceServiceClientModel.h>
13
14namespace Aws
15{
16namespace repostspace
17{
30 class AWS_REPOSTSPACE_API RepostspaceClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<RepostspaceClient>
31 {
32 public:
34 static const char* GetServiceName();
35 static const char* GetAllocationTag();
36
39
45 std::shared_ptr<RepostspaceEndpointProviderBase> endpointProvider = nullptr);
46
52 std::shared_ptr<RepostspaceEndpointProviderBase> endpointProvider = nullptr,
54
59 RepostspaceClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
60 std::shared_ptr<RepostspaceEndpointProviderBase> endpointProvider = nullptr,
62
63
64 /* Legacy constructors due deprecation */
70
76 const Aws::Client::ClientConfiguration& clientConfiguration);
77
82 RepostspaceClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
83 const Aws::Client::ClientConfiguration& clientConfiguration);
84
85 /* End of legacy constructors due deprecation */
87
95
99 template<typename BatchAddRoleRequestT = Model::BatchAddRoleRequest>
100 Model::BatchAddRoleOutcomeCallable BatchAddRoleCallable(const BatchAddRoleRequestT& request) const
101 {
102 return SubmitCallable(&RepostspaceClient::BatchAddRole, request);
103 }
104
108 template<typename BatchAddRoleRequestT = Model::BatchAddRoleRequest>
109 void BatchAddRoleAsync(const BatchAddRoleRequestT& request, const BatchAddRoleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
110 {
111 return SubmitAsync(&RepostspaceClient::BatchAddRole, request, handler, context);
112 }
113
121
125 template<typename BatchRemoveRoleRequestT = Model::BatchRemoveRoleRequest>
126 Model::BatchRemoveRoleOutcomeCallable BatchRemoveRoleCallable(const BatchRemoveRoleRequestT& request) const
127 {
128 return SubmitCallable(&RepostspaceClient::BatchRemoveRole, request);
129 }
130
134 template<typename BatchRemoveRoleRequestT = Model::BatchRemoveRoleRequest>
135 void BatchRemoveRoleAsync(const BatchRemoveRoleRequestT& request, const BatchRemoveRoleResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
136 {
137 return SubmitAsync(&RepostspaceClient::BatchRemoveRole, request, handler, context);
138 }
139
146
150 template<typename CreateSpaceRequestT = Model::CreateSpaceRequest>
151 Model::CreateSpaceOutcomeCallable CreateSpaceCallable(const CreateSpaceRequestT& request) const
152 {
153 return SubmitCallable(&RepostspaceClient::CreateSpace, request);
154 }
155
159 template<typename CreateSpaceRequestT = Model::CreateSpaceRequest>
160 void CreateSpaceAsync(const CreateSpaceRequestT& request, const CreateSpaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
161 {
162 return SubmitAsync(&RepostspaceClient::CreateSpace, request, handler, context);
163 }
164
171
175 template<typename DeleteSpaceRequestT = Model::DeleteSpaceRequest>
176 Model::DeleteSpaceOutcomeCallable DeleteSpaceCallable(const DeleteSpaceRequestT& request) const
177 {
178 return SubmitCallable(&RepostspaceClient::DeleteSpace, request);
179 }
180
184 template<typename DeleteSpaceRequestT = Model::DeleteSpaceRequest>
185 void DeleteSpaceAsync(const DeleteSpaceRequestT& request, const DeleteSpaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
186 {
187 return SubmitAsync(&RepostspaceClient::DeleteSpace, request, handler, context);
188 }
189
197
201 template<typename DeregisterAdminRequestT = Model::DeregisterAdminRequest>
202 Model::DeregisterAdminOutcomeCallable DeregisterAdminCallable(const DeregisterAdminRequestT& request) const
203 {
204 return SubmitCallable(&RepostspaceClient::DeregisterAdmin, request);
205 }
206
210 template<typename DeregisterAdminRequestT = Model::DeregisterAdminRequest>
211 void DeregisterAdminAsync(const DeregisterAdminRequestT& request, const DeregisterAdminResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
212 {
213 return SubmitAsync(&RepostspaceClient::DeregisterAdmin, request, handler, context);
214 }
215
223
227 template<typename GetSpaceRequestT = Model::GetSpaceRequest>
228 Model::GetSpaceOutcomeCallable GetSpaceCallable(const GetSpaceRequestT& request) const
229 {
230 return SubmitCallable(&RepostspaceClient::GetSpace, request);
231 }
232
236 template<typename GetSpaceRequestT = Model::GetSpaceRequest>
237 void GetSpaceAsync(const GetSpaceRequestT& request, const GetSpaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
238 {
239 return SubmitAsync(&RepostspaceClient::GetSpace, request, handler, context);
240 }
241
249
253 template<typename ListSpacesRequestT = Model::ListSpacesRequest>
254 Model::ListSpacesOutcomeCallable ListSpacesCallable(const ListSpacesRequestT& request = {}) const
255 {
256 return SubmitCallable(&RepostspaceClient::ListSpaces, request);
257 }
258
262 template<typename ListSpacesRequestT = Model::ListSpacesRequest>
263 void ListSpacesAsync(const ListSpacesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSpacesRequestT& request = {}) const
264 {
265 return SubmitAsync(&RepostspaceClient::ListSpaces, request, handler, context);
266 }
267
276
280 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
281 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
282 {
283 return SubmitCallable(&RepostspaceClient::ListTagsForResource, request);
284 }
285
289 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
290 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
291 {
292 return SubmitAsync(&RepostspaceClient::ListTagsForResource, request, handler, context);
293 }
294
302
306 template<typename RegisterAdminRequestT = Model::RegisterAdminRequest>
307 Model::RegisterAdminOutcomeCallable RegisterAdminCallable(const RegisterAdminRequestT& request) const
308 {
309 return SubmitCallable(&RepostspaceClient::RegisterAdmin, request);
310 }
311
315 template<typename RegisterAdminRequestT = Model::RegisterAdminRequest>
316 void RegisterAdminAsync(const RegisterAdminRequestT& request, const RegisterAdminResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
317 {
318 return SubmitAsync(&RepostspaceClient::RegisterAdmin, request, handler, context);
319 }
320
328
332 template<typename SendInvitesRequestT = Model::SendInvitesRequest>
333 Model::SendInvitesOutcomeCallable SendInvitesCallable(const SendInvitesRequestT& request) const
334 {
335 return SubmitCallable(&RepostspaceClient::SendInvites, request);
336 }
337
341 template<typename SendInvitesRequestT = Model::SendInvitesRequest>
342 void SendInvitesAsync(const SendInvitesRequestT& request, const SendInvitesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
343 {
344 return SubmitAsync(&RepostspaceClient::SendInvites, request, handler, context);
345 }
346
358
362 template<typename TagResourceRequestT = Model::TagResourceRequest>
363 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
364 {
365 return SubmitCallable(&RepostspaceClient::TagResource, request);
366 }
367
371 template<typename TagResourceRequestT = Model::TagResourceRequest>
372 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
373 {
374 return SubmitAsync(&RepostspaceClient::TagResource, request, handler, context);
375 }
376
384
388 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
389 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
390 {
391 return SubmitCallable(&RepostspaceClient::UntagResource, request);
392 }
393
397 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
398 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
399 {
400 return SubmitAsync(&RepostspaceClient::UntagResource, request, handler, context);
401 }
402
410
414 template<typename UpdateSpaceRequestT = Model::UpdateSpaceRequest>
415 Model::UpdateSpaceOutcomeCallable UpdateSpaceCallable(const UpdateSpaceRequestT& request) const
416 {
417 return SubmitCallable(&RepostspaceClient::UpdateSpace, request);
418 }
419
423 template<typename UpdateSpaceRequestT = Model::UpdateSpaceRequest>
424 void UpdateSpaceAsync(const UpdateSpaceRequestT& request, const UpdateSpaceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
425 {
426 return SubmitAsync(&RepostspaceClient::UpdateSpace, request, handler, context);
427 }
428
429
430 void OverrideEndpoint(const Aws::String& endpoint);
431 std::shared_ptr<RepostspaceEndpointProviderBase>& accessEndpointProvider();
432 private:
434 void init(const RepostspaceClientConfiguration& clientConfiguration);
435
436 RepostspaceClientConfiguration m_clientConfiguration;
437 std::shared_ptr<RepostspaceEndpointProviderBase> m_endpointProvider;
438 };
439
440} // namespace repostspace
441} // namespace Aws
RepostspaceClientConfiguration ClientConfigurationType
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void BatchAddRoleAsync(const BatchAddRoleRequestT &request, const BatchAddRoleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::SendInvitesOutcomeCallable SendInvitesCallable(const SendInvitesRequestT &request) const
virtual Model::SendInvitesOutcome SendInvites(const Model::SendInvitesRequest &request) const
static const char * GetAllocationTag()
RepostspaceClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void ListSpacesAsync(const ListSpacesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSpacesRequestT &request={}) const
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &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 SendInvitesAsync(const SendInvitesRequestT &request, const SendInvitesResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Model::CreateSpaceOutcomeCallable CreateSpaceCallable(const CreateSpaceRequestT &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual Model::ListSpacesOutcome ListSpaces(const Model::ListSpacesRequest &request={}) const
Model::ListSpacesOutcomeCallable ListSpacesCallable(const ListSpacesRequestT &request={}) const
virtual Model::GetSpaceOutcome GetSpace(const Model::GetSpaceRequest &request) const
void DeregisterAdminAsync(const DeregisterAdminRequestT &request, const DeregisterAdminResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetSpaceAsync(const GetSpaceRequestT &request, const GetSpaceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetSpaceOutcomeCallable GetSpaceCallable(const GetSpaceRequestT &request) const
void DeleteSpaceAsync(const DeleteSpaceRequestT &request, const DeleteSpaceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::BatchAddRoleOutcome BatchAddRole(const Model::BatchAddRoleRequest &request) const
Model::UpdateSpaceOutcomeCallable UpdateSpaceCallable(const UpdateSpaceRequestT &request) const
virtual Model::UpdateSpaceOutcome UpdateSpace(const Model::UpdateSpaceRequest &request) const
virtual Model::CreateSpaceOutcome CreateSpace(const Model::CreateSpaceRequest &request) const
virtual Model::RegisterAdminOutcome RegisterAdmin(const Model::RegisterAdminRequest &request) const
static const char * GetServiceName()
Model::RegisterAdminOutcomeCallable RegisterAdminCallable(const RegisterAdminRequestT &request) const
void UpdateSpaceAsync(const UpdateSpaceRequestT &request, const UpdateSpaceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RepostspaceClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Aws::Client::AWSJsonClient BASECLASS
RepostspaceClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< RepostspaceEndpointProviderBase > endpointProvider=nullptr, const Aws::repostspace::RepostspaceClientConfiguration &clientConfiguration=Aws::repostspace::RepostspaceClientConfiguration())
virtual Model::DeregisterAdminOutcome DeregisterAdmin(const Model::DeregisterAdminRequest &request) const
RepostspaceClient(const Aws::repostspace::RepostspaceClientConfiguration &clientConfiguration=Aws::repostspace::RepostspaceClientConfiguration(), std::shared_ptr< RepostspaceEndpointProviderBase > endpointProvider=nullptr)
RepostspaceClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< RepostspaceEndpointProviderBase > endpointProvider=nullptr, const Aws::repostspace::RepostspaceClientConfiguration &clientConfiguration=Aws::repostspace::RepostspaceClientConfiguration())
Model::BatchAddRoleOutcomeCallable BatchAddRoleCallable(const BatchAddRoleRequestT &request) const
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
RepostspaceClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
std::shared_ptr< RepostspaceEndpointProviderBase > & accessEndpointProvider()
void OverrideEndpoint(const Aws::String &endpoint)
Model::DeregisterAdminOutcomeCallable DeregisterAdminCallable(const DeregisterAdminRequestT &request) const
virtual Model::DeleteSpaceOutcome DeleteSpace(const Model::DeleteSpaceRequest &request) const
void CreateSpaceAsync(const CreateSpaceRequestT &request, const CreateSpaceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
RepostspaceEndpointProvider EndpointProviderType
void BatchRemoveRoleAsync(const BatchRemoveRoleRequestT &request, const BatchRemoveRoleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::BatchRemoveRoleOutcome BatchRemoveRole(const Model::BatchRemoveRoleRequest &request) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
void RegisterAdminAsync(const RegisterAdminRequestT &request, const RegisterAdminResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::BatchRemoveRoleOutcomeCallable BatchRemoveRoleCallable(const BatchRemoveRoleRequestT &request) const
Model::DeleteSpaceOutcomeCallable DeleteSpaceCallable(const DeleteSpaceRequestT &request) const
std::future< SendInvitesOutcome > SendInvitesOutcomeCallable
std::future< BatchAddRoleOutcome > BatchAddRoleOutcomeCallable
std::future< UpdateSpaceOutcome > UpdateSpaceOutcomeCallable
std::future< BatchRemoveRoleOutcome > BatchRemoveRoleOutcomeCallable
std::future< DeregisterAdminOutcome > DeregisterAdminOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< CreateSpaceOutcome > CreateSpaceOutcomeCallable
std::future< DeleteSpaceOutcome > DeleteSpaceOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< ListSpacesOutcome > ListSpacesOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< GetSpaceOutcome > GetSpaceOutcomeCallable
std::future< RegisterAdminOutcome > RegisterAdminOutcomeCallable
std::function< void(const RepostspaceClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::GetSpaceRequest &, const Model::GetSpaceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSpaceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::DeleteSpaceRequest &, const Model::DeleteSpaceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSpaceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::BatchAddRoleRequest &, const Model::BatchAddRoleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchAddRoleResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::CreateSpaceRequest &, const Model::CreateSpaceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateSpaceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::RegisterAdminRequest &, const Model::RegisterAdminOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterAdminResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::UpdateSpaceRequest &, const Model::UpdateSpaceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSpaceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::SendInvitesRequest &, const Model::SendInvitesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendInvitesResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::BatchRemoveRoleRequest &, const Model::BatchRemoveRoleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchRemoveRoleResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::ListSpacesRequest &, const Model::ListSpacesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSpacesResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const RepostspaceClient *, const Model::DeregisterAdminRequest &, const Model::DeregisterAdminOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeregisterAdminResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String