AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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{
30 class AWS_CONNECTPARTICIPANT_API ConnectParticipantClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<ConnectParticipantClient>
31 {
32 public:
34 static const char* GetServiceName();
35 static const char* GetAllocationTag();
36
39
45 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr);
46
52 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
54
59 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
60 std::shared_ptr<ConnectParticipantEndpointProviderBase> endpointProvider = nullptr,
62
63
64 /* Legacy constructors due deprecation */
70
76 const Aws::Client::ClientConfiguration& clientConfiguration);
77
82 ConnectParticipantClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
83 const Aws::Client::ClientConfiguration& clientConfiguration);
84
85 /* End of legacy constructors due deprecation */
87
101
105 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
106 Model::CompleteAttachmentUploadOutcomeCallable CompleteAttachmentUploadCallable(const CompleteAttachmentUploadRequestT& request) const
107 {
108 return SubmitCallable(&ConnectParticipantClient::CompleteAttachmentUpload, request);
109 }
110
114 template<typename CompleteAttachmentUploadRequestT = Model::CompleteAttachmentUploadRequest>
115 void CompleteAttachmentUploadAsync(const CompleteAttachmentUploadRequestT& request, const CompleteAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
116 {
117 return SubmitAsync(&ConnectParticipantClient::CompleteAttachmentUpload, request, handler, context);
118 }
119
151
155 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
156 Model::CreateParticipantConnectionOutcomeCallable CreateParticipantConnectionCallable(const CreateParticipantConnectionRequestT& request) const
157 {
158 return SubmitCallable(&ConnectParticipantClient::CreateParticipantConnection, request);
159 }
160
164 template<typename CreateParticipantConnectionRequestT = Model::CreateParticipantConnectionRequest>
165 void CreateParticipantConnectionAsync(const CreateParticipantConnectionRequestT& request, const CreateParticipantConnectionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
166 {
167 return SubmitAsync(&ConnectParticipantClient::CreateParticipantConnection, request, handler, context);
168 }
169
177
181 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
182 Model::DescribeViewOutcomeCallable DescribeViewCallable(const DescribeViewRequestT& request) const
183 {
184 return SubmitCallable(&ConnectParticipantClient::DescribeView, request);
185 }
186
190 template<typename DescribeViewRequestT = Model::DescribeViewRequest>
191 void DescribeViewAsync(const DescribeViewRequestT& request, const DescribeViewResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
192 {
193 return SubmitAsync(&ConnectParticipantClient::DescribeView, request, handler, context);
194 }
195
206
210 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
211 Model::DisconnectParticipantOutcomeCallable DisconnectParticipantCallable(const DisconnectParticipantRequestT& request) const
212 {
213 return SubmitCallable(&ConnectParticipantClient::DisconnectParticipant, request);
214 }
215
219 template<typename DisconnectParticipantRequestT = Model::DisconnectParticipantRequest>
220 void DisconnectParticipantAsync(const DisconnectParticipantRequestT& request, const DisconnectParticipantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
221 {
222 return SubmitAsync(&ConnectParticipantClient::DisconnectParticipant, request, handler, context);
223 }
224
237
241 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
242 Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT& request) const
243 {
244 return SubmitCallable(&ConnectParticipantClient::GetAttachment, request);
245 }
246
250 template<typename GetAttachmentRequestT = Model::GetAttachmentRequest>
251 void GetAttachmentAsync(const GetAttachmentRequestT& request, const GetAttachmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
252 {
253 return SubmitAsync(&ConnectParticipantClient::GetAttachment, request, handler, context);
254 }
255
281
285 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
286 Model::GetTranscriptOutcomeCallable GetTranscriptCallable(const GetTranscriptRequestT& request) const
287 {
288 return SubmitCallable(&ConnectParticipantClient::GetTranscript, request);
289 }
290
294 template<typename GetTranscriptRequestT = Model::GetTranscriptRequest>
295 void GetTranscriptAsync(const GetTranscriptRequestT& request, const GetTranscriptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
296 {
297 return SubmitAsync(&ConnectParticipantClient::GetTranscript, request, handler, context);
298 }
299
319
323 template<typename SendEventRequestT = Model::SendEventRequest>
324 Model::SendEventOutcomeCallable SendEventCallable(const SendEventRequestT& request) const
325 {
326 return SubmitCallable(&ConnectParticipantClient::SendEvent, request);
327 }
328
332 template<typename SendEventRequestT = Model::SendEventRequest>
333 void SendEventAsync(const SendEventRequestT& request, const SendEventResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
334 {
335 return SubmitAsync(&ConnectParticipantClient::SendEvent, request, handler, context);
336 }
337
348
352 template<typename SendMessageRequestT = Model::SendMessageRequest>
353 Model::SendMessageOutcomeCallable SendMessageCallable(const SendMessageRequestT& request) const
354 {
355 return SubmitCallable(&ConnectParticipantClient::SendMessage, request);
356 }
357
361 template<typename SendMessageRequestT = Model::SendMessageRequest>
362 void SendMessageAsync(const SendMessageRequestT& request, const SendMessageResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
363 {
364 return SubmitAsync(&ConnectParticipantClient::SendMessage, request, handler, context);
365 }
366
378
382 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
383 Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT& request) const
384 {
385 return SubmitCallable(&ConnectParticipantClient::StartAttachmentUpload, request);
386 }
387
391 template<typename StartAttachmentUploadRequestT = Model::StartAttachmentUploadRequest>
392 void StartAttachmentUploadAsync(const StartAttachmentUploadRequestT& request, const StartAttachmentUploadResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
393 {
394 return SubmitAsync(&ConnectParticipantClient::StartAttachmentUpload, request, handler, context);
395 }
396
397
398 void OverrideEndpoint(const Aws::String& endpoint);
399 std::shared_ptr<ConnectParticipantEndpointProviderBase>& accessEndpointProvider();
400 private:
402 void init(const ConnectParticipantClientConfiguration& clientConfiguration);
403
404 ConnectParticipantClientConfiguration m_clientConfiguration;
405 std::shared_ptr<ConnectParticipantEndpointProviderBase> m_endpointProvider;
406 };
407
408} // namespace ConnectParticipant
409} // namespace Aws
Model::GetAttachmentOutcomeCallable GetAttachmentCallable(const GetAttachmentRequestT &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
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())
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
Model::StartAttachmentUploadOutcomeCallable StartAttachmentUploadCallable(const StartAttachmentUploadRequestT &request) const
std::future< DescribeViewOutcome > DescribeViewOutcomeCallable
std::future< StartAttachmentUploadOutcome > StartAttachmentUploadOutcomeCallable
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::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