7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/sagemaker-metrics/SageMakerMetricsServiceClientModel.h>
12#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
15namespace SageMakerMetrics {
39 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider =
nullptr);
46 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider =
nullptr,
55 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider =
nullptr,
93 template <
typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
95 return SubmitCallable(&SageMakerMetricsClient::BatchGetMetrics, request);
102 template <
typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
104 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
105 return SubmitAsync(&SageMakerMetricsClient::BatchGetMetrics, request, handler, context);
119 template <
typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
121 return SubmitCallable(&SageMakerMetricsClient::BatchPutMetrics, request);
128 template <
typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
130 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
131 return SubmitAsync(&SageMakerMetricsClient::BatchPutMetrics, request, handler, context);
142 std::shared_ptr<SageMakerMetricsEndpointProviderBase> m_endpointProvider;
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)
static const char * GetAllocationTag()
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)
virtual ~SageMakerMetricsClient()
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())
Aws::Client::AWSJsonClient BASECLASS
static const char * GetServiceName()
std::shared_ptr< SageMakerMetricsEndpointProviderBase > & accessEndpointProvider()
std::future< BatchPutMetricsOutcome > BatchPutMetricsOutcomeCallable
std::future< BatchGetMetricsOutcome > BatchGetMetricsOutcomeCallable
std::function< void(const SageMakerMetricsClient *, const Model::BatchPutMetricsRequest &, const Model::BatchPutMetricsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> BatchPutMetricsResponseReceivedHandler
std::function< void(const SageMakerMetricsClient *, const Model::BatchGetMetricsRequest &, const Model::BatchGetMetricsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> BatchGetMetricsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String