AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LexRuntimeV2ServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/lexv2-runtime/LexRuntimeV2Errors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/lexv2-runtime/LexRuntimeV2EndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in LexRuntimeV2Client header */
21#include <aws/lexv2-runtime/model/DeleteSessionResult.h>
22#include <aws/lexv2-runtime/model/GetSessionResult.h>
23#include <aws/lexv2-runtime/model/PutSessionResult.h>
24#include <aws/lexv2-runtime/model/RecognizeTextResult.h>
25#include <aws/lexv2-runtime/model/RecognizeUtteranceResult.h>
26#include <aws/core/NoResult.h>
27/* End of service model headers required in LexRuntimeV2Client header */
28
29namespace Aws
30{
31 namespace Http
32 {
33 class HttpClient;
34 class HttpClientFactory;
35 } // namespace Http
36
37 namespace Utils
38 {
39 template< typename R, typename E> class Outcome;
40
41 namespace Event
42 {
43 class EventEncoderStream;
44 } // namespace Event
45
46 namespace Threading
47 {
48 class Executor;
49 } // namespace Threading
50 } // namespace Utils
51
52 namespace Auth
53 {
54 class AWSCredentials;
55 class AWSCredentialsProvider;
56 } // namespace Auth
57
58 namespace Client
59 {
60 class RetryStrategy;
61 } // namespace Client
62
63 namespace LexRuntimeV2
64 {
68
69 namespace Model
70 {
71 /* Service model forward declarations required in LexRuntimeV2Client header */
79 /* End of service model forward declarations required in LexRuntimeV2Client header */
80
81 /* Service model Outcome class definitions */
88 /* End of service model Outcome class definitions */
89
90 /* Service model Outcome callable definitions */
91 typedef std::future<DeleteSessionOutcome> DeleteSessionOutcomeCallable;
92 typedef std::future<GetSessionOutcome> GetSessionOutcomeCallable;
93 typedef std::future<PutSessionOutcome> PutSessionOutcomeCallable;
94 typedef std::future<RecognizeTextOutcome> RecognizeTextOutcomeCallable;
95 typedef std::future<RecognizeUtteranceOutcome> RecognizeUtteranceOutcomeCallable;
96 typedef std::future<StartConversationOutcome> StartConversationOutcomeCallable;
97 /* End of service model Outcome callable definitions */
98 } // namespace Model
99
100 class LexRuntimeV2Client;
101
102 /* Service model async handlers definitions */
103 typedef std::function<void(const LexRuntimeV2Client*, const Model::DeleteSessionRequest&, const Model::DeleteSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteSessionResponseReceivedHandler;
104 typedef std::function<void(const LexRuntimeV2Client*, const Model::GetSessionRequest&, const Model::GetSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSessionResponseReceivedHandler;
105 typedef std::function<void(const LexRuntimeV2Client*, const Model::PutSessionRequest&, Model::PutSessionOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutSessionResponseReceivedHandler;
106 typedef std::function<void(const LexRuntimeV2Client*, const Model::RecognizeTextRequest&, const Model::RecognizeTextOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RecognizeTextResponseReceivedHandler;
107 typedef std::function<void(const LexRuntimeV2Client*, const Model::RecognizeUtteranceRequest&, Model::RecognizeUtteranceOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RecognizeUtteranceResponseReceivedHandler;
109 typedef std::function<void(const LexRuntimeV2Client*, const Model::StartConversationRequest&, const Model::StartConversationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartConversationResponseReceivedHandler;
110 /* End of service model async handlers definitions */
111 } // namespace LexRuntimeV2
112} // namespace Aws
EndpointProviderBase< LexRuntimeV2ClientConfiguration, LexRuntimeV2BuiltInParameters, LexRuntimeV2ClientContextParameters > LexRuntimeV2EndpointProviderBase
Aws::Utils::Outcome< PutSessionResult, LexRuntimeV2Error > PutSessionOutcome
Aws::Utils::Outcome< GetSessionResult, LexRuntimeV2Error > GetSessionOutcome
std::future< GetSessionOutcome > GetSessionOutcomeCallable
std::future< RecognizeUtteranceOutcome > RecognizeUtteranceOutcomeCallable
Aws::Utils::Outcome< DeleteSessionResult, LexRuntimeV2Error > DeleteSessionOutcome
Aws::Utils::Outcome< RecognizeUtteranceResult, LexRuntimeV2Error > RecognizeUtteranceOutcome
std::future< DeleteSessionOutcome > DeleteSessionOutcomeCallable
std::future< RecognizeTextOutcome > RecognizeTextOutcomeCallable
std::future< StartConversationOutcome > StartConversationOutcomeCallable
std::future< PutSessionOutcome > PutSessionOutcomeCallable
Aws::Utils::Outcome< RecognizeTextResult, LexRuntimeV2Error > RecognizeTextOutcome
Aws::Utils::Outcome< Aws::NoResult, LexRuntimeV2Error > StartConversationOutcome
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