AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SageMakerMetricsClient.h
1
6#pragma once
7#include <aws/sagemaker-metrics/SageMakerMetrics_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-metrics/SageMakerMetricsServiceClientModel.h>
13
14namespace Aws
15{
16namespace SageMakerMetrics
17{
25 class AWS_SAGEMAKERMETRICS_API SageMakerMetricsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<SageMakerMetricsClient>
26 {
27 public:
29 static const char* GetServiceName();
30 static const char* GetAllocationTag();
31
34
40 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr);
41
47 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
49
54 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
55 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
57
58
59 /* Legacy constructors due deprecation */
65
71 const Aws::Client::ClientConfiguration& clientConfiguration);
72
77 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
78 const Aws::Client::ClientConfiguration& clientConfiguration);
79
80 /* End of legacy constructors due deprecation */
82
90
94 template<typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
95 Model::BatchGetMetricsOutcomeCallable BatchGetMetricsCallable(const BatchGetMetricsRequestT& request) const
96 {
97 return SubmitCallable(&SageMakerMetricsClient::BatchGetMetrics, request);
98 }
99
103 template<typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
104 void BatchGetMetricsAsync(const BatchGetMetricsRequestT& request, const BatchGetMetricsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
105 {
106 return SubmitAsync(&SageMakerMetricsClient::BatchGetMetrics, request, handler, context);
107 }
108
116
120 template<typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
121 Model::BatchPutMetricsOutcomeCallable BatchPutMetricsCallable(const BatchPutMetricsRequestT& request) const
122 {
123 return SubmitCallable(&SageMakerMetricsClient::BatchPutMetrics, request);
124 }
125
129 template<typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
130 void BatchPutMetricsAsync(const BatchPutMetricsRequestT& request, const BatchPutMetricsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
131 {
132 return SubmitAsync(&SageMakerMetricsClient::BatchPutMetrics, request, handler, context);
133 }
134
135
136 void OverrideEndpoint(const Aws::String& endpoint);
137 std::shared_ptr<SageMakerMetricsEndpointProviderBase>& accessEndpointProvider();
138 private:
140 void init(const SageMakerMetricsClientConfiguration& clientConfiguration);
141
142 SageMakerMetricsClientConfiguration m_clientConfiguration;
143 std::shared_ptr<SageMakerMetricsEndpointProviderBase> m_endpointProvider;
144 };
145
146} // namespace SageMakerMetrics
147} // namespace Aws
SageMakerMetricsEndpointProvider EndpointProviderType
SageMakerMetricsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
SageMakerMetricsClientConfiguration ClientConfigurationType
SageMakerMetricsClient(const Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration &clientConfiguration=Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration(), std::shared_ptr< SageMakerMetricsEndpointProviderBase > endpointProvider=nullptr)
virtual Model::BatchGetMetricsOutcome BatchGetMetrics(const Model::BatchGetMetricsRequest &request) const
void BatchPutMetricsAsync(const BatchPutMetricsRequestT &request, const BatchPutMetricsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::BatchGetMetricsOutcomeCallable BatchGetMetricsCallable(const BatchGetMetricsRequestT &request) const
SageMakerMetricsClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SageMakerMetricsEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration &clientConfiguration=Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration())
Model::BatchPutMetricsOutcomeCallable BatchPutMetricsCallable(const BatchPutMetricsRequestT &request) const
SageMakerMetricsClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void BatchGetMetricsAsync(const BatchGetMetricsRequestT &request, const BatchGetMetricsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::BatchPutMetricsOutcome BatchPutMetrics(const Model::BatchPutMetricsRequest &request) const
SageMakerMetricsClient(const Aws::Client::ClientConfiguration &clientConfiguration)
void OverrideEndpoint(const Aws::String &endpoint)
SageMakerMetricsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SageMakerMetricsEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration &clientConfiguration=Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration())
std::shared_ptr< SageMakerMetricsEndpointProviderBase > & accessEndpointProvider()
std::future< BatchPutMetricsOutcome > BatchPutMetricsOutcomeCallable
std::future< BatchGetMetricsOutcome > BatchGetMetricsOutcomeCallable
std::function< void(const SageMakerMetricsClient *, const Model::BatchGetMetricsRequest &, const Model::BatchGetMetricsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchGetMetricsResponseReceivedHandler
std::function< void(const SageMakerMetricsClient *, const Model::BatchPutMetricsRequest &, const Model::BatchPutMetricsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchPutMetricsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String