AWS SDK for C++  1.9.126
AWS SDK for C++
SageMakerFeatureStoreRuntimeClient.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <aws/core/NoResult.h>
19 #include <future>
20 #include <functional>
21 
22 namespace Aws
23 {
24 
25 namespace Http
26 {
27  class HttpClient;
28  class HttpClientFactory;
29 } // namespace Http
30 
31 namespace Utils
32 {
33  template< typename R, typename E> class Outcome;
34 namespace Threading
35 {
36  class Executor;
37 } // namespace Threading
38 } // namespace Utils
39 
40 namespace Auth
41 {
42  class AWSCredentials;
43  class AWSCredentialsProvider;
44 } // namespace Auth
45 
46 namespace Client
47 {
48  class RetryStrategy;
49 } // namespace Client
50 
51 namespace SageMakerFeatureStoreRuntime
52 {
53 
54 namespace Model
55 {
56  class BatchGetRecordRequest;
57  class DeleteRecordRequest;
58  class GetRecordRequest;
59  class PutRecordRequest;
60 
65 
66  typedef std::future<BatchGetRecordOutcome> BatchGetRecordOutcomeCallable;
67  typedef std::future<DeleteRecordOutcome> DeleteRecordOutcomeCallable;
68  typedef std::future<GetRecordOutcome> GetRecordOutcomeCallable;
69  typedef std::future<PutRecordOutcome> PutRecordOutcomeCallable;
70 } // namespace Model
71 
73 
74  typedef std::function<void(const SageMakerFeatureStoreRuntimeClient*, const Model::BatchGetRecordRequest&, const Model::BatchGetRecordOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BatchGetRecordResponseReceivedHandler;
75  typedef std::function<void(const SageMakerFeatureStoreRuntimeClient*, const Model::DeleteRecordRequest&, const Model::DeleteRecordOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteRecordResponseReceivedHandler;
76  typedef std::function<void(const SageMakerFeatureStoreRuntimeClient*, const Model::GetRecordRequest&, const Model::GetRecordOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetRecordResponseReceivedHandler;
77  typedef std::function<void(const SageMakerFeatureStoreRuntimeClient*, const Model::PutRecordRequest&, const Model::PutRecordOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutRecordResponseReceivedHandler;
78 
95  {
96  public:
98 
104 
110 
115  SageMakerFeatureStoreRuntimeClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
117 
119 
120 
128 
138 
147  virtual void BatchGetRecordAsync(const Model::BatchGetRecordRequest& request, const BatchGetRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
148 
158 
170 
181  virtual void DeleteRecordAsync(const Model::DeleteRecordRequest& request, const DeleteRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
182 
192 
204 
215  virtual void GetRecordAsync(const Model::GetRecordRequest& request, const GetRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
216 
229 
244 
258  virtual void PutRecordAsync(const Model::PutRecordRequest& request, const PutRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
259 
260 
261  void OverrideEndpoint(const Aws::String& endpoint);
262  private:
263  void init(const Aws::Client::ClientConfiguration& clientConfiguration);
264  void BatchGetRecordAsyncHelper(const Model::BatchGetRecordRequest& request, const BatchGetRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
265  void DeleteRecordAsyncHelper(const Model::DeleteRecordRequest& request, const DeleteRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
266  void GetRecordAsyncHelper(const Model::GetRecordRequest& request, const GetRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
267  void PutRecordAsyncHelper(const Model::PutRecordRequest& request, const PutRecordResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
268 
269  Aws::String m_uri;
270  Aws::String m_configScheme;
271  std::shared_ptr<Aws::Utils::Threading::Executor> m_executor;
272  };
273 
274 } // namespace SageMakerFeatureStoreRuntime
275 } // namespace Aws
Aws::DirectoryService::Model::LDAPSType::NOT_SET
@ NOT_SET
AWSError.h
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::SageMakerFeatureStoreRuntimeClient
SageMakerFeatureStoreRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordOutcome
Aws::Utils::Outcome< BatchGetRecordResult, SageMakerFeatureStoreRuntimeError > BatchGetRecordOutcome
Definition: SageMakerFeatureStoreRuntimeClient.h:59
Aws::SageMakerFeatureStoreRuntime::Model::DeleteRecordOutcomeCallable
std::future< DeleteRecordOutcome > DeleteRecordOutcomeCallable
Definition: SageMakerFeatureStoreRuntimeClient.h:67
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::BASECLASS
Aws::Client::AWSJsonClient BASECLASS
Definition: SageMakerFeatureStoreRuntimeClient.h:97
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordOutcomeCallable
std::future< BatchGetRecordOutcome > BatchGetRecordOutcomeCallable
Definition: SageMakerFeatureStoreRuntimeClient.h:66
AsyncCallerContext.h
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::~SageMakerFeatureStoreRuntimeClient
virtual ~SageMakerFeatureStoreRuntimeClient()
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::PutRecordCallable
virtual Model::PutRecordOutcomeCallable PutRecordCallable(const Model::PutRecordRequest &request) const
Aws::SageMakerFeatureStoreRuntime::GetRecordResponseReceivedHandler
std::function< void(const SageMakerFeatureStoreRuntimeClient *, const Model::GetRecordRequest &, const Model::GetRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRecordResponseReceivedHandler
Definition: SageMakerFeatureStoreRuntimeClient.h:76
SageMakerFeatureStoreRuntime_EXPORTS.h
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::GetRecordAsync
virtual void GetRecordAsync(const Model::GetRecordRequest &request, const GetRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
NoResult.h
Aws::SageMakerFeatureStoreRuntime::BatchGetRecordResponseReceivedHandler
std::function< void(const SageMakerFeatureStoreRuntimeClient *, const Model::BatchGetRecordRequest &, const Model::BatchGetRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchGetRecordResponseReceivedHandler
Definition: SageMakerFeatureStoreRuntimeClient.h:72
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordRequest
Definition: BatchGetRecordRequest.h:23
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::PutRecordAsync
virtual void PutRecordAsync(const Model::PutRecordRequest &request, const PutRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::Client::ClientConfiguration
Definition: ClientConfiguration.h:53
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::SageMakerFeatureStoreRuntimeClient
SageMakerFeatureStoreRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::DeleteRecordAsync
virtual void DeleteRecordAsync(const Model::DeleteRecordRequest &request, const DeleteRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Aws::SageMakerFeatureStoreRuntime::Model::DeleteRecordRequest
Definition: DeleteRecordRequest.h:26
Aws::SageMakerFeatureStoreRuntime::DeleteRecordResponseReceivedHandler
std::function< void(const SageMakerFeatureStoreRuntimeClient *, const Model::DeleteRecordRequest &, const Model::DeleteRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteRecordResponseReceivedHandler
Definition: SageMakerFeatureStoreRuntimeClient.h:75
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient
Definition: SageMakerFeatureStoreRuntimeClient.h:95
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::GetRecord
virtual Model::GetRecordOutcome GetRecord(const Model::GetRecordRequest &request) const
Aws::SageMakerFeatureStoreRuntime::Model::PutRecordRequest
Definition: PutRecordRequest.h:24
Aws::Auth::AWSCredentials
Definition: AWSCredentials.h:19
Aws::SageMakerFeatureStoreRuntime::Model::PutRecordOutcomeCallable
std::future< PutRecordOutcome > PutRecordOutcomeCallable
Definition: SageMakerFeatureStoreRuntimeClient.h:69
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::GetRecordCallable
virtual Model::GetRecordOutcomeCallable GetRecordCallable(const Model::GetRecordRequest &request) const
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::BatchGetRecord
virtual Model::BatchGetRecordOutcome BatchGetRecord(const Model::BatchGetRecordRequest &request) const
AWSString.h
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest
Definition: GetRecordRequest.h:27
BatchGetRecordResult.h
SageMakerFeatureStoreRuntimeErrors.h
Aws::Client::AWSJsonClient
Definition: AWSClient.h:338
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::BatchGetRecordCallable
virtual Model::BatchGetRecordOutcomeCallable BatchGetRecordCallable(const Model::BatchGetRecordRequest &request) const
Aws::SageMakerFeatureStoreRuntime::Model::PutRecordOutcome
Aws::Utils::Outcome< Aws::NoResult, SageMakerFeatureStoreRuntimeError > PutRecordOutcome
Definition: SageMakerFeatureStoreRuntimeClient.h:64
AWS_SAGEMAKERFEATURESTORERUNTIME_API
#define AWS_SAGEMAKERFEATURESTORERUNTIME_API
Definition: SageMakerFeatureStoreRuntime_EXPORTS.h:28
ClientConfiguration.h
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::OverrideEndpoint
void OverrideEndpoint(const Aws::String &endpoint)
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::DeleteRecordCallable
virtual Model::DeleteRecordOutcomeCallable DeleteRecordCallable(const Model::DeleteRecordRequest &request) const
Aws
Definition: AccessManagementClient.h:15
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::BatchGetRecordAsync
virtual void BatchGetRecordAsync(const Model::BatchGetRecordRequest &request, const BatchGetRecordResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
HttpTypes.h
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordOutcome
Aws::Utils::Outcome< GetRecordResult, SageMakerFeatureStoreRuntimeError > GetRecordOutcome
Definition: SageMakerFeatureStoreRuntimeClient.h:63
Aws::Utils::Outcome
Definition: Outcome.h:26
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::PutRecord
virtual Model::PutRecordOutcome PutRecord(const Model::PutRecordRequest &request) const
GetRecordResult.h
Aws::SageMakerFeatureStoreRuntime::PutRecordResponseReceivedHandler
std::function< void(const SageMakerFeatureStoreRuntimeClient *, const Model::PutRecordRequest &, const Model::PutRecordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutRecordResponseReceivedHandler
Definition: SageMakerFeatureStoreRuntimeClient.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordOutcomeCallable
std::future< GetRecordOutcome > GetRecordOutcomeCallable
Definition: SageMakerFeatureStoreRuntimeClient.h:68
AWSClient.h
Aws::SageMakerFeatureStoreRuntime::Model::DeleteRecordOutcome
Aws::Utils::Outcome< Aws::NoResult, SageMakerFeatureStoreRuntimeError > DeleteRecordOutcome
Definition: SageMakerFeatureStoreRuntimeClient.h:62
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::DeleteRecord
virtual Model::DeleteRecordOutcome DeleteRecord(const Model::DeleteRecordRequest &request) const
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeClient::SageMakerFeatureStoreRuntimeClient
SageMakerFeatureStoreRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
JsonSerializer.h