AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelMetrics.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ModelQuality.h>
9#include <aws/sagemaker/model/ModelDataQuality.h>
10#include <aws/sagemaker/model/Bias.h>
11#include <aws/sagemaker/model/Explainability.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SAGEMAKER_API ModelMetrics();
38 AWS_SAGEMAKER_API ModelMetrics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API ModelMetrics& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ModelQuality& GetModelQuality() const{ return m_modelQuality; }
48 inline bool ModelQualityHasBeenSet() const { return m_modelQualityHasBeenSet; }
49 inline void SetModelQuality(const ModelQuality& value) { m_modelQualityHasBeenSet = true; m_modelQuality = value; }
50 inline void SetModelQuality(ModelQuality&& value) { m_modelQualityHasBeenSet = true; m_modelQuality = std::move(value); }
51 inline ModelMetrics& WithModelQuality(const ModelQuality& value) { SetModelQuality(value); return *this;}
52 inline ModelMetrics& WithModelQuality(ModelQuality&& value) { SetModelQuality(std::move(value)); return *this;}
54
56
59 inline const ModelDataQuality& GetModelDataQuality() const{ return m_modelDataQuality; }
60 inline bool ModelDataQualityHasBeenSet() const { return m_modelDataQualityHasBeenSet; }
61 inline void SetModelDataQuality(const ModelDataQuality& value) { m_modelDataQualityHasBeenSet = true; m_modelDataQuality = value; }
62 inline void SetModelDataQuality(ModelDataQuality&& value) { m_modelDataQualityHasBeenSet = true; m_modelDataQuality = std::move(value); }
63 inline ModelMetrics& WithModelDataQuality(const ModelDataQuality& value) { SetModelDataQuality(value); return *this;}
64 inline ModelMetrics& WithModelDataQuality(ModelDataQuality&& value) { SetModelDataQuality(std::move(value)); return *this;}
66
68
71 inline const Bias& GetBias() const{ return m_bias; }
72 inline bool BiasHasBeenSet() const { return m_biasHasBeenSet; }
73 inline void SetBias(const Bias& value) { m_biasHasBeenSet = true; m_bias = value; }
74 inline void SetBias(Bias&& value) { m_biasHasBeenSet = true; m_bias = std::move(value); }
75 inline ModelMetrics& WithBias(const Bias& value) { SetBias(value); return *this;}
76 inline ModelMetrics& WithBias(Bias&& value) { SetBias(std::move(value)); return *this;}
78
80
83 inline const Explainability& GetExplainability() const{ return m_explainability; }
84 inline bool ExplainabilityHasBeenSet() const { return m_explainabilityHasBeenSet; }
85 inline void SetExplainability(const Explainability& value) { m_explainabilityHasBeenSet = true; m_explainability = value; }
86 inline void SetExplainability(Explainability&& value) { m_explainabilityHasBeenSet = true; m_explainability = std::move(value); }
87 inline ModelMetrics& WithExplainability(const Explainability& value) { SetExplainability(value); return *this;}
88 inline ModelMetrics& WithExplainability(Explainability&& value) { SetExplainability(std::move(value)); return *this;}
90 private:
91
92 ModelQuality m_modelQuality;
93 bool m_modelQualityHasBeenSet = false;
94
95 ModelDataQuality m_modelDataQuality;
96 bool m_modelDataQualityHasBeenSet = false;
97
98 Bias m_bias;
99 bool m_biasHasBeenSet = false;
100
101 Explainability m_explainability;
102 bool m_explainabilityHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SageMaker
107} // namespace Aws
const ModelDataQuality & GetModelDataQuality() const
ModelMetrics & WithExplainability(Explainability &&value)
AWS_SAGEMAKER_API ModelMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
const ModelQuality & GetModelQuality() const
ModelMetrics & WithBias(const Bias &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelMetrics & WithModelQuality(ModelQuality &&value)
void SetExplainability(Explainability &&value)
void SetModelDataQuality(ModelDataQuality &&value)
void SetExplainability(const Explainability &value)
ModelMetrics & WithModelDataQuality(const ModelDataQuality &value)
ModelMetrics & WithModelQuality(const ModelQuality &value)
AWS_SAGEMAKER_API ModelMetrics(Aws::Utils::Json::JsonView jsonValue)
ModelMetrics & WithExplainability(const Explainability &value)
ModelMetrics & WithModelDataQuality(ModelDataQuality &&value)
void SetModelQuality(const ModelQuality &value)
void SetModelQuality(ModelQuality &&value)
const Explainability & GetExplainability() const
void SetModelDataQuality(const ModelDataQuality &value)
ModelMetrics & WithBias(Bias &&value)
void SetBias(const Bias &value)
Aws::Utils::Json::JsonValue JsonValue