AWS SDK for C++  1.9.160
AWS SDK for C++
ModelQuality.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const MetricsSource& GetStatistics() const{ return m_statistics; }
44 
48  inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
49 
53  inline void SetStatistics(const MetricsSource& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
54 
58  inline void SetStatistics(MetricsSource&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
59 
63  inline ModelQuality& WithStatistics(const MetricsSource& value) { SetStatistics(value); return *this;}
64 
68  inline ModelQuality& WithStatistics(MetricsSource&& value) { SetStatistics(std::move(value)); return *this;}
69 
70 
74  inline const MetricsSource& GetConstraints() const{ return m_constraints; }
75 
79  inline bool ConstraintsHasBeenSet() const { return m_constraintsHasBeenSet; }
80 
84  inline void SetConstraints(const MetricsSource& value) { m_constraintsHasBeenSet = true; m_constraints = value; }
85 
89  inline void SetConstraints(MetricsSource&& value) { m_constraintsHasBeenSet = true; m_constraints = std::move(value); }
90 
94  inline ModelQuality& WithConstraints(const MetricsSource& value) { SetConstraints(value); return *this;}
95 
99  inline ModelQuality& WithConstraints(MetricsSource&& value) { SetConstraints(std::move(value)); return *this;}
100 
101  private:
102 
103  MetricsSource m_statistics;
104  bool m_statisticsHasBeenSet;
105 
106  MetricsSource m_constraints;
107  bool m_constraintsHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace SageMaker
112 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelQuality::GetStatistics
const MetricsSource & GetStatistics() const
Definition: ModelQuality.h:43
MetricsSource.h
Aws::SageMaker::Model::ModelQuality::StatisticsHasBeenSet
bool StatisticsHasBeenSet() const
Definition: ModelQuality.h:48
Aws::SageMaker::Model::ModelQuality::ModelQuality
ModelQuality()
Aws::SageMaker::Model::ModelQuality::WithConstraints
ModelQuality & WithConstraints(const MetricsSource &value)
Definition: ModelQuality.h:94
Aws::SageMaker::Model::ModelQuality::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ModelQuality::SetConstraints
void SetConstraints(MetricsSource &&value)
Definition: ModelQuality.h:89
Aws::SageMaker::Model::MetricsSource
Definition: MetricsSource.h:32
Aws::SageMaker::Model::ModelQuality::WithStatistics
ModelQuality & WithStatistics(MetricsSource &&value)
Definition: ModelQuality.h:68
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelQuality::GetConstraints
const MetricsSource & GetConstraints() const
Definition: ModelQuality.h:74
Aws::SageMaker::Model::ModelQuality::operator=
ModelQuality & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelQuality::SetStatistics
void SetStatistics(MetricsSource &&value)
Definition: ModelQuality.h:58
Aws::SageMaker::Model::ModelQuality::WithConstraints
ModelQuality & WithConstraints(MetricsSource &&value)
Definition: ModelQuality.h:99
Aws::SageMaker::Model::ModelQuality::ModelQuality
ModelQuality(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ModelQuality::SetConstraints
void SetConstraints(const MetricsSource &value)
Definition: ModelQuality.h:84
Aws::SageMaker::Model::ModelQuality::WithStatistics
ModelQuality & WithStatistics(const MetricsSource &value)
Definition: ModelQuality.h:63
Aws::SageMaker::Model::ModelQuality::SetStatistics
void SetStatistics(const MetricsSource &value)
Definition: ModelQuality.h:53
Aws::SageMaker::Model::ModelQuality
Definition: ModelQuality.h:32
Aws::SageMaker::Model::ModelQuality::ConstraintsHasBeenSet
bool ConstraintsHasBeenSet() const
Definition: ModelQuality.h:79