AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ConnectParticipantClient.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipantPaginationBase.h>
8#include <aws/connectparticipant/ConnectParticipantServiceClientModel.h>
9#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
10#include <aws/core/client/AWSClient.h>
11#include <aws/core/client/AWSClientAsyncCRTP.h>
12#include <aws/core/client/ClientConfiguration.h>
13#include <aws/core/utils/json/JsonSerializer.h>
14
15namespace Aws {
16namespace ConnectParticipant {
33class AWS_CONNECTPARTICIPANT_API ConnectParticipantClient : public Aws::Client::AWSJsonClient,
34 public Aws::Client::ClientWithAsyncTemplateMethods<ConnectParticipantClient>,
35 public ConnectParticipantPaginationBase<ConnectParticipantClient> {
36 public:
38 static const char* GetServiceName();
39 static const char* GetAllocationTag();
40
43
50 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr);
51
57 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
60
65 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
66 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
69
70 /* Legacy constructors due deprecation */
76
82
87 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
88 const Aws::Client::ClientConfiguration& clientConfiguration);
89
90 /* End of legacy constructors due deprecation */
92
107
112 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
114 const CancelParticipantAuthenticationRequestT& request) const {
115 return SubmitCallable(&ConnectParticipantClient::CancelParticipantAuthentication, request);
116 }
117
122 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
123 void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT& request,
125 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
126 return SubmitAsync(&ConnectParticipantClient::CancelParticipantAuthentication, request, handler, context);
127 }
128
145
150 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
151 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const {
152 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
153 }
154
159 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
160 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request,
162 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
163 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
164 }
165
224 const Model::CreateParticipantConnectionRequest& request) const;
225
230 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
232 const CreateParticipantConnectionRequestT& request) const {
233 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
234 }
235
240 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
241 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request,
243 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
244 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
245 }
246
256
260 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
261 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const {
262 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
263 }
264
269 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
270 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler,
271 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
272 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
273 }
274
288
293 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
294 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const {
295 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
296 }
297
302 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
303 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler,
304 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
305 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
306 }
307
326
330 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
331 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const {
332 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
333 }
334
339 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
340 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler,
341 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
342 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
343 }
344
363
368 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
369 Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT& request) const {
370 return SubmitCallable(&ConnectParticipantClient::GetAuthenticationUrl, request);
371 }
372
377 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
378 void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT& request, const GetAuthenticationUrlResponseReceivedHandler& handler,
379 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
380 return SubmitAsync(&ConnectParticipantClient::GetAuthenticationUrl, request, handler, context);
381 }
382
413
417 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
418 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const {
419 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
420 }
421
426 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
427 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler,
428 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
429 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
430 }
431
454
458 template <typename SendEventRequestT = Model::SendEventRequest>
459 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const {
460 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
461 }
462
467 template <typename SendEventRequestT = Model::SendEventRequest>
468 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler,
469 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
470 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
471 }
472
486
490 template <typename SendMessageRequestT = Model::SendMessageRequest>
491 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const {
492 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
493 }
494
499 template <typename SendMessageRequestT = Model::SendMessageRequest>
500 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler,
501 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
502 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
503 }
504
519
524 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
525 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const {
526 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
527 }
528
533 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
534 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler,
535 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
536 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
537 }
538
539 virtual void OverrideEndpoint(const Aws::String& endpoint);
540 virtual std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
541
542 private:
544 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
545
546 ConnectParticipantClientConfiguration m_clientConfiguration;
547 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
548};
549
550} // namespace ConnectParticipant
551} // 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 void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::GetAuthenticationUrlOutcome GetAuthenticationUrl(const Model::GetAuthenticationUrlRequest &request) const
ConnectParticipantClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetAttachmentOutcome GetAttachment(const Model::GetAttachmentRequest &request) const
Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT &request) const
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 std::shared_ptr< ConnectParticipantEndpointProviderBase > & accessEndpointProvider()
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