AWS SDK for C++

AWS SDK for C++ Version 1.11.760

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/SageMakerMetricsPaginationBase.h>
12#include <aws/sagemaker-metrics/SageMakerMetricsServiceClientModel.h>
13#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
14
15namespace Aws {
16namespace SageMakerMetrics {
24class AWS_SAGEMAKERMETRICS_API SageMakerMetricsClient : public Aws::Client::AWSJsonClient,
25 public Aws::Client::ClientWithAsyncTemplateMethods<SageMakerMetricsClient>,
26 public SageMakerMetricsPaginationBase<SageMakerMetricsClient> {
27 public:
29 static const char* GetServiceName();
30 static const char* GetAllocationTag();
31
34
41 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr);
42
48 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
51
56 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
57 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
60
61 /* Legacy constructors due deprecation */
67
73
78 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
79 const Aws::Client::ClientConfiguration& clientConfiguration);
80
81 /* End of legacy constructors due deprecation */
83
91
95 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
96 Model::BatchGetMetricsOutcomeCallable BatchGetMetricsCallable(const BatchGetMetricsRequestT& request) const {
97 return SubmitCallable(&SageMakerMetricsClient::BatchGetMetrics, request);
98 }
99
104 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
105 void BatchGetMetricsAsync(const BatchGetMetricsRequestT& request, const BatchGetMetricsResponseReceivedHandler& handler,
106 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
107 return SubmitAsync(&SageMakerMetricsClient::BatchGetMetrics, request, handler, context);
108 }
109
117
121 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
122 Model::BatchPutMetricsOutcomeCallable BatchPutMetricsCallable(const BatchPutMetricsRequestT& request) const {
123 return SubmitCallable(&SageMakerMetricsClient::BatchPutMetrics, request);
124 }
125
130 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
131 void BatchPutMetricsAsync(const BatchPutMetricsRequestT& request, const BatchPutMetricsResponseReceivedHandler& handler,
132 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
133 return SubmitAsync(&SageMakerMetricsClient::BatchPutMetrics, request, handler, context);
134 }
135
136 virtual void OverrideEndpoint(const Aws::String& endpoint);
137 virtual std::shared_ptr<SageMakerMetricsEndpointProviderBase>& accessEndpointProvider();
138
139 private:
141 void init(const SageMakerMetricsClientConfiguration& clientConfiguration);
142
143 SageMakerMetricsClientConfiguration m_clientConfiguration;
144 std::shared_ptr<SageMakerMetricsEndpointProviderBase> m_endpointProvider;
145};
146
147} // namespace SageMakerMetrics
148} // namespace Aws
SageMakerMetricsEndpointProvider EndpointProviderType
virtual void OverrideEndpoint(const Aws::String &endpoint)
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)
virtual std::shared_ptr< SageMakerMetricsEndpointProviderBase > & accessEndpointProvider()
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)
SageMakerMetricsClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SageMakerMetricsEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration &clientConfiguration=Aws::SageMakerMetrics::SageMakerMetricsClientConfiguration())
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