AWS SDK for C++  1.9.159
AWS SDK for C++
Bias.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:
34  Bias();
38 
39 
43  inline const MetricsSource& GetReport() const{ return m_report; }
44 
48  inline bool ReportHasBeenSet() const { return m_reportHasBeenSet; }
49 
53  inline void SetReport(const MetricsSource& value) { m_reportHasBeenSet = true; m_report = value; }
54 
58  inline void SetReport(MetricsSource&& value) { m_reportHasBeenSet = true; m_report = std::move(value); }
59 
63  inline Bias& WithReport(const MetricsSource& value) { SetReport(value); return *this;}
64 
68  inline Bias& WithReport(MetricsSource&& value) { SetReport(std::move(value)); return *this;}
69 
70 
71 
72  inline const MetricsSource& GetPreTrainingReport() const{ return m_preTrainingReport; }
73 
74 
75  inline bool PreTrainingReportHasBeenSet() const { return m_preTrainingReportHasBeenSet; }
76 
77 
78  inline void SetPreTrainingReport(const MetricsSource& value) { m_preTrainingReportHasBeenSet = true; m_preTrainingReport = value; }
79 
80 
81  inline void SetPreTrainingReport(MetricsSource&& value) { m_preTrainingReportHasBeenSet = true; m_preTrainingReport = std::move(value); }
82 
83 
84  inline Bias& WithPreTrainingReport(const MetricsSource& value) { SetPreTrainingReport(value); return *this;}
85 
86 
87  inline Bias& WithPreTrainingReport(MetricsSource&& value) { SetPreTrainingReport(std::move(value)); return *this;}
88 
89 
90 
91  inline const MetricsSource& GetPostTrainingReport() const{ return m_postTrainingReport; }
92 
93 
94  inline bool PostTrainingReportHasBeenSet() const { return m_postTrainingReportHasBeenSet; }
95 
96 
97  inline void SetPostTrainingReport(const MetricsSource& value) { m_postTrainingReportHasBeenSet = true; m_postTrainingReport = value; }
98 
99 
100  inline void SetPostTrainingReport(MetricsSource&& value) { m_postTrainingReportHasBeenSet = true; m_postTrainingReport = std::move(value); }
101 
102 
103  inline Bias& WithPostTrainingReport(const MetricsSource& value) { SetPostTrainingReport(value); return *this;}
104 
105 
106  inline Bias& WithPostTrainingReport(MetricsSource&& value) { SetPostTrainingReport(std::move(value)); return *this;}
107 
108  private:
109 
110  MetricsSource m_report;
111  bool m_reportHasBeenSet;
112 
113  MetricsSource m_preTrainingReport;
114  bool m_preTrainingReportHasBeenSet;
115 
116  MetricsSource m_postTrainingReport;
117  bool m_postTrainingReportHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace SageMaker
122 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
MetricsSource.h
Aws::SageMaker::Model::Bias::Bias
Bias(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Bias::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Bias::GetReport
const MetricsSource & GetReport() const
Definition: Bias.h:43
Aws::SageMaker::Model::Bias::operator=
Bias & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Bias::WithPostTrainingReport
Bias & WithPostTrainingReport(const MetricsSource &value)
Definition: Bias.h:103
Aws::SageMaker::Model::Bias::SetPreTrainingReport
void SetPreTrainingReport(const MetricsSource &value)
Definition: Bias.h:78
Aws::SageMaker::Model::Bias::WithPreTrainingReport
Bias & WithPreTrainingReport(MetricsSource &&value)
Definition: Bias.h:87
Aws::SageMaker::Model::MetricsSource
Definition: MetricsSource.h:32
Aws::SageMaker::Model::Bias::ReportHasBeenSet
bool ReportHasBeenSet() const
Definition: Bias.h:48
Aws::SageMaker::Model::Bias::WithPostTrainingReport
Bias & WithPostTrainingReport(MetricsSource &&value)
Definition: Bias.h:106
Aws::SageMaker::Model::Bias::WithPreTrainingReport
Bias & WithPreTrainingReport(const MetricsSource &value)
Definition: Bias.h:84
Aws::SageMaker::Model::Bias::WithReport
Bias & WithReport(const MetricsSource &value)
Definition: Bias.h:63
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Bias
Definition: Bias.h:32
Aws::SageMaker::Model::Bias::GetPostTrainingReport
const MetricsSource & GetPostTrainingReport() const
Definition: Bias.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Bias::SetPostTrainingReport
void SetPostTrainingReport(MetricsSource &&value)
Definition: Bias.h:100
Aws::SageMaker::Model::Bias::PostTrainingReportHasBeenSet
bool PostTrainingReportHasBeenSet() const
Definition: Bias.h:94
Aws::SageMaker::Model::Bias::GetPreTrainingReport
const MetricsSource & GetPreTrainingReport() const
Definition: Bias.h:72
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Bias::WithReport
Bias & WithReport(MetricsSource &&value)
Definition: Bias.h:68
Aws::SageMaker::Model::Bias::SetReport
void SetReport(const MetricsSource &value)
Definition: Bias.h:53
Aws::SageMaker::Model::Bias::SetPostTrainingReport
void SetPostTrainingReport(const MetricsSource &value)
Definition: Bias.h:97
Aws::SageMaker::Model::Bias::SetReport
void SetReport(MetricsSource &&value)
Definition: Bias.h:58
Aws::SageMaker::Model::Bias::Bias
Bias()
Aws::SageMaker::Model::Bias::SetPreTrainingReport
void SetPreTrainingReport(MetricsSource &&value)
Definition: Bias.h:81
Aws::SageMaker::Model::Bias::PreTrainingReportHasBeenSet
bool PreTrainingReportHasBeenSet() const
Definition: Bias.h:75