AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelQuality.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
32 {
33 public:
34 AWS_SAGEMAKER_API ModelQuality() = default;
35 AWS_SAGEMAKER_API ModelQuality(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API ModelQuality& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const MetricsSource& GetStatistics() const { return m_statistics; }
45 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
46 template<typename StatisticsT = MetricsSource>
47 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
48 template<typename StatisticsT = MetricsSource>
49 ModelQuality& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
51
53
56 inline const MetricsSource& GetConstraints() const { return m_constraints; }
57 inline bool ConstraintsHasBeenSet() const { return m_constraintsHasBeenSet; }
58 template<typename ConstraintsT = MetricsSource>
59 void SetConstraints(ConstraintsT&& value) { m_constraintsHasBeenSet = true; m_constraints = std::forward<ConstraintsT>(value); }
60 template<typename ConstraintsT = MetricsSource>
61 ModelQuality& WithConstraints(ConstraintsT&& value) { SetConstraints(std::forward<ConstraintsT>(value)); return *this;}
63 private:
64
65 MetricsSource m_statistics;
66 bool m_statisticsHasBeenSet = false;
67
68 MetricsSource m_constraints;
69 bool m_constraintsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
const MetricsSource & GetStatistics() const
void SetConstraints(ConstraintsT &&value)
const MetricsSource & GetConstraints() const
AWS_SAGEMAKER_API ModelQuality()=default
AWS_SAGEMAKER_API ModelQuality(Aws::Utils::Json::JsonView jsonValue)
void SetStatistics(StatisticsT &&value)
ModelQuality & WithStatistics(StatisticsT &&value)
AWS_SAGEMAKER_API ModelQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelQuality & WithConstraints(ConstraintsT &&value)
Aws::Utils::Json::JsonValue JsonValue