AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API DriftCheckBias() = default;
32 AWS_SAGEMAKER_API DriftCheckBias(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const FileSource& GetConfigFile() const { return m_configFile; }
41 inline bool ConfigFileHasBeenSet() const { return m_configFileHasBeenSet; }
42 template <typename ConfigFileT = FileSource>
43 void SetConfigFile(ConfigFileT&& value) {
44 m_configFileHasBeenSet = true;
45 m_configFile = std::forward<ConfigFileT>(value);
46 }
47 template <typename ConfigFileT = FileSource>
48 DriftCheckBias& WithConfigFile(ConfigFileT&& value) {
49 SetConfigFile(std::forward<ConfigFileT>(value));
50 return *this;
51 }
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) {
62 m_preTrainingConstraintsHasBeenSet = true;
63 m_preTrainingConstraints = std::forward<PreTrainingConstraintsT>(value);
64 }
65 template <typename PreTrainingConstraintsT = MetricsSource>
66 DriftCheckBias& WithPreTrainingConstraints(PreTrainingConstraintsT&& value) {
67 SetPreTrainingConstraints(std::forward<PreTrainingConstraintsT>(value));
68 return *this;
69 }
71
73
76 inline const MetricsSource& GetPostTrainingConstraints() const { return m_postTrainingConstraints; }
77 inline bool PostTrainingConstraintsHasBeenSet() const { return m_postTrainingConstraintsHasBeenSet; }
78 template <typename PostTrainingConstraintsT = MetricsSource>
79 void SetPostTrainingConstraints(PostTrainingConstraintsT&& value) {
80 m_postTrainingConstraintsHasBeenSet = true;
81 m_postTrainingConstraints = std::forward<PostTrainingConstraintsT>(value);
82 }
83 template <typename PostTrainingConstraintsT = MetricsSource>
84 DriftCheckBias& WithPostTrainingConstraints(PostTrainingConstraintsT&& value) {
85 SetPostTrainingConstraints(std::forward<PostTrainingConstraintsT>(value));
86 return *this;
87 }
89 private:
90 FileSource m_configFile;
91
92 MetricsSource m_preTrainingConstraints;
93
94 MetricsSource m_postTrainingConstraints;
95 bool m_configFileHasBeenSet = false;
96 bool m_preTrainingConstraintsHasBeenSet = false;
97 bool m_postTrainingConstraintsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SageMaker
102} // 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