AWS SDK for C++  1.9.66
AWS SDK for C++
AugmentedAIRuntimeClient.h
Go to the documentation of this file.
1 
6 #pragma once
21 #include <future>
22 #include <functional>
23 
24 namespace Aws
25 {
26 
27 namespace Http
28 {
29  class HttpClient;
30  class HttpClientFactory;
31 } // namespace Http
32 
33 namespace Utils
34 {
35  template< typename R, typename E> class Outcome;
36 namespace Threading
37 {
38  class Executor;
39 } // namespace Threading
40 } // namespace Utils
41 
42 namespace Auth
43 {
44  class AWSCredentials;
45  class AWSCredentialsProvider;
46 } // namespace Auth
47 
48 namespace Client
49 {
50  class RetryStrategy;
51 } // namespace Client
52 
53 namespace AugmentedAIRuntime
54 {
55 
56 namespace Model
57 {
63 
69 
70  typedef std::future<DeleteHumanLoopOutcome> DeleteHumanLoopOutcomeCallable;
71  typedef std::future<DescribeHumanLoopOutcome> DescribeHumanLoopOutcomeCallable;
72  typedef std::future<ListHumanLoopsOutcome> ListHumanLoopsOutcomeCallable;
73  typedef std::future<StartHumanLoopOutcome> StartHumanLoopOutcomeCallable;
74  typedef std::future<StopHumanLoopOutcome> StopHumanLoopOutcomeCallable;
75 } // namespace Model
76 
78 
79  typedef std::function<void(const AugmentedAIRuntimeClient*, const Model::DeleteHumanLoopRequest&, const Model::DeleteHumanLoopOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteHumanLoopResponseReceivedHandler;
80  typedef std::function<void(const AugmentedAIRuntimeClient*, const Model::DescribeHumanLoopRequest&, const Model::DescribeHumanLoopOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeHumanLoopResponseReceivedHandler;
81  typedef std::function<void(const AugmentedAIRuntimeClient*, const Model::ListHumanLoopsRequest&, const Model::ListHumanLoopsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListHumanLoopsResponseReceivedHandler;
82  typedef std::function<void(const AugmentedAIRuntimeClient*, const Model::StartHumanLoopRequest&, const Model::StartHumanLoopOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StartHumanLoopResponseReceivedHandler;
83  typedef std::function<void(const AugmentedAIRuntimeClient*, const Model::StopHumanLoopRequest&, const Model::StopHumanLoopOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopHumanLoopResponseReceivedHandler;
84 
117  {
118  public:
120 
126 
132 
137  AugmentedAIRuntimeClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
139 
141 
142 
151 
162 
172  virtual void DeleteHumanLoopAsync(const Model::DeleteHumanLoopRequest& request, const DeleteHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
173 
182 
193 
203  virtual void DescribeHumanLoopAsync(const Model::DescribeHumanLoopRequest& request, const DescribeHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
204 
212 
222 
231  virtual void ListHumanLoopsAsync(const Model::ListHumanLoopsRequest& request, const ListHumanLoopsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
232 
240 
250 
259  virtual void StartHumanLoopAsync(const Model::StartHumanLoopRequest& request, const StartHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
260 
267 
276 
284  virtual void StopHumanLoopAsync(const Model::StopHumanLoopRequest& request, const StopHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
285 
286 
287  void OverrideEndpoint(const Aws::String& endpoint);
288  private:
289  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
290  void DeleteHumanLoopAsyncHelper(const Model::DeleteHumanLoopRequest& request, const DeleteHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
291  void DescribeHumanLoopAsyncHelper(const Model::DescribeHumanLoopRequest& request, const DescribeHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
292  void ListHumanLoopsAsyncHelper(const Model::ListHumanLoopsRequest& request, const ListHumanLoopsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
293  void StartHumanLoopAsyncHelper(const Model::StartHumanLoopRequest& request, const StartHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
294  void StopHumanLoopAsyncHelper(const Model::StopHumanLoopRequest& request, const StopHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
295 
296  Aws::String m_uri;
297  Aws::String m_configScheme;
298  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
299  };
300 
301 } // namespace AugmentedAIRuntime
302 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
AugmentedAIRuntime_EXPORTS.h
DeleteHumanLoopResult.h
Aws::AugmentedAIRuntime::StartHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::StartHumanLoopRequest &, const Model::StartHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartHumanLoopResponseReceivedHandler
Definition: AugmentedAIRuntimeClient.h:82
AWSError.h
Aws::AugmentedAIRuntime::Model::DescribeHumanLoopRequest
Definition: DescribeHumanLoopRequest.h:22
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DescribeHumanLoopAsync
virtual void DescribeHumanLoopAsync(const Model::DescribeHumanLoopRequest &request, const DescribeHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::AugmentedAIRuntime::Model::StartHumanLoopRequest
Definition: StartHumanLoopRequest.h:24
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StartHumanLoop
virtual Model::StartHumanLoopOutcome StartHumanLoop(const Model::StartHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StopHumanLoopAsync
virtual void StopHumanLoopAsync(const Model::StopHumanLoopRequest &request, const StopHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::ListHumanLoopsAsync
virtual void ListHumanLoopsAsync(const Model::ListHumanLoopsRequest &request, const ListHumanLoopsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::AugmentedAIRuntime::DeleteHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::DeleteHumanLoopRequest &, const Model::DeleteHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteHumanLoopResponseReceivedHandler
Definition: AugmentedAIRuntimeClient.h:77
Aws::AugmentedAIRuntime::Model::DeleteHumanLoopOutcomeCallable
std::future< DeleteHumanLoopOutcome > DeleteHumanLoopOutcomeCallable
Definition: AugmentedAIRuntimeClient.h:70
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::AugmentedAIRuntimeClient
AugmentedAIRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
AsyncCallerContext.h
Aws::AugmentedAIRuntime::Model::DeleteHumanLoopOutcome
Aws::Utils::Outcome< DeleteHumanLoopResult, AugmentedAIRuntimeError > DeleteHumanLoopOutcome
Definition: AugmentedAIRuntimeClient.h:62
Aws::AugmentedAIRuntime::StopHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::StopHumanLoopRequest &, const Model::StopHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopHumanLoopResponseReceivedHandler
Definition: AugmentedAIRuntimeClient.h:83
Aws::AugmentedAIRuntime::DescribeHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::DescribeHumanLoopRequest &, const Model::DescribeHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeHumanLoopResponseReceivedHandler
Definition: AugmentedAIRuntimeClient.h:80
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StartHumanLoopCallable
virtual Model::StartHumanLoopOutcomeCallable StartHumanLoopCallable(const Model::StartHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::Model::DescribeHumanLoopOutcome
Aws::Utils::Outcome< DescribeHumanLoopResult, AugmentedAIRuntimeError > DescribeHumanLoopOutcome
Definition: AugmentedAIRuntimeClient.h:65
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::AugmentedAIRuntime::Model::StopHumanLoopRequest
Definition: StopHumanLoopRequest.h:22
Aws::AugmentedAIRuntime::Model::StopHumanLoopOutcome
Aws::Utils::Outcome< StopHumanLoopResult, AugmentedAIRuntimeError > StopHumanLoopOutcome
Definition: AugmentedAIRuntimeClient.h:68
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DescribeHumanLoop
virtual Model::DescribeHumanLoopOutcome DescribeHumanLoop(const Model::DescribeHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::AugmentedAIRuntimeClient
AugmentedAIRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::AugmentedAIRuntime::Model::ListHumanLoopsOutcomeCallable
std::future< ListHumanLoopsOutcome > ListHumanLoopsOutcomeCallable
Definition: AugmentedAIRuntimeClient.h:72
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::AugmentedAIRuntimeClient
AugmentedAIRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
AugmentedAIRuntimeErrors.h
StopHumanLoopResult.h
AWSString.h
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DescribeHumanLoopCallable
virtual Model::DescribeHumanLoopOutcomeCallable DescribeHumanLoopCallable(const Model::DescribeHumanLoopRequest &request) const
Aws::Client::AWSJsonClient
Definition: AWSClient.h:323
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DeleteHumanLoopAsync
virtual void DeleteHumanLoopAsync(const Model::DeleteHumanLoopRequest &request, const DeleteHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DeleteHumanLoopCallable
virtual Model::DeleteHumanLoopOutcomeCallable DeleteHumanLoopCallable(const Model::DeleteHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::Model::ListHumanLoopsRequest
Definition: ListHumanLoopsRequest.h:28
ClientConfiguration.h
Aws::AugmentedAIRuntime::Model::DescribeHumanLoopOutcomeCallable
std::future< DescribeHumanLoopOutcome > DescribeHumanLoopOutcomeCallable
Definition: AugmentedAIRuntimeClient.h:71
Aws::AugmentedAIRuntime::Model::StartHumanLoopOutcomeCallable
std::future< StartHumanLoopOutcome > StartHumanLoopOutcomeCallable
Definition: AugmentedAIRuntimeClient.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient
Definition: AugmentedAIRuntimeClient.h:117
HttpTypes.h
AWS_AUGMENTEDAIRUNTIME_API
#define AWS_AUGMENTEDAIRUNTIME_API
Definition: AugmentedAIRuntime_EXPORTS.h:28
Aws::AugmentedAIRuntime::Model::DeleteHumanLoopRequest
Definition: DeleteHumanLoopRequest.h:22
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::~AugmentedAIRuntimeClient
virtual ~AugmentedAIRuntimeClient()
Aws::Utils::Outcome
Definition: Outcome.h:26
StartHumanLoopResult.h
DescribeHumanLoopResult.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::BASECLASS
Aws::Client::AWSJsonClient BASECLASS
Definition: AugmentedAIRuntimeClient.h:119
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StopHumanLoopCallable
virtual Model::StopHumanLoopOutcomeCallable StopHumanLoopCallable(const Model::StopHumanLoopRequest &request) const
AWSClient.h
Aws::AugmentedAIRuntime::Model::ListHumanLoopsOutcome
Aws::Utils::Outcome< ListHumanLoopsResult, AugmentedAIRuntimeError > ListHumanLoopsOutcome
Definition: AugmentedAIRuntimeClient.h:66
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StopHumanLoop
virtual Model::StopHumanLoopOutcome StopHumanLoop(const Model::StopHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::ListHumanLoopsResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::ListHumanLoopsRequest &, const Model::ListHumanLoopsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListHumanLoopsResponseReceivedHandler
Definition: AugmentedAIRuntimeClient.h:81
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::DeleteHumanLoop
virtual Model::DeleteHumanLoopOutcome DeleteHumanLoop(const Model::DeleteHumanLoopRequest &request) const
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::StartHumanLoopAsync
virtual void StartHumanLoopAsync(const Model::StartHumanLoopRequest &request, const StartHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
ListHumanLoopsResult.h
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::ListHumanLoopsCallable
virtual Model::ListHumanLoopsOutcomeCallable ListHumanLoopsCallable(const Model::ListHumanLoopsRequest &request) const
Aws::AugmentedAIRuntime::Model::StopHumanLoopOutcomeCallable
std::future< StopHumanLoopOutcome > StopHumanLoopOutcomeCallable
Definition: AugmentedAIRuntimeClient.h:74
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::OverrideEndpoint
void OverrideEndpoint(const Aws::String &endpoint)
JsonSerializer.h
Aws::AugmentedAIRuntime::Model::StartHumanLoopOutcome
Aws::Utils::Outcome< StartHumanLoopResult, AugmentedAIRuntimeError > StartHumanLoopOutcome
Definition: AugmentedAIRuntimeClient.h:67
Aws::AugmentedAIRuntime::AugmentedAIRuntimeClient::ListHumanLoops
virtual Model::ListHumanLoopsOutcome ListHumanLoops(const Model::ListHumanLoopsRequest &request) const