AWS SDK for C++

AWS SDK for C++ Version 1.11.632

Loading...
Searching...
No Matches
ConnectParticipantClient.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_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/connectparticipant/ConnectParticipantServiceClientModel.h>
13
14namespace Aws
15{
16namespace ConnectParticipant
17{
34 class AWS_CONNECTPARTICIPANT_API ConnectParticipantClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<ConnectParticipantClient>
35 {
36 public:
38 static const char* GetServiceName();
39 static const char* GetAllocationTag();
40
43
49 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr);
50
56 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
58
63 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
64 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
66
67
68 /* Legacy constructors due deprecation */
74
80 const Aws::Client::ClientConfiguration& clientConfiguration);
81
86 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
87 const Aws::Client::ClientConfiguration& clientConfiguration);
88
89 /* End of legacy constructors due deprecation */
91
105
109 template<typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
110 Model::CancelParticipantAuthenticationOutcomeCallable CancelParticipantAuthenticationCallable(const CancelParticipantAuthenticationRequestT& request) const
111 {
112 return SubmitCallable(&ConnectParticipantClient::CancelParticipantAuthentication, request);
113 }
114
118 template<typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
119 void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT& request, const CancelParticipantAuthenticationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
120 {
121 return SubmitAsync(&ConnectParticipantClient::CancelParticipantAuthentication, request, handler, context);
122 }
123
140
144 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
145 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const
146 {
147 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
148 }
149
153 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
154 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request, const CompleteAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
155 {
156 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
157 }
158
217
221 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
222 Model::CreateParticipantConnectionOutcomeCallable CreateParticipantConnectionCallable(const CreateParticipantConnectionRequestT& request) const
223 {
224 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
225 }
226
230 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
231 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request, const CreateParticipantConnectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
232 {
233 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
234 }
235
245
249 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
250 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const
251 {
252 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
253 }
254
258 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
259 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
260 {
261 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
262 }
263
277
281 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
282 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const
283 {
284 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
285 }
286
290 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
291 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
292 {
293 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
294 }
295
314
318 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
319 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const
320 {
321 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
322 }
323
327 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
328 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
329 {
330 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
331 }
332
351
355 template<typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
356 Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT& request) const
357 {
358 return SubmitCallable(&ConnectParticipantClient::GetAuthenticationUrl, request);
359 }
360
364 template<typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
365 void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT& request, const GetAuthenticationUrlResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
366 {
367 return SubmitAsync(&ConnectParticipantClient::GetAuthenticationUrl, request, handler, context);
368 }
369
400
404 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
405 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const
406 {
407 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
408 }
409
413 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
414 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
415 {
416 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
417 }
418
441
445 template<typename SendEventRequestT = Model::SendEventRequest>
446 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const
447 {
448 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
449 }
450
454 template<typename SendEventRequestT = Model::SendEventRequest>
455 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
456 {
457 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
458 }
459
473
477 template<typename SendMessageRequestT = Model::SendMessageRequest>
478 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const
479 {
480 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
481 }
482
486 template<typename SendMessageRequestT = Model::SendMessageRequest>
487 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
488 {
489 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
490 }
491
506
510 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
511 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const
512 {
513 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
514 }
515
519 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
520 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
521 {
522 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
523 }
524
525
526 void OverrideEndpoint(const Aws::String& endpoint);
527 std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
528 private:
530 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
531
532 ConnectParticipantClientConfiguration m_clientConfiguration;
533 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
534 };
535
536} // namespace ConnectParticipant
537} // 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::DescribeViewRequest &, const Model::DescribeViewOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeViewResponseReceivedHandler
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::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::SendMessageRequest &, const Model::SendMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendMessageResponseReceivedHandler
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::StartAttachmentUploadRequest &, const Model::StartAttachmentUploadOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartAttachmentUploadResponseReceivedHandler
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::GetAttachmentRequest &, const Model::GetAttachmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAttachmentResponseReceivedHandler
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