AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AugmentedAIRuntimeClient.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_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/sagemaker-a2i-runtime/AugmentedAIRuntimeServiceClientModel.h>
13
14namespace Aws
15{
16namespace AugmentedAIRuntime
17{
49 class AWS_AUGMENTEDAIRUNTIME_API AugmentedAIRuntimeClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<AugmentedAIRuntimeClient>
50 {
51 public:
53 static const char* GetServiceName();
54 static const char* GetAllocationTag();
55
58
64 std::shared_ptr<AugmentedAIRuntimeEndpointProviderBase> endpointProvider = nullptr);
65
71 std::shared_ptr<AugmentedAIRuntimeEndpointProviderBase> endpointProvider = nullptr,
73
78 AugmentedAIRuntimeClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 std::shared_ptr<AugmentedAIRuntimeEndpointProviderBase> endpointProvider = nullptr,
81
82
83 /* Legacy constructors due deprecation */
89
95 const Aws::Client::ClientConfiguration& clientConfiguration);
96
101 AugmentedAIRuntimeClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
102 const Aws::Client::ClientConfiguration& clientConfiguration);
103
104 /* End of legacy constructors due deprecation */
106
115
119 template<typename DeleteHumanLoopRequestT = Model::DeleteHumanLoopRequest>
120 Model::DeleteHumanLoopOutcomeCallable DeleteHumanLoopCallable(const DeleteHumanLoopRequestT& request) const
121 {
122 return SubmitCallable(&AugmentedAIRuntimeClient::DeleteHumanLoop, request);
123 }
124
128 template<typename DeleteHumanLoopRequestT = Model::DeleteHumanLoopRequest>
129 void DeleteHumanLoopAsync(const DeleteHumanLoopRequestT& request, const DeleteHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
130 {
131 return SubmitAsync(&AugmentedAIRuntimeClient::DeleteHumanLoop, request, handler, context);
132 }
133
142
146 template<typename DescribeHumanLoopRequestT = Model::DescribeHumanLoopRequest>
147 Model::DescribeHumanLoopOutcomeCallable DescribeHumanLoopCallable(const DescribeHumanLoopRequestT& request) const
148 {
149 return SubmitCallable(&AugmentedAIRuntimeClient::DescribeHumanLoop, request);
150 }
151
155 template<typename DescribeHumanLoopRequestT = Model::DescribeHumanLoopRequest>
156 void DescribeHumanLoopAsync(const DescribeHumanLoopRequestT& request, const DescribeHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
157 {
158 return SubmitAsync(&AugmentedAIRuntimeClient::DescribeHumanLoop, request, handler, context);
159 }
160
168
172 template<typename ListHumanLoopsRequestT = Model::ListHumanLoopsRequest>
173 Model::ListHumanLoopsOutcomeCallable ListHumanLoopsCallable(const ListHumanLoopsRequestT& request) const
174 {
175 return SubmitCallable(&AugmentedAIRuntimeClient::ListHumanLoops, request);
176 }
177
181 template<typename ListHumanLoopsRequestT = Model::ListHumanLoopsRequest>
182 void ListHumanLoopsAsync(const ListHumanLoopsRequestT& request, const ListHumanLoopsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
183 {
184 return SubmitAsync(&AugmentedAIRuntimeClient::ListHumanLoops, request, handler, context);
185 }
186
194
198 template<typename StartHumanLoopRequestT = Model::StartHumanLoopRequest>
199 Model::StartHumanLoopOutcomeCallable StartHumanLoopCallable(const StartHumanLoopRequestT& request) const
200 {
201 return SubmitCallable(&AugmentedAIRuntimeClient::StartHumanLoop, request);
202 }
203
207 template<typename StartHumanLoopRequestT = Model::StartHumanLoopRequest>
208 void StartHumanLoopAsync(const StartHumanLoopRequestT& request, const StartHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
209 {
210 return SubmitAsync(&AugmentedAIRuntimeClient::StartHumanLoop, request, handler, context);
211 }
212
219
223 template<typename StopHumanLoopRequestT = Model::StopHumanLoopRequest>
224 Model::StopHumanLoopOutcomeCallable StopHumanLoopCallable(const StopHumanLoopRequestT& request) const
225 {
226 return SubmitCallable(&AugmentedAIRuntimeClient::StopHumanLoop, request);
227 }
228
232 template<typename StopHumanLoopRequestT = Model::StopHumanLoopRequest>
233 void StopHumanLoopAsync(const StopHumanLoopRequestT& request, const StopHumanLoopResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
234 {
235 return SubmitAsync(&AugmentedAIRuntimeClient::StopHumanLoop, request, handler, context);
236 }
237
238
239 void OverrideEndpoint(const Aws::String& endpoint);
240 std::shared_ptr<AugmentedAIRuntimeEndpointProviderBase>& accessEndpointProvider();
241 private:
243 void init(const AugmentedAIRuntimeClientConfiguration& clientConfiguration);
244
245 AugmentedAIRuntimeClientConfiguration m_clientConfiguration;
246 std::shared_ptr<AugmentedAIRuntimeEndpointProviderBase> m_endpointProvider;
247 };
248
249} // namespace AugmentedAIRuntime
250} // namespace Aws
void DescribeHumanLoopAsync(const DescribeHumanLoopRequestT &request, const DescribeHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AugmentedAIRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void DeleteHumanLoopAsync(const DeleteHumanLoopRequestT &request, const DeleteHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::StartHumanLoopOutcomeCallable StartHumanLoopCallable(const StartHumanLoopRequestT &request) const
void ListHumanLoopsAsync(const ListHumanLoopsRequestT &request, const ListHumanLoopsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AugmentedAIRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void StartHumanLoopAsync(const StartHumanLoopRequestT &request, const StartHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::ListHumanLoopsOutcomeCallable ListHumanLoopsCallable(const ListHumanLoopsRequestT &request) const
AugmentedAIRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< AugmentedAIRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration &clientConfiguration=Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration())
virtual Model::ListHumanLoopsOutcome ListHumanLoops(const Model::ListHumanLoopsRequest &request) const
Model::DescribeHumanLoopOutcomeCallable DescribeHumanLoopCallable(const DescribeHumanLoopRequestT &request) const
virtual Model::DescribeHumanLoopOutcome DescribeHumanLoop(const Model::DescribeHumanLoopRequest &request) const
AugmentedAIRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::DeleteHumanLoopOutcome DeleteHumanLoop(const Model::DeleteHumanLoopRequest &request) const
Model::StopHumanLoopOutcomeCallable StopHumanLoopCallable(const StopHumanLoopRequestT &request) const
Model::DeleteHumanLoopOutcomeCallable DeleteHumanLoopCallable(const DeleteHumanLoopRequestT &request) const
virtual Model::StopHumanLoopOutcome StopHumanLoop(const Model::StopHumanLoopRequest &request) const
AugmentedAIRuntimeClientConfiguration ClientConfigurationType
void StopHumanLoopAsync(const StopHumanLoopRequestT &request, const StopHumanLoopResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
AugmentedAIRuntimeClient(const Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration &clientConfiguration=Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration(), std::shared_ptr< AugmentedAIRuntimeEndpointProviderBase > endpointProvider=nullptr)
AugmentedAIRuntimeClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< AugmentedAIRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration &clientConfiguration=Aws::AugmentedAIRuntime::AugmentedAIRuntimeClientConfiguration())
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::StartHumanLoopOutcome StartHumanLoop(const Model::StartHumanLoopRequest &request) const
std::shared_ptr< AugmentedAIRuntimeEndpointProviderBase > & accessEndpointProvider()
std::future< ListHumanLoopsOutcome > ListHumanLoopsOutcomeCallable
std::future< DescribeHumanLoopOutcome > DescribeHumanLoopOutcomeCallable
std::future< DeleteHumanLoopOutcome > DeleteHumanLoopOutcomeCallable
std::future< StartHumanLoopOutcome > StartHumanLoopOutcomeCallable
std::future< StopHumanLoopOutcome > StopHumanLoopOutcomeCallable
std::function< void(const AugmentedAIRuntimeClient *, const Model::ListHumanLoopsRequest &, const Model::ListHumanLoopsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListHumanLoopsResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::StartHumanLoopRequest &, const Model::StartHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::DescribeHumanLoopRequest &, const Model::DescribeHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::DeleteHumanLoopRequest &, const Model::DeleteHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteHumanLoopResponseReceivedHandler
std::function< void(const AugmentedAIRuntimeClient *, const Model::StopHumanLoopRequest &, const Model::StopHumanLoopOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopHumanLoopResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String