AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SageMakerMetricsClient.h
1
6#pragma once
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>
13
14namespace Aws {
15namespace SageMakerMetrics {
23class AWS_SAGEMAKERMETRICS_API SageMakerMetricsClient : public Aws::Client::AWSJsonClient,
24 public Aws::Client::ClientWithAsyncTemplateMethods<SageMakerMetricsClient> {
25 public:
27 static const char* GetServiceName();
28 static const char* GetAllocationTag();
29
32
39 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr);
40
46 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
49
54 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
55 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
58
59 /* Legacy constructors due deprecation */
65
71
76 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
77 const Aws::Client::ClientConfiguration& clientConfiguration);
78
79 /* End of legacy constructors due deprecation */
81
89
93 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
94 Model::BatchGetMetricsOutcomeCallable BatchGetMetricsCallable(const BatchGetMetricsRequestT& request) const {
95 return SubmitCallable(&SageMakerMetricsClient::BatchGetMetrics, request);
96 }
97
102 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
103 void BatchGetMetricsAsync(const BatchGetMetricsRequestT& request, const BatchGetMetricsResponseReceivedHandler& handler,
104 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
105 return SubmitAsync(&SageMakerMetricsClient::BatchGetMetrics, request, handler, context);
106 }
107
115
119 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
120 Model::BatchPutMetricsOutcomeCallable BatchPutMetricsCallable(const BatchPutMetricsRequestT& request) const {
121 return SubmitCallable(&SageMakerMetricsClient::BatchPutMetrics, request);
122 }
123
128 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
129 void BatchPutMetricsAsync(const BatchPutMetricsRequestT& request, const BatchPutMetricsResponseReceivedHandler& handler,
130 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
131 return SubmitAsync(&SageMakerMetricsClient::BatchPutMetrics, request, handler, context);
132 }
133
134 void OverrideEndpoint(const Aws::String& endpoint);
135 std::shared_ptr<SageMakerMetricsEndpointProviderBase>& accessEndpointProvider();
136
137 private:
139 void init(const SageMakerMetricsClientConfiguration& clientConfiguration);
140
141 SageMakerMetricsClientConfiguration m_clientConfiguration;
142 std::shared_ptr<SageMakerMetricsEndpointProviderBase> m_endpointProvider;
143};
144
145} // namespace SageMakerMetrics
146} // 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::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