AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SupportAppClient.h
1
6#pragma once
7#include <aws/support-app/SupportApp_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/support-app/SupportAppServiceClientModel.h>
13
14namespace Aws
15{
16namespace SupportApp
17{
50 class AWS_SUPPORTAPP_API SupportAppClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<SupportAppClient>
51 {
52 public:
54 static const char* GetServiceName();
55 static const char* GetAllocationTag();
56
59
65 std::shared_ptr<SupportAppEndpointProviderBase> endpointProvider = nullptr);
66
72 std::shared_ptr<SupportAppEndpointProviderBase> endpointProvider = nullptr,
74
79 SupportAppClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
80 std::shared_ptr<SupportAppEndpointProviderBase> endpointProvider = nullptr,
82
83
84 /* Legacy constructors due deprecation */
90
96 const Aws::Client::ClientConfiguration& clientConfiguration);
97
102 SupportAppClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
103 const Aws::Client::ClientConfiguration& clientConfiguration);
104
105 /* End of legacy constructors due deprecation */
107
126
130 template<typename CreateSlackChannelConfigurationRequestT = Model::CreateSlackChannelConfigurationRequest>
131 Model::CreateSlackChannelConfigurationOutcomeCallable CreateSlackChannelConfigurationCallable(const CreateSlackChannelConfigurationRequestT& request) const
132 {
133 return SubmitCallable(&SupportAppClient::CreateSlackChannelConfiguration, request);
134 }
135
139 template<typename CreateSlackChannelConfigurationRequestT = Model::CreateSlackChannelConfigurationRequest>
140 void CreateSlackChannelConfigurationAsync(const CreateSlackChannelConfigurationRequestT& request, const CreateSlackChannelConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
141 {
142 return SubmitAsync(&SupportAppClient::CreateSlackChannelConfiguration, request, handler, context);
143 }
144
154
158 template<typename DeleteAccountAliasRequestT = Model::DeleteAccountAliasRequest>
159 Model::DeleteAccountAliasOutcomeCallable DeleteAccountAliasCallable(const DeleteAccountAliasRequestT& request = {}) const
160 {
161 return SubmitCallable(&SupportAppClient::DeleteAccountAlias, request);
162 }
163
167 template<typename DeleteAccountAliasRequestT = Model::DeleteAccountAliasRequest>
168 void DeleteAccountAliasAsync(const DeleteAccountAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const DeleteAccountAliasRequestT& request = {}) const
169 {
170 return SubmitAsync(&SupportAppClient::DeleteAccountAlias, request, handler, context);
171 }
172
180
184 template<typename DeleteSlackChannelConfigurationRequestT = Model::DeleteSlackChannelConfigurationRequest>
185 Model::DeleteSlackChannelConfigurationOutcomeCallable DeleteSlackChannelConfigurationCallable(const DeleteSlackChannelConfigurationRequestT& request) const
186 {
187 return SubmitCallable(&SupportAppClient::DeleteSlackChannelConfiguration, request);
188 }
189
193 template<typename DeleteSlackChannelConfigurationRequestT = Model::DeleteSlackChannelConfigurationRequest>
194 void DeleteSlackChannelConfigurationAsync(const DeleteSlackChannelConfigurationRequestT& request, const DeleteSlackChannelConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
195 {
196 return SubmitAsync(&SupportAppClient::DeleteSlackChannelConfiguration, request, handler, context);
197 }
198
207
211 template<typename DeleteSlackWorkspaceConfigurationRequestT = Model::DeleteSlackWorkspaceConfigurationRequest>
213 {
214 return SubmitCallable(&SupportAppClient::DeleteSlackWorkspaceConfiguration, request);
215 }
216
220 template<typename DeleteSlackWorkspaceConfigurationRequestT = Model::DeleteSlackWorkspaceConfigurationRequest>
221 void DeleteSlackWorkspaceConfigurationAsync(const DeleteSlackWorkspaceConfigurationRequestT& request, const DeleteSlackWorkspaceConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
222 {
223 return SubmitAsync(&SupportAppClient::DeleteSlackWorkspaceConfiguration, request, handler, context);
224 }
225
235
239 template<typename GetAccountAliasRequestT = Model::GetAccountAliasRequest>
240 Model::GetAccountAliasOutcomeCallable GetAccountAliasCallable(const GetAccountAliasRequestT& request = {}) const
241 {
242 return SubmitCallable(&SupportAppClient::GetAccountAlias, request);
243 }
244
248 template<typename GetAccountAliasRequestT = Model::GetAccountAliasRequest>
249 void GetAccountAliasAsync(const GetAccountAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const GetAccountAliasRequestT& request = {}) const
250 {
251 return SubmitAsync(&SupportAppClient::GetAccountAlias, request, handler, context);
252 }
253
261
265 template<typename ListSlackChannelConfigurationsRequestT = Model::ListSlackChannelConfigurationsRequest>
266 Model::ListSlackChannelConfigurationsOutcomeCallable ListSlackChannelConfigurationsCallable(const ListSlackChannelConfigurationsRequestT& request = {}) const
267 {
268 return SubmitCallable(&SupportAppClient::ListSlackChannelConfigurations, request);
269 }
270
274 template<typename ListSlackChannelConfigurationsRequestT = Model::ListSlackChannelConfigurationsRequest>
275 void ListSlackChannelConfigurationsAsync(const ListSlackChannelConfigurationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSlackChannelConfigurationsRequestT& request = {}) const
276 {
277 return SubmitAsync(&SupportAppClient::ListSlackChannelConfigurations, request, handler, context);
278 }
279
287
291 template<typename ListSlackWorkspaceConfigurationsRequestT = Model::ListSlackWorkspaceConfigurationsRequest>
292 Model::ListSlackWorkspaceConfigurationsOutcomeCallable ListSlackWorkspaceConfigurationsCallable(const ListSlackWorkspaceConfigurationsRequestT& request = {}) const
293 {
294 return SubmitCallable(&SupportAppClient::ListSlackWorkspaceConfigurations, request);
295 }
296
300 template<typename ListSlackWorkspaceConfigurationsRequestT = Model::ListSlackWorkspaceConfigurationsRequest>
301 void ListSlackWorkspaceConfigurationsAsync(const ListSlackWorkspaceConfigurationsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListSlackWorkspaceConfigurationsRequestT& request = {}) const
302 {
303 return SubmitAsync(&SupportAppClient::ListSlackWorkspaceConfigurations, request, handler, context);
304 }
305
315
319 template<typename PutAccountAliasRequestT = Model::PutAccountAliasRequest>
320 Model::PutAccountAliasOutcomeCallable PutAccountAliasCallable(const PutAccountAliasRequestT& request) const
321 {
322 return SubmitCallable(&SupportAppClient::PutAccountAlias, request);
323 }
324
328 template<typename PutAccountAliasRequestT = Model::PutAccountAliasRequest>
329 void PutAccountAliasAsync(const PutAccountAliasRequestT& request, const PutAccountAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
330 {
331 return SubmitAsync(&SupportAppClient::PutAccountAlias, request, handler, context);
332 }
333
365
369 template<typename RegisterSlackWorkspaceForOrganizationRequestT = Model::RegisterSlackWorkspaceForOrganizationRequest>
371 {
372 return SubmitCallable(&SupportAppClient::RegisterSlackWorkspaceForOrganization, request);
373 }
374
378 template<typename RegisterSlackWorkspaceForOrganizationRequestT = Model::RegisterSlackWorkspaceForOrganizationRequest>
379 void RegisterSlackWorkspaceForOrganizationAsync(const RegisterSlackWorkspaceForOrganizationRequestT& request, const RegisterSlackWorkspaceForOrganizationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
380 {
381 return SubmitAsync(&SupportAppClient::RegisterSlackWorkspaceForOrganization, request, handler, context);
382 }
383
391
395 template<typename UpdateSlackChannelConfigurationRequestT = Model::UpdateSlackChannelConfigurationRequest>
396 Model::UpdateSlackChannelConfigurationOutcomeCallable UpdateSlackChannelConfigurationCallable(const UpdateSlackChannelConfigurationRequestT& request) const
397 {
398 return SubmitCallable(&SupportAppClient::UpdateSlackChannelConfiguration, request);
399 }
400
404 template<typename UpdateSlackChannelConfigurationRequestT = Model::UpdateSlackChannelConfigurationRequest>
405 void UpdateSlackChannelConfigurationAsync(const UpdateSlackChannelConfigurationRequestT& request, const UpdateSlackChannelConfigurationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
406 {
407 return SubmitAsync(&SupportAppClient::UpdateSlackChannelConfiguration, request, handler, context);
408 }
409
410
411 void OverrideEndpoint(const Aws::String& endpoint);
412 std::shared_ptr<SupportAppEndpointProviderBase>& accessEndpointProvider();
413 private:
415 void init(const SupportAppClientConfiguration& clientConfiguration);
416
417 SupportAppClientConfiguration m_clientConfiguration;
418 std::shared_ptr<SupportAppEndpointProviderBase> m_endpointProvider;
419 };
420
421} // namespace SupportApp
422} // namespace Aws
SupportAppClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::DeleteSlackWorkspaceConfigurationOutcomeCallable DeleteSlackWorkspaceConfigurationCallable(const DeleteSlackWorkspaceConfigurationRequestT &request) const
void DeleteAccountAliasAsync(const DeleteAccountAliasResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const DeleteAccountAliasRequestT &request={}) const
void DeleteSlackWorkspaceConfigurationAsync(const DeleteSlackWorkspaceConfigurationRequestT &request, const DeleteSlackWorkspaceConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DeleteAccountAliasOutcome DeleteAccountAlias(const Model::DeleteAccountAliasRequest &request={}) const
void RegisterSlackWorkspaceForOrganizationAsync(const RegisterSlackWorkspaceForOrganizationRequestT &request, const RegisterSlackWorkspaceForOrganizationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListSlackWorkspaceConfigurationsOutcomeCallable ListSlackWorkspaceConfigurationsCallable(const ListSlackWorkspaceConfigurationsRequestT &request={}) const
SupportAppClientConfiguration ClientConfigurationType
virtual Model::ListSlackWorkspaceConfigurationsOutcome ListSlackWorkspaceConfigurations(const Model::ListSlackWorkspaceConfigurationsRequest &request={}) const
static const char * GetServiceName()
SupportAppClient(const Aws::Client::ClientConfiguration &clientConfiguration)
SupportAppClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SupportAppEndpointProviderBase > endpointProvider=nullptr, const Aws::SupportApp::SupportAppClientConfiguration &clientConfiguration=Aws::SupportApp::SupportAppClientConfiguration())
Model::RegisterSlackWorkspaceForOrganizationOutcomeCallable RegisterSlackWorkspaceForOrganizationCallable(const RegisterSlackWorkspaceForOrganizationRequestT &request) const
virtual Model::UpdateSlackChannelConfigurationOutcome UpdateSlackChannelConfiguration(const Model::UpdateSlackChannelConfigurationRequest &request) const
SupportAppClient(const Aws::SupportApp::SupportAppClientConfiguration &clientConfiguration=Aws::SupportApp::SupportAppClientConfiguration(), std::shared_ptr< SupportAppEndpointProviderBase > endpointProvider=nullptr)
void ListSlackWorkspaceConfigurationsAsync(const ListSlackWorkspaceConfigurationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSlackWorkspaceConfigurationsRequestT &request={}) const
Model::ListSlackChannelConfigurationsOutcomeCallable ListSlackChannelConfigurationsCallable(const ListSlackChannelConfigurationsRequestT &request={}) const
SupportAppClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SupportAppEndpointProviderBase > endpointProvider=nullptr, const Aws::SupportApp::SupportAppClientConfiguration &clientConfiguration=Aws::SupportApp::SupportAppClientConfiguration())
Aws::Client::AWSJsonClient BASECLASS
void DeleteSlackChannelConfigurationAsync(const DeleteSlackChannelConfigurationRequestT &request, const DeleteSlackChannelConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateSlackChannelConfigurationAsync(const CreateSlackChannelConfigurationRequestT &request, const CreateSlackChannelConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::UpdateSlackChannelConfigurationOutcomeCallable UpdateSlackChannelConfigurationCallable(const UpdateSlackChannelConfigurationRequestT &request) const
virtual Model::RegisterSlackWorkspaceForOrganizationOutcome RegisterSlackWorkspaceForOrganization(const Model::RegisterSlackWorkspaceForOrganizationRequest &request) const
virtual Model::GetAccountAliasOutcome GetAccountAlias(const Model::GetAccountAliasRequest &request={}) const
virtual Model::CreateSlackChannelConfigurationOutcome CreateSlackChannelConfiguration(const Model::CreateSlackChannelConfigurationRequest &request) const
Model::PutAccountAliasOutcomeCallable PutAccountAliasCallable(const PutAccountAliasRequestT &request) const
SupportAppEndpointProvider EndpointProviderType
virtual Model::DeleteSlackWorkspaceConfigurationOutcome DeleteSlackWorkspaceConfiguration(const Model::DeleteSlackWorkspaceConfigurationRequest &request) const
static const char * GetAllocationTag()
virtual Model::PutAccountAliasOutcome PutAccountAlias(const Model::PutAccountAliasRequest &request) const
void GetAccountAliasAsync(const GetAccountAliasResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetAccountAliasRequestT &request={}) const
virtual Model::DeleteSlackChannelConfigurationOutcome DeleteSlackChannelConfiguration(const Model::DeleteSlackChannelConfigurationRequest &request) const
Model::CreateSlackChannelConfigurationOutcomeCallable CreateSlackChannelConfigurationCallable(const CreateSlackChannelConfigurationRequestT &request) const
SupportAppClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void ListSlackChannelConfigurationsAsync(const ListSlackChannelConfigurationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSlackChannelConfigurationsRequestT &request={}) const
virtual Model::ListSlackChannelConfigurationsOutcome ListSlackChannelConfigurations(const Model::ListSlackChannelConfigurationsRequest &request={}) const
void OverrideEndpoint(const Aws::String &endpoint)
Model::DeleteAccountAliasOutcomeCallable DeleteAccountAliasCallable(const DeleteAccountAliasRequestT &request={}) const
void UpdateSlackChannelConfigurationAsync(const UpdateSlackChannelConfigurationRequestT &request, const UpdateSlackChannelConfigurationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
std::shared_ptr< SupportAppEndpointProviderBase > & accessEndpointProvider()
Model::DeleteSlackChannelConfigurationOutcomeCallable DeleteSlackChannelConfigurationCallable(const DeleteSlackChannelConfigurationRequestT &request) const
void PutAccountAliasAsync(const PutAccountAliasRequestT &request, const PutAccountAliasResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetAccountAliasOutcomeCallable GetAccountAliasCallable(const GetAccountAliasRequestT &request={}) const
std::future< CreateSlackChannelConfigurationOutcome > CreateSlackChannelConfigurationOutcomeCallable
std::future< ListSlackChannelConfigurationsOutcome > ListSlackChannelConfigurationsOutcomeCallable
std::future< ListSlackWorkspaceConfigurationsOutcome > ListSlackWorkspaceConfigurationsOutcomeCallable
std::future< UpdateSlackChannelConfigurationOutcome > UpdateSlackChannelConfigurationOutcomeCallable
std::future< RegisterSlackWorkspaceForOrganizationOutcome > RegisterSlackWorkspaceForOrganizationOutcomeCallable
std::future< DeleteAccountAliasOutcome > DeleteAccountAliasOutcomeCallable
std::future< DeleteSlackWorkspaceConfigurationOutcome > DeleteSlackWorkspaceConfigurationOutcomeCallable
std::future< DeleteSlackChannelConfigurationOutcome > DeleteSlackChannelConfigurationOutcomeCallable
std::future< GetAccountAliasOutcome > GetAccountAliasOutcomeCallable
std::future< PutAccountAliasOutcome > PutAccountAliasOutcomeCallable
std::function< void(const SupportAppClient *, const Model::DeleteSlackChannelConfigurationRequest &, const Model::DeleteSlackChannelConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSlackChannelConfigurationResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::UpdateSlackChannelConfigurationRequest &, const Model::UpdateSlackChannelConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSlackChannelConfigurationResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::DeleteAccountAliasRequest &, const Model::DeleteAccountAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAccountAliasResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::ListSlackChannelConfigurationsRequest &, const Model::ListSlackChannelConfigurationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSlackChannelConfigurationsResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::RegisterSlackWorkspaceForOrganizationRequest &, const Model::RegisterSlackWorkspaceForOrganizationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RegisterSlackWorkspaceForOrganizationResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::GetAccountAliasRequest &, const Model::GetAccountAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAccountAliasResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::ListSlackWorkspaceConfigurationsRequest &, const Model::ListSlackWorkspaceConfigurationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSlackWorkspaceConfigurationsResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::CreateSlackChannelConfigurationRequest &, const Model::CreateSlackChannelConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateSlackChannelConfigurationResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::DeleteSlackWorkspaceConfigurationRequest &, const Model::DeleteSlackWorkspaceConfigurationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSlackWorkspaceConfigurationResponseReceivedHandler
std::function< void(const SupportAppClient *, const Model::PutAccountAliasRequest &, const Model::PutAccountAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutAccountAliasResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String