AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/SageMakerMetricsWaiter.h>
14#include <aws/sagemaker-metrics/SageMakerMetrics_EXPORTS.h>
15
16namespace Aws {
17namespace SageMakerMetrics {
25class AWS_SAGEMAKERMETRICS_API SageMakerMetricsClient : public Aws::Client::AWSJsonClient,
26 public Aws::Client::ClientWithAsyncTemplateMethods<SageMakerMetricsClient>,
27 public SageMakerMetricsPaginationBase<SageMakerMetricsClient>,
28 public SageMakerMetricsWaiter<SageMakerMetricsClient> {
29 public:
31 static const char* GetServiceName();
32 static const char* GetAllocationTag();
33
36
43 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr);
44
50 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
53
58 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
59 std::shared_ptr<SageMakerMetricsEndpointProviderBase> endpointProvider = nullptr,
62
63 /* Legacy constructors due deprecation */
69
75
80 SageMakerMetricsClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
81 const Aws::Client::ClientConfiguration& clientConfiguration);
82
83 /* End of legacy constructors due deprecation */
85
93
97 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
98 Model::BatchGetMetricsOutcomeCallable BatchGetMetricsCallable(const BatchGetMetricsRequestT& request) const {
99 return SubmitCallable(&SageMakerMetricsClient::BatchGetMetrics, request);
100 }
101
106 template <typename BatchGetMetricsRequestT = Model::BatchGetMetricsRequest>
107 void BatchGetMetricsAsync(const BatchGetMetricsRequestT& request, const BatchGetMetricsResponseReceivedHandler& handler,
108 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
109 return SubmitAsync(&SageMakerMetricsClient::BatchGetMetrics, request, handler, context);
110 }
111
119
123 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
124 Model::BatchPutMetricsOutcomeCallable BatchPutMetricsCallable(const BatchPutMetricsRequestT& request) const {
125 return SubmitCallable(&SageMakerMetricsClient::BatchPutMetrics, request);
126 }
127
132 template <typename BatchPutMetricsRequestT = Model::BatchPutMetricsRequest>
133 void BatchPutMetricsAsync(const BatchPutMetricsRequestT& request, const BatchPutMetricsResponseReceivedHandler& handler,
134 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const {
135 return SubmitAsync(&SageMakerMetricsClient::BatchPutMetrics, request, handler, context);
136 }
137
138 virtual void OverrideEndpoint(const Aws::String& endpoint);
139 virtual std::shared_ptr<SageMakerMetricsEndpointProviderBase>& accessEndpointProvider();
140
141 private:
143 void init(const SageMakerMetricsClientConfiguration& clientConfiguration);
144
146
147 InvokeOperationOutcome InvokeServiceOperation(const AmazonWebServiceRequest& request,
148 const std::function<void(Aws::Endpoint::ResolveEndpointOutcome&)>& resolveUri,
149 Aws::Http::HttpMethod httpMethod) const;
150
151 SageMakerMetricsClientConfiguration m_clientConfiguration;
152 std::shared_ptr<SageMakerMetricsEndpointProviderBase> m_endpointProvider;
153};
154
155} // namespace SageMakerMetrics
156} // 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