AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/ConnectParticipantWaiter.h>
10#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
11#include <aws/core/client/AWSClient.h>
12#include <aws/core/client/AWSClientAsyncCRTP.h>
13#include <aws/core/client/ClientConfiguration.h>
14#include <aws/core/utils/json/JsonSerializer.h>
15
16namespace Aws {
17namespace ConnectParticipant {
34class AWS_CONNECTPARTICIPANT_API ConnectParticipantClient : public Aws::Client::AWSJsonClient,
35 public Aws::Client::ClientWithAsyncTemplateMethods<ConnectParticipantClient>,
36 public ConnectParticipantPaginationBase<ConnectParticipantClient>,
37 public ConnectParticipantWaiter<ConnectParticipantClient> {
38 public:
40 static const char* GetServiceName();
41 static const char* GetAllocationTag();
42
45
52 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr);
53
59 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
62
67 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
68 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
71
72 /* Legacy constructors due deprecation */
78
84
89 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
90 const Aws::Client::ClientConfiguration& clientConfiguration);
91
92 /* End of legacy constructors due deprecation */
94
109
114 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
116 const CancelParticipantAuthenticationRequestT& request) const {
117 return SubmitCallable(&ConnectParticipantClient::CancelParticipantAuthentication, request);
118 }
119
124 template <typename CancelParticipantAuthenticationRequestT = Model::CancelParticipantAuthenticationRequest>
125 void CancelParticipantAuthenticationAsync(const CancelParticipantAuthenticationRequestT& request,
127 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
128 return SubmitAsync(&ConnectParticipantClient::CancelParticipantAuthentication, request, handler, context);
129 }
130
147
152 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
153 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const {
154 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
155 }
156
161 template <typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
162 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request,
164 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
165 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
166 }
167
226 const Model::CreateParticipantConnectionRequest& request) const;
227
232 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
234 const CreateParticipantConnectionRequestT& request) const {
235 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
236 }
237
242 template <typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
243 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request,
245 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
246 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
247 }
248
258
262 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
263 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const {
264 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
265 }
266
271 template <typename DescribeViewRequestT = Model::DescribeViewRequest>
272 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler,
273 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
274 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
275 }
276
290
295 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
296 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const {
297 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
298 }
299
304 template <typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
305 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler,
306 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
307 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
308 }
309
328
332 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
333 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const {
334 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
335 }
336
341 template <typename GetAttachmentRequestT = Model::GetAttachmentRequest>
342 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler,
343 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
344 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
345 }
346
365
370 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
371 Model::GetAuthenticationUrlOutcomeCallable GetAuthenticationUrlCallable(const GetAuthenticationUrlRequestT& request) const {
372 return SubmitCallable(&ConnectParticipantClient::GetAuthenticationUrl, request);
373 }
374
379 template <typename GetAuthenticationUrlRequestT = Model::GetAuthenticationUrlRequest>
380 void GetAuthenticationUrlAsync(const GetAuthenticationUrlRequestT& request, const GetAuthenticationUrlResponseReceivedHandler& handler,
381 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
382 return SubmitAsync(&ConnectParticipantClient::GetAuthenticationUrl, request, handler, context);
383 }
384
415
419 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
420 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const {
421 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
422 }
423
428 template <typename GetTranscriptRequestT = Model::GetTranscriptRequest>
429 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler,
430 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
431 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
432 }
433
456
460 template <typename SendEventRequestT = Model::SendEventRequest>
461 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const {
462 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
463 }
464
469 template <typename SendEventRequestT = Model::SendEventRequest>
470 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler,
471 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
472 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
473 }
474
488
492 template <typename SendMessageRequestT = Model::SendMessageRequest>
493 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const {
494 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
495 }
496
501 template <typename SendMessageRequestT = Model::SendMessageRequest>
502 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler,
503 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
504 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
505 }
506
521
526 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
527 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const {
528 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
529 }
530
535 template <typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
536 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler,
537 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
538 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
539 }
540
541 virtual void OverrideEndpoint(const Aws::String& endpoint);
542 virtual std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
543
544 private:
546 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
547
549
550 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
551 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
552 Aws::Http::HttpMethod httpMethod) const;
553
554 ConnectParticipantClientConfiguration m_clientConfiguration;
555 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
556};
557
558} // namespace ConnectParticipant
559} // 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