AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DriftCheckModelQuality.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MetricsSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API DriftCheckModelQuality() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const MetricsSource& GetStatistics() const { return m_statistics; }
40 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
41 template <typename StatisticsT = MetricsSource>
42 void SetStatistics(StatisticsT&& value) {
43 m_statisticsHasBeenSet = true;
44 m_statistics = std::forward<StatisticsT>(value);
45 }
46 template <typename StatisticsT = MetricsSource>
47 DriftCheckModelQuality& WithStatistics(StatisticsT&& value) {
48 SetStatistics(std::forward<StatisticsT>(value));
49 return *this;
50 }
52
54
57 inline const MetricsSource& GetConstraints() const { return m_constraints; }
58 inline bool ConstraintsHasBeenSet() const { return m_constraintsHasBeenSet; }
59 template <typename ConstraintsT = MetricsSource>
60 void SetConstraints(ConstraintsT&& value) {
61 m_constraintsHasBeenSet = true;
62 m_constraints = std::forward<ConstraintsT>(value);
63 }
64 template <typename ConstraintsT = MetricsSource>
65 DriftCheckModelQuality& WithConstraints(ConstraintsT&& value) {
66 SetConstraints(std::forward<ConstraintsT>(value));
67 return *this;
68 }
70 private:
71 MetricsSource m_statistics;
72
73 MetricsSource m_constraints;
74 bool m_statisticsHasBeenSet = false;
75 bool m_constraintsHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
AWS_SAGEMAKER_API DriftCheckModelQuality(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API DriftCheckModelQuality()=default
DriftCheckModelQuality & WithStatistics(StatisticsT &&value)
AWS_SAGEMAKER_API DriftCheckModelQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
DriftCheckModelQuality & WithConstraints(ConstraintsT &&value)
Aws::Utils::Json::JsonValue JsonValue