AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/model/DataValidationMetrics.h>
9#include <aws/frauddetector/model/TrainingMetrics.h>
10#include <aws/frauddetector/model/VariableImportanceMetrics.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_FRAUDDETECTOR_API TrainingResult();
37 AWS_FRAUDDETECTOR_API TrainingResult(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API TrainingResult& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DataValidationMetrics& GetDataValidationMetrics() const{ return m_dataValidationMetrics; }
47 inline bool DataValidationMetricsHasBeenSet() const { return m_dataValidationMetricsHasBeenSet; }
48 inline void SetDataValidationMetrics(const DataValidationMetrics& value) { m_dataValidationMetricsHasBeenSet = true; m_dataValidationMetrics = value; }
49 inline void SetDataValidationMetrics(DataValidationMetrics&& value) { m_dataValidationMetricsHasBeenSet = true; m_dataValidationMetrics = std::move(value); }
53
55
58 inline const TrainingMetrics& GetTrainingMetrics() const{ return m_trainingMetrics; }
59 inline bool TrainingMetricsHasBeenSet() const { return m_trainingMetricsHasBeenSet; }
60 inline void SetTrainingMetrics(const TrainingMetrics& value) { m_trainingMetricsHasBeenSet = true; m_trainingMetrics = value; }
61 inline void SetTrainingMetrics(TrainingMetrics&& value) { m_trainingMetricsHasBeenSet = true; m_trainingMetrics = std::move(value); }
62 inline TrainingResult& WithTrainingMetrics(const TrainingMetrics& value) { SetTrainingMetrics(value); return *this;}
63 inline TrainingResult& WithTrainingMetrics(TrainingMetrics&& value) { SetTrainingMetrics(std::move(value)); return *this;}
65
67
70 inline const VariableImportanceMetrics& GetVariableImportanceMetrics() const{ return m_variableImportanceMetrics; }
71 inline bool VariableImportanceMetricsHasBeenSet() const { return m_variableImportanceMetricsHasBeenSet; }
72 inline void SetVariableImportanceMetrics(const VariableImportanceMetrics& value) { m_variableImportanceMetricsHasBeenSet = true; m_variableImportanceMetrics = value; }
73 inline void SetVariableImportanceMetrics(VariableImportanceMetrics&& value) { m_variableImportanceMetricsHasBeenSet = true; m_variableImportanceMetrics = std::move(value); }
77 private:
78
79 DataValidationMetrics m_dataValidationMetrics;
80 bool m_dataValidationMetricsHasBeenSet = false;
81
82 TrainingMetrics m_trainingMetrics;
83 bool m_trainingMetricsHasBeenSet = false;
84
85 VariableImportanceMetrics m_variableImportanceMetrics;
86 bool m_variableImportanceMetricsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace FraudDetector
91} // namespace Aws
void SetVariableImportanceMetrics(VariableImportanceMetrics &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingResult & WithDataValidationMetrics(const DataValidationMetrics &value)
const DataValidationMetrics & GetDataValidationMetrics() const
void SetVariableImportanceMetrics(const VariableImportanceMetrics &value)
void SetDataValidationMetrics(DataValidationMetrics &&value)
AWS_FRAUDDETECTOR_API TrainingResult & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataValidationMetrics(const DataValidationMetrics &value)
void SetTrainingMetrics(TrainingMetrics &&value)
AWS_FRAUDDETECTOR_API TrainingResult()
const TrainingMetrics & GetTrainingMetrics() const
TrainingResult & WithVariableImportanceMetrics(const VariableImportanceMetrics &value)
const VariableImportanceMetrics & GetVariableImportanceMetrics() const
void SetTrainingMetrics(const TrainingMetrics &value)
TrainingResult & WithVariableImportanceMetrics(VariableImportanceMetrics &&value)
TrainingResult & WithTrainingMetrics(TrainingMetrics &&value)
AWS_FRAUDDETECTOR_API TrainingResult(Aws::Utils::Json::JsonView jsonValue)
TrainingResult & WithDataValidationMetrics(DataValidationMetrics &&value)
TrainingResult & WithTrainingMetrics(const TrainingMetrics &value)
Aws::Utils::Json::JsonValue JsonValue