AWS SDK for C++

AWS SDK for C++ Version 1.11.896

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
104
109 template <typename ListRealtimeContactAnalysisSegmentsRequestT = Model::ListRealtimeContactAnalysisSegmentsRequest>
111 const ListRealtimeContactAnalysisSegmentsRequestT& request) const {
112 return SubmitCallable(&ConnectContactLensClient::ListRealtimeContactAnalysisSegments, request);
113 }
114
119 template <typename ListRealtimeContactAnalysisSegmentsRequestT = Model::ListRealtimeContactAnalysisSegmentsRequest>
120 void ListRealtimeContactAnalysisSegmentsAsync(const ListRealtimeContactAnalysisSegmentsRequestT& request,
122 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
123 return SubmitAsync(&ConnectContactLensClient::ListRealtimeContactAnalysisSegments, request, handler, context);
124 }
125
126 virtual void OverrideEndpoint(const Aws::String& endpoint);
127 virtual std::shared_ptr<ConnectContactLensEndpointProviderBase>& accessEndpointProvider();
128
129 private:
131 void init(const ConnectContactLensClientConfiguration& clientConfiguration);
132
134
135 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
136 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
137 Aws::Http::HttpMethod httpMethod) const;
138
139 ConnectContactLensClientConfiguration m_clientConfiguration;
140 std::shared_ptr<ConnectContactLensEndpointProviderBase> m_endpointProvider;
141};
142
143} // namespace ConnectContactLens
144} // 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