AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
101
105 template<typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
106 Model::CancelParticipantAuthenticationOutcomeCallable CancelParticipantAuthenticationCallable(const CancelParticipantAuthenticationRequestT& request) const
107 {
108 return SubmitCallable(&ConnectParticipantClient::CancelParticipantAuthentication, request);
109 }
110
114 template<typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
115 void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT& request, const CancelParticipantAuthenticationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
116 {
117 return SubmitAsync(&ConnectParticipantClient::CancelParticipantAuthentication, request, handler, context);
118 }
119
136
140 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
141 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const
142 {
143 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
144 }
145
149 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
150 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request, const CompleteAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
151 {
152 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
153 }
154
189
193 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
194 Model::CreateParticipantConnectionOutcomeCallable CreateParticipantConnectionCallable(const CreateParticipantConnectionRequestT& request) const
195 {
196 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
197 }
198
202 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
203 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request, const CreateParticipantConnectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
204 {
205 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
206 }
207
217
221 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
222 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const
223 {
224 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
225 }
226
230 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
231 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
232 {
233 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
234 }
235
249
253 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
254 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const
255 {
256 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
257 }
258
262 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
263 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
264 {
265 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
266 }
267
283
287 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
288 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const
289 {
290 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
291 }
292
296 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
297 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
298 {
299 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
300 }
301
316
320 template<typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
321 Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT& request) const
322 {
323 return SubmitCallable(&ConnectParticipantClient::GetAuthenticationUrl, request);
324 }
325
329 template<typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
330 void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT& request, const GetAuthenticationUrlResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
331 {
332 return SubmitAsync(&ConnectParticipantClient::GetAuthenticationUrl, request, handler, context);
333 }
334
362
366 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
367 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const
368 {
369 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
370 }
371
375 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
376 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
377 {
378 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
379 }
380
403
407 template<typename SendEventRequestT = Model::SendEventRequest>
408 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const
409 {
410 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
411 }
412
416 template<typename SendEventRequestT = Model::SendEventRequest>
417 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
418 {
419 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
420 }
421
435
439 template<typename SendMessageRequestT = Model::SendMessageRequest>
440 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const
441 {
442 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
443 }
444
448 template<typename SendMessageRequestT = Model::SendMessageRequest>
449 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
450 {
451 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
452 }
453
468
472 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
473 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const
474 {
475 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
476 }
477
481 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
482 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
483 {
484 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
485 }
486
487
488 void OverrideEndpoint(const Aws::String& endpoint);
489 std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
490 private:
492 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
493
494 ConnectParticipantClientConfiguration m_clientConfiguration;
495 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
496 };
497
498} // namespace ConnectParticipant
499} // 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