AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DriftCheckBias.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/FileSource.h>
9#include <aws/sagemaker/model/MetricsSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API DriftCheckBias() = default;
37 AWS_SAGEMAKER_API DriftCheckBias(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const FileSource& GetConfigFile() const { return m_configFile; }
47 inline bool ConfigFileHasBeenSet() const { return m_configFileHasBeenSet; }
48 template<typename ConfigFileT = FileSource>
49 void SetConfigFile(ConfigFileT&& value) { m_configFileHasBeenSet = true; m_configFile = std::forward<ConfigFileT>(value); }
50 template<typename ConfigFileT = FileSource>
51 DriftCheckBias& WithConfigFile(ConfigFileT&& value) { SetConfigFile(std::forward<ConfigFileT>(value)); return *this;}
53
55
58 inline const MetricsSource& GetPreTrainingConstraints() const { return m_preTrainingConstraints; }
59 inline bool PreTrainingConstraintsHasBeenSet() const { return m_preTrainingConstraintsHasBeenSet; }
60 template<typename PreTrainingConstraintsT = MetricsSource>
61 void SetPreTrainingConstraints(PreTrainingConstraintsT&& value) { m_preTrainingConstraintsHasBeenSet = true; m_preTrainingConstraints = std::forward<PreTrainingConstraintsT>(value); }
62 template<typename PreTrainingConstraintsT = MetricsSource>
63 DriftCheckBias& WithPreTrainingConstraints(PreTrainingConstraintsT&& value) { SetPreTrainingConstraints(std::forward<PreTrainingConstraintsT>(value)); return *this;}
65
67
70 inline const MetricsSource& GetPostTrainingConstraints() const { return m_postTrainingConstraints; }
71 inline bool PostTrainingConstraintsHasBeenSet() const { return m_postTrainingConstraintsHasBeenSet; }
72 template<typename PostTrainingConstraintsT = MetricsSource>
73 void SetPostTrainingConstraints(PostTrainingConstraintsT&& value) { m_postTrainingConstraintsHasBeenSet = true; m_postTrainingConstraints = std::forward<PostTrainingConstraintsT>(value); }
74 template<typename PostTrainingConstraintsT = MetricsSource>
75 DriftCheckBias& WithPostTrainingConstraints(PostTrainingConstraintsT&& value) { SetPostTrainingConstraints(std::forward<PostTrainingConstraintsT>(value)); return *this;}
77 private:
78
79 FileSource m_configFile;
80 bool m_configFileHasBeenSet = false;
81
82 MetricsSource m_preTrainingConstraints;
83 bool m_preTrainingConstraintsHasBeenSet = false;
84
85 MetricsSource m_postTrainingConstraints;
86 bool m_postTrainingConstraintsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SageMaker
91} // namespace Aws
void SetConfigFile(ConfigFileT &&value)
DriftCheckBias & WithPostTrainingConstraints(PostTrainingConstraintsT &&value)
void SetPreTrainingConstraints(PreTrainingConstraintsT &&value)
const MetricsSource & GetPostTrainingConstraints() const
AWS_SAGEMAKER_API DriftCheckBias(Aws::Utils::Json::JsonView jsonValue)
DriftCheckBias & WithConfigFile(ConfigFileT &&value)
AWS_SAGEMAKER_API DriftCheckBias & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPostTrainingConstraints(PostTrainingConstraintsT &&value)
AWS_SAGEMAKER_API DriftCheckBias()=default
const MetricsSource & GetPreTrainingConstraints() const
const FileSource & GetConfigFile() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DriftCheckBias & WithPreTrainingConstraints(PreTrainingConstraintsT &&value)
Aws::Utils::Json::JsonValue JsonValue