AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelDataQuality.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 ModelDataQuality() = default;
31 AWS_SAGEMAKER_API ModelDataQuality(Aws::Utils::Json::JsonView jsonValue);
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 ModelDataQuality& 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 ModelDataQuality& 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
const MetricsSource & GetConstraints() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatistics(StatisticsT &&value)
AWS_SAGEMAKER_API ModelDataQuality()=default
AWS_SAGEMAKER_API ModelDataQuality(Aws::Utils::Json::JsonView jsonValue)
ModelDataQuality & WithStatistics(StatisticsT &&value)
AWS_SAGEMAKER_API ModelDataQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
const MetricsSource & GetStatistics() const
void SetConstraints(ConstraintsT &&value)
ModelDataQuality & WithConstraints(ConstraintsT &&value)
Aws::Utils::Json::JsonValue JsonValue