AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointPerformance.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/InferenceMetrics.h>
9#include <aws/sagemaker/model/EndpointInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API EndpointPerformance();
37 AWS_SAGEMAKER_API EndpointPerformance(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const InferenceMetrics& GetMetrics() const{ return m_metrics; }
47 inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; }
48 inline void SetMetrics(const InferenceMetrics& value) { m_metricsHasBeenSet = true; m_metrics = value; }
49 inline void SetMetrics(InferenceMetrics&& value) { m_metricsHasBeenSet = true; m_metrics = std::move(value); }
50 inline EndpointPerformance& WithMetrics(const InferenceMetrics& value) { SetMetrics(value); return *this;}
51 inline EndpointPerformance& WithMetrics(InferenceMetrics&& value) { SetMetrics(std::move(value)); return *this;}
53
55
56 inline const EndpointInfo& GetEndpointInfo() const{ return m_endpointInfo; }
57 inline bool EndpointInfoHasBeenSet() const { return m_endpointInfoHasBeenSet; }
58 inline void SetEndpointInfo(const EndpointInfo& value) { m_endpointInfoHasBeenSet = true; m_endpointInfo = value; }
59 inline void SetEndpointInfo(EndpointInfo&& value) { m_endpointInfoHasBeenSet = true; m_endpointInfo = std::move(value); }
60 inline EndpointPerformance& WithEndpointInfo(const EndpointInfo& value) { SetEndpointInfo(value); return *this;}
61 inline EndpointPerformance& WithEndpointInfo(EndpointInfo&& value) { SetEndpointInfo(std::move(value)); return *this;}
63 private:
64
65 InferenceMetrics m_metrics;
66 bool m_metricsHasBeenSet = false;
67
68 EndpointInfo m_endpointInfo;
69 bool m_endpointInfoHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
EndpointPerformance & WithEndpointInfo(const EndpointInfo &value)
EndpointPerformance & WithEndpointInfo(EndpointInfo &&value)
EndpointPerformance & WithMetrics(const InferenceMetrics &value)
void SetMetrics(const InferenceMetrics &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API EndpointPerformance & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointPerformance & WithMetrics(InferenceMetrics &&value)
AWS_SAGEMAKER_API EndpointPerformance(Aws::Utils::Json::JsonView jsonValue)
void SetMetrics(InferenceMetrics &&value)
const InferenceMetrics & GetMetrics() const
void SetEndpointInfo(const EndpointInfo &value)
Aws::Utils::Json::JsonValue JsonValue