7#include <aws/lexv2-runtime/LexRuntimeV2_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/lexv2-runtime/LexRuntimeV2ServiceClientModel.h>
37 std::shared_ptr<LexRuntimeV2EndpointProviderBase> endpointProvider =
nullptr);
44 std::shared_ptr<LexRuntimeV2EndpointProviderBase> endpointProvider =
nullptr,
51 LexRuntimeV2Client(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<LexRuntimeV2EndpointProviderBase> endpointProvider =
nullptr,
74 LexRuntimeV2Client(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
99 template<
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
102 return SubmitCallable(&LexRuntimeV2Client::DeleteSession, request);
108 template<
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
111 return SubmitAsync(&LexRuntimeV2Client::DeleteSession, request, handler, context);
130 template<
typename GetSessionRequestT = Model::GetSessionRequest>
133 return SubmitCallable(&LexRuntimeV2Client::GetSession, request);
139 template<
typename GetSessionRequestT = Model::GetSessionRequest>
142 return SubmitAsync(&LexRuntimeV2Client::GetSession, request, handler, context);
157 template<
typename PutSessionRequestT = Model::PutSessionRequest>
160 return SubmitCallable(&LexRuntimeV2Client::PutSession, request);
166 template<
typename PutSessionRequestT = Model::PutSessionRequest>
169 return SubmitAsync(&LexRuntimeV2Client::PutSession, request, handler, context);
200 template<
typename RecognizeTextRequestT = Model::RecognizeTextRequest>
203 return SubmitCallable(&LexRuntimeV2Client::RecognizeText, request);
209 template<
typename RecognizeTextRequestT = Model::RecognizeTextRequest>
212 return SubmitAsync(&LexRuntimeV2Client::RecognizeText, request, handler, context);
251 template<
typename RecognizeUtteranceRequestT = Model::RecognizeUtteranceRequest>
254 return SubmitCallable(&LexRuntimeV2Client::RecognizeUtterance, request);
260 template<
typename RecognizeUtteranceRequestT = Model::RecognizeUtteranceRequest>
263 return SubmitAsync(&LexRuntimeV2Client::RecognizeUtterance, request, handler, context);
310 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& handlerContext =
nullptr)
const;
320 std::shared_ptr<LexRuntimeV2EndpointProviderBase> m_endpointProvider;
Model::DeleteSessionOutcomeCallable DeleteSessionCallable(const DeleteSessionRequestT &request) const
LexRuntimeV2Client(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetSessionOutcome GetSession(const Model::GetSessionRequest &request) const
LexRuntimeV2Client(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void PutSessionAsync(const PutSessionRequestT &request, const PutSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetSessionAsync(const GetSessionRequestT &request, const GetSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RecognizeTextOutcome RecognizeText(const Model::RecognizeTextRequest &request) const
void RecognizeTextAsync(const RecognizeTextRequestT &request, const RecognizeTextResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
static const char * GetAllocationTag()
static const char * GetServiceName()
Model::RecognizeUtteranceOutcomeCallable RecognizeUtteranceCallable(const RecognizeUtteranceRequestT &request) const
void RecognizeUtteranceAsync(const RecognizeUtteranceRequestT &request, const RecognizeUtteranceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::Client::AWSJsonClient BASECLASS
LexRuntimeV2Client(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< LexRuntimeV2EndpointProviderBase > endpointProvider=nullptr, const Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration &clientConfiguration=Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration())
virtual Model::PutSessionOutcome PutSession(const Model::PutSessionRequest &request) const
void DeleteSessionAsync(const DeleteSessionRequestT &request, const DeleteSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::PutSessionOutcomeCallable PutSessionCallable(const PutSessionRequestT &request) const
Model::RecognizeTextOutcomeCallable RecognizeTextCallable(const RecognizeTextRequestT &request) const
LexRuntimeV2ClientConfiguration ClientConfigurationType
virtual Model::RecognizeUtteranceOutcome RecognizeUtterance(const Model::RecognizeUtteranceRequest &request) const
LexRuntimeV2EndpointProvider EndpointProviderType
LexRuntimeV2Client(const Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration &clientConfiguration=Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration(), std::shared_ptr< LexRuntimeV2EndpointProviderBase > endpointProvider=nullptr)
virtual void StartConversationAsync(Model::StartConversationRequest &request, const StartConversationStreamReadyHandler &streamReadyHandler, const StartConversationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &handlerContext=nullptr) const
LexRuntimeV2Client(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::GetSessionOutcomeCallable GetSessionCallable(const GetSessionRequestT &request) const
virtual ~LexRuntimeV2Client()
virtual Model::DeleteSessionOutcome DeleteSession(const Model::DeleteSessionRequest &request) const
LexRuntimeV2Client(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< LexRuntimeV2EndpointProviderBase > endpointProvider=nullptr, const Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration &clientConfiguration=Aws::LexRuntimeV2::LexRuntimeV2ClientConfiguration())
std::shared_ptr< LexRuntimeV2EndpointProviderBase > & accessEndpointProvider()
std::future< GetSessionOutcome > GetSessionOutcomeCallable
std::future< RecognizeUtteranceOutcome > RecognizeUtteranceOutcomeCallable
std::future< DeleteSessionOutcome > DeleteSessionOutcomeCallable
std::future< RecognizeTextOutcome > RecognizeTextOutcomeCallable
std::future< PutSessionOutcome > PutSessionOutcomeCallable
std::function< void(const LexRuntimeV2Client *, const Model::PutSessionRequest &, Model::PutSessionOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutSessionResponseReceivedHandler
std::function< void(const LexRuntimeV2Client *, const Model::GetSessionRequest &, const Model::GetSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSessionResponseReceivedHandler
std::function< void(const LexRuntimeV2Client *, const Model::DeleteSessionRequest &, const Model::DeleteSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSessionResponseReceivedHandler
std::function< void(const LexRuntimeV2Client *, const Model::RecognizeTextRequest &, const Model::RecognizeTextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RecognizeTextResponseReceivedHandler
std::function< void(const LexRuntimeV2Client *, const Model::RecognizeUtteranceRequest &, Model::RecognizeUtteranceOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RecognizeUtteranceResponseReceivedHandler
std::function< void(Model::StartConversationRequestEventStream &)> StartConversationStreamReadyHandler
std::function< void(const LexRuntimeV2Client *, const Model::StartConversationRequest &, const Model::StartConversationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartConversationResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String