AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
ConnectContactLensClient.h
1
6#pragma once
7#include <aws/connect-contact-lens/ConnectContactLensPaginationBase.h>
8#include <aws/connect-contact-lens/ConnectContactLensServiceClientModel.h>
9#include <aws/connect-contact-lens/ConnectContactLensWaiter.h>
10#include <aws/connect-contact-lens/ConnectContactLens_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 ConnectContactLens {
34class AWS_CONNECTCONTACTLENS_API ConnectContactLensClient : public Aws::Client::AWSJsonClient,
35 public Aws::Client::ClientWithAsyncTemplateMethods<ConnectContactLensClient>,
36 public ConnectContactLensPaginationBase<ConnectContactLensClient>,
37 public ConnectContactLensWaiter<ConnectContactLensClient> {
38 public:
40 static const char* GetServiceName();
41 static const char* GetAllocationTag();
42
45
52 std::shared_ptr<ConnectContactLensEndpointProviderBase> endpointProvider = nullptr);
53
59 std::shared_ptr<ConnectContactLensEndpointProviderBase> endpointProvider = nullptr,
62
67 ConnectContactLensClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
68 std::shared_ptr<ConnectContactLensEndpointProviderBase> endpointProvider = nullptr,
71
72 /* Legacy constructors due deprecation */
78
84
89 ConnectContactLensClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
90 const Aws::Client::ClientConfiguration& clientConfiguration);
91
92 /* End of legacy constructors due deprecation */
94
103
108 template <typename ListRealtimeContactAnalysisSegmentsRequestT = Model::ListRealtimeContactAnalysisSegmentsRequest>
110 const ListRealtimeContactAnalysisSegmentsRequestT& request) const {
111 return SubmitCallable(&ConnectContactLensClient::ListRealtimeContactAnalysisSegments, request);
112 }
113
118 template <typename ListRealtimeContactAnalysisSegmentsRequestT = Model::ListRealtimeContactAnalysisSegmentsRequest>
119 void ListRealtimeContactAnalysisSegmentsAsync(const ListRealtimeContactAnalysisSegmentsRequestT& request,
121 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
122 return SubmitAsync(&ConnectContactLensClient::ListRealtimeContactAnalysisSegments, request, handler, context);
123 }
124
125 virtual void OverrideEndpoint(const Aws::String& endpoint);
126 virtual std::shared_ptr<ConnectContactLensEndpointProviderBase>& accessEndpointProvider();
127
128 private:
130 void init(const ConnectContactLensClientConfiguration& clientConfiguration);
131
133
134 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
135 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
136 Aws::Http::HttpMethod httpMethod) const;
137
138 ConnectContactLensClientConfiguration m_clientConfiguration;
139 std::shared_ptr<ConnectContactLensEndpointProviderBase> m_endpointProvider;
140};
141
142} // namespace ConnectContactLens
143} // namespace Aws
ConnectContactLensClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< ConnectContactLensEndpointProviderBase > endpointProvider=nullptr, const Aws::ConnectContactLens::ConnectContactLensClientConfiguration &clientConfiguration=Aws::ConnectContactLens::ConnectContactLensClientConfiguration())
ConnectContactLensClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< ConnectContactLensEndpointProviderBase > endpointProvider=nullptr, const Aws::ConnectContactLens::ConnectContactLensClientConfiguration &clientConfiguration=Aws::ConnectContactLens::ConnectContactLensClientConfiguration())
Model::ListRealtimeContactAnalysisSegmentsOutcomeCallable ListRealtimeContactAnalysisSegmentsCallable(const ListRealtimeContactAnalysisSegmentsRequestT &request) const
virtual std::shared_ptr< ConnectContactLensEndpointProviderBase > & accessEndpointProvider()
ConnectContactLensClient(const Aws::ConnectContactLens::ConnectContactLensClientConfiguration &clientConfiguration=Aws::ConnectContactLens::ConnectContactLensClientConfiguration(), std::shared_ptr< ConnectContactLensEndpointProviderBase > endpointProvider=nullptr)
ConnectContactLensClientConfiguration ClientConfigurationType
void ListRealtimeContactAnalysisSegmentsAsync(const ListRealtimeContactAnalysisSegmentsRequestT &request, const ListRealtimeContactAnalysisSegmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ConnectContactLensClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListRealtimeContactAnalysisSegmentsOutcome ListRealtimeContactAnalysisSegments(const Model::ListRealtimeContactAnalysisSegmentsRequest &request) const
virtual void OverrideEndpoint(const Aws::String &endpoint)
ConnectContactLensClient(const Aws::Client::ClientConfiguration &clientConfiguration)
ConnectContactLensClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::future< ListRealtimeContactAnalysisSegmentsOutcome > ListRealtimeContactAnalysisSegmentsOutcomeCallable
std::function< void(const ConnectContactLensClient *, const Model::ListRealtimeContactAnalysisSegmentsRequest &, const Model::ListRealtimeContactAnalysisSegmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListRealtimeContactAnalysisSegmentsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String