AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ModelDataQuality() = default;
36 AWS_SAGEMAKER_API ModelDataQuality(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const MetricsSource& GetStatistics() const { return m_statistics; }
46 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
47 template<typename StatisticsT = MetricsSource>
48 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
49 template<typename StatisticsT = MetricsSource>
50 ModelDataQuality& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
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) { m_constraintsHasBeenSet = true; m_constraints = std::forward<ConstraintsT>(value); }
61 template<typename ConstraintsT = MetricsSource>
62 ModelDataQuality& WithConstraints(ConstraintsT&& value) { SetConstraints(std::forward<ConstraintsT>(value)); return *this;}
64 private:
65
66 MetricsSource m_statistics;
67 bool m_statisticsHasBeenSet = false;
68
69 MetricsSource m_constraints;
70 bool m_constraintsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // 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