AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Bias.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
31 class Bias
32 {
33 public:
34 AWS_SAGEMAKER_API Bias();
35 AWS_SAGEMAKER_API Bias(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Bias& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const MetricsSource& GetReport() const{ return m_report; }
45 inline bool ReportHasBeenSet() const { return m_reportHasBeenSet; }
46 inline void SetReport(const MetricsSource& value) { m_reportHasBeenSet = true; m_report = value; }
47 inline void SetReport(MetricsSource&& value) { m_reportHasBeenSet = true; m_report = std::move(value); }
48 inline Bias& WithReport(const MetricsSource& value) { SetReport(value); return *this;}
49 inline Bias& WithReport(MetricsSource&& value) { SetReport(std::move(value)); return *this;}
51
53
56 inline const MetricsSource& GetPreTrainingReport() const{ return m_preTrainingReport; }
57 inline bool PreTrainingReportHasBeenSet() const { return m_preTrainingReportHasBeenSet; }
58 inline void SetPreTrainingReport(const MetricsSource& value) { m_preTrainingReportHasBeenSet = true; m_preTrainingReport = value; }
59 inline void SetPreTrainingReport(MetricsSource&& value) { m_preTrainingReportHasBeenSet = true; m_preTrainingReport = std::move(value); }
60 inline Bias& WithPreTrainingReport(const MetricsSource& value) { SetPreTrainingReport(value); return *this;}
61 inline Bias& WithPreTrainingReport(MetricsSource&& value) { SetPreTrainingReport(std::move(value)); return *this;}
63
65
68 inline const MetricsSource& GetPostTrainingReport() const{ return m_postTrainingReport; }
69 inline bool PostTrainingReportHasBeenSet() const { return m_postTrainingReportHasBeenSet; }
70 inline void SetPostTrainingReport(const MetricsSource& value) { m_postTrainingReportHasBeenSet = true; m_postTrainingReport = value; }
71 inline void SetPostTrainingReport(MetricsSource&& value) { m_postTrainingReportHasBeenSet = true; m_postTrainingReport = std::move(value); }
72 inline Bias& WithPostTrainingReport(const MetricsSource& value) { SetPostTrainingReport(value); return *this;}
73 inline Bias& WithPostTrainingReport(MetricsSource&& value) { SetPostTrainingReport(std::move(value)); return *this;}
75 private:
76
77 MetricsSource m_report;
78 bool m_reportHasBeenSet = false;
79
80 MetricsSource m_preTrainingReport;
81 bool m_preTrainingReportHasBeenSet = false;
82
83 MetricsSource m_postTrainingReport;
84 bool m_postTrainingReportHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
AWS_SAGEMAKER_API Bias(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Bias & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPreTrainingReport(const MetricsSource &value)
Definition Bias.h:58
Bias & WithReport(const MetricsSource &value)
Definition Bias.h:48
Bias & WithReport(MetricsSource &&value)
Definition Bias.h:49
Bias & WithPreTrainingReport(MetricsSource &&value)
Definition Bias.h:61
void SetPreTrainingReport(MetricsSource &&value)
Definition Bias.h:59
void SetReport(MetricsSource &&value)
Definition Bias.h:47
AWS_SAGEMAKER_API Bias()
void SetPostTrainingReport(const MetricsSource &value)
Definition Bias.h:70
bool PostTrainingReportHasBeenSet() const
Definition Bias.h:69
Bias & WithPostTrainingReport(const MetricsSource &value)
Definition Bias.h:72
const MetricsSource & GetPostTrainingReport() const
Definition Bias.h:68
void SetReport(const MetricsSource &value)
Definition Bias.h:46
Bias & WithPostTrainingReport(MetricsSource &&value)
Definition Bias.h:73
const MetricsSource & GetReport() const
Definition Bias.h:44
const MetricsSource & GetPreTrainingReport() const
Definition Bias.h:56
Bias & WithPreTrainingReport(const MetricsSource &value)
Definition Bias.h:60
bool ReportHasBeenSet() const
Definition Bias.h:45
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPostTrainingReport(MetricsSource &&value)
Definition Bias.h:71
bool PreTrainingReportHasBeenSet() const
Definition Bias.h:57
Aws::Utils::Json::JsonValue JsonValue