AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ConnectParticipantClient.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipantServiceClientModel.h>
8#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/client/ClientConfiguration.h>
12#include <aws/core/utils/json/JsonSerializer.h>
13
14namespace Aws {
15namespace ConnectParticipant {
32class AWS_CONNECTPARTICIPANT_API ConnectParticipantClient : public Aws::Client::AWSJsonClient,
33 public Aws::Client::ClientWithAsyncTemplateMethods<ConnectParticipantClient> {
34 public:
36 static const char* GetServiceName();
37 static const char* GetAllocationTag();
38
41
48 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr);
49
55 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
58
63 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
67
68 /* Legacy constructors due deprecation */
74
80
85 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
86 const Aws::Client::ClientConfiguration& clientConfiguration);
87
88 /* End of legacy constructors due deprecation */
90
105
110 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
112 const CancelParticipantAuthenticationRequestT& request) const {
113 return SubmitCallable(&ConnectParticipantClient::CancelParticipantAuthentication, request);
114 }
115
120 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
121 void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT& request,
123 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
124 return SubmitAsync(&ConnectParticipantClient::CancelParticipantAuthentication, request, handler, context);
125 }
126
143
148 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
149 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const {
150 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
151 }
152
157 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
158 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request,
160 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
161 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
162 }
163
222 const Model::CreateParticipantConnectionRequest& request) const;
223
228 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
230 const CreateParticipantConnectionRequestT& request) const {
231 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
232 }
233
238 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
239 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request,
241 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
242 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
243 }
244
254
258 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
259 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const {
260 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
261 }
262
267 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
268 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler,
269 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
270 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
271 }
272
286
291 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
292 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const {
293 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
294 }
295
300 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
301 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler,
302 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
303 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
304 }
305
324
328 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
329 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const {
330 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
331 }
332
337 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
338 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler,
339 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
340 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
341 }
342
361
366 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
367 Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT& request) const {
368 return SubmitCallable(&ConnectParticipantClient::GetAuthenticationUrl, request);
369 }
370
375 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
376 void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT& request, const GetAuthenticationUrlResponseReceivedHandler& handler,
377 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
378 return SubmitAsync(&ConnectParticipantClient::GetAuthenticationUrl, request, handler, context);
379 }
380
411
415 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
416 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const {
417 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
418 }
419
424 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
425 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler,
426 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
427 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
428 }
429
452
456 template <typename SendEventRequestT = Model::SendEventRequest>
457 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const {
458 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
459 }
460
465 template <typename SendEventRequestT = Model::SendEventRequest>
466 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler,
467 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
468 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
469 }
470
484
488 template <typename SendMessageRequestT = Model::SendMessageRequest>
489 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const {
490 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
491 }
492
497 template <typename SendMessageRequestT = Model::SendMessageRequest>
498 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler,
499 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
500 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
501 }
502
517
522 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
523 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const {
524 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
525 }
526
531 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
532 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler,
533 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
534 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
535 }
536
537 void OverrideEndpoint(const Aws::String& endpoint);
538 std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
539
540 private:
542 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
543
544 ConnectParticipantClientConfiguration m_clientConfiguration;
545 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
546};
547
548} // namespace ConnectParticipant
549} // namespace Aws
Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT &request) const
Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT &request) const
void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT &request, const CancelParticipantAuthenticationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CancelParticipantAuthenticationOutcome CancelParticipantAuthentication(const Model::CancelParticipantAuthenticationRequest &request) const
virtual Model::GetTranscriptOutcome GetTranscript(const Model::GetTranscriptRequest &request) const
void SendMessageAsync(const SendMessageRequestT &request, const SendMessageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::StartAttachmentUploadOutcome StartAttachmentUpload(const Model::StartAttachmentUploadRequest &request) const
void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT &request, const CompleteAttachmentUploadResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ConnectParticipantClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::DescribeViewOutcome DescribeView(const Model::DescribeViewRequest &request) const
Model::CancelParticipantAuthenticationOutcomeCallable CancelParticipantAuthenticationCallable(const CancelParticipantAuthenticationRequestT &request) const
void SendEventAsync(const SendEventRequestT &request, const SendEventResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::DisconnectParticipantOutcome DisconnectParticipant(const Model::DisconnectParticipantRequest &request) const
ConnectParticipantClient(const Aws::ConnectParticipant::ConnectParticipantClientConfiguration &clientConfiguration=Aws::ConnectParticipant::ConnectParticipantClientConfiguration(), std::shared_ptr< ConnectParticipantEndpointProviderBase > endpointProvider=nullptr)
Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT &request) const
ConnectParticipantClientConfiguration ClientConfigurationType
Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT &request) const
void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT &request, const StartAttachmentUploadResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::SendMessageOutcome SendMessage(const Model::SendMessageRequest &request) const
void GetTranscriptAsync(const GetTranscriptRequestT &request, const GetTranscriptResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT &request) const
ConnectParticipantClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ConnectParticipantEndpointProviderBase > endpointProvider=nullptr, const Aws::ConnectParticipant::ConnectParticipantClientConfiguration &clientConfiguration=Aws::ConnectParticipant::ConnectParticipantClientConfiguration())
Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT &request) const
ConnectParticipantClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ConnectParticipantEndpointProviderBase > endpointProvider=nullptr, const Aws::ConnectParticipant::ConnectParticipantClientConfiguration &clientConfiguration=Aws::ConnectParticipant::ConnectParticipantClientConfiguration())
virtual Model::GetAuthenticationUrlOutcome GetAuthenticationUrl(const Model::GetAuthenticationUrlRequest &request) const
ConnectParticipantClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::GetAttachmentOutcome GetAttachment(const Model::GetAttachmentRequest &request) const
Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT &request) const
std::shared_ptr< ConnectParticipantEndpointProviderBase > & accessEndpointProvider()
void GetAttachmentAsync(const GetAttachmentRequestT &request, const GetAttachmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ConnectParticipantClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::SendEventOutcome SendEvent(const Model::SendEventRequest &request) const
virtual Model::CompleteAttachmentUploadOutcome CompleteAttachmentUpload(const Model::CompleteAttachmentUploadRequest &request) const
void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT &request, const CreateParticipantConnectionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT &request) const
void DescribeViewAsync(const DescribeViewRequestT &request, const DescribeViewResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DisconnectParticipantAsync(const DisconnectParticipantRequestT &request, const DisconnectParticipantResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateParticipantConnectionOutcome CreateParticipantConnection(const Model::CreateParticipantConnectionRequest &request) const
Model::CreateParticipantConnectionOutcomeCallable CreateParticipantConnectionCallable(const CreateParticipantConnectionRequestT &request) const
void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT &request, const GetAuthenticationUrlResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT &request) const
std::future< DescribeViewOutcome > DescribeViewOutcomeCallable
std::future< StartAttachmentUploadOutcome > StartAttachmentUploadOutcomeCallable
std::future< CancelParticipantAuthenticationOutcome > CancelParticipantAuthenticationOutcomeCallable
std::future< GetAuthenticationUrlOutcome > GetAuthenticationUrlOutcomeCallable
std::future< GetTranscriptOutcome > GetTranscriptOutcomeCallable
std::future< SendMessageOutcome > SendMessageOutcomeCallable
std::future< GetAttachmentOutcome > GetAttachmentOutcomeCallable
std::future< CreateParticipantConnectionOutcome > CreateParticipantConnectionOutcomeCallable
std::future< DisconnectParticipantOutcome > DisconnectParticipantOutcomeCallable
std::future< CompleteAttachmentUploadOutcome > CompleteAttachmentUploadOutcomeCallable
std::future< SendEventOutcome > SendEventOutcomeCallable
std::function< void(const ConnectParticipantClient *, const Model::SendEventRequest &, const Model::SendEventOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> SendEventResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::StartAttachmentUploadRequest &, const Model::StartAttachmentUploadOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> StartAttachmentUploadResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::CompleteAttachmentUploadRequest &, const Model::CompleteAttachmentUploadOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CompleteAttachmentUploadResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::DisconnectParticipantRequest &, const Model::DisconnectParticipantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DisconnectParticipantResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::GetAttachmentRequest &, const Model::GetAttachmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetAttachmentResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::SendMessageRequest &, const Model::SendMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> SendMessageResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::GetAuthenticationUrlRequest &, const Model::GetAuthenticationUrlOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetAuthenticationUrlResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::CancelParticipantAuthenticationRequest &, const Model::CancelParticipantAuthenticationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CancelParticipantAuthenticationResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::GetTranscriptRequest &, const Model::GetTranscriptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetTranscriptResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::DescribeViewRequest &, const Model::DescribeViewOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DescribeViewResponseReceivedHandler
std::function< void(const ConnectParticipantClient *, const Model::CreateParticipantConnectionRequest &, const Model::CreateParticipantConnectionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateParticipantConnectionResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String