AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatistics(const MetricsSource& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
47 inline void SetStatistics(MetricsSource&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
48 inline ModelQuality& WithStatistics(const MetricsSource& value) { SetStatistics(value); return *this;}
49 inline ModelQuality& WithStatistics(MetricsSource&& value) { SetStatistics(std::move(value)); return *this;}
51
53
56 inline const MetricsSource& GetConstraints() const{ return m_constraints; }
57 inline bool ConstraintsHasBeenSet() const { return m_constraintsHasBeenSet; }
58 inline void SetConstraints(const MetricsSource& value) { m_constraintsHasBeenSet = true; m_constraints = value; }
59 inline void SetConstraints(MetricsSource&& value) { m_constraintsHasBeenSet = true; m_constraints = std::move(value); }
60 inline ModelQuality& WithConstraints(const MetricsSource& value) { SetConstraints(value); return *this;}
61 inline ModelQuality& WithConstraints(MetricsSource&& value) { SetConstraints(std::move(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 SetStatistics(MetricsSource &&value)
ModelQuality & WithStatistics(const MetricsSource &value)
const MetricsSource & GetConstraints() const
void SetConstraints(MetricsSource &&value)
void SetStatistics(const MetricsSource &value)
AWS_SAGEMAKER_API ModelQuality(Aws::Utils::Json::JsonView jsonValue)
ModelQuality & WithConstraints(MetricsSource &&value)
ModelQuality & WithStatistics(MetricsSource &&value)
void SetConstraints(const MetricsSource &value)
AWS_SAGEMAKER_API ModelQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelQuality & WithConstraints(const MetricsSource &value)
Aws::Utils::Json::JsonValue JsonValue