AWS SDK for C++  1.9.20
AWS SDK for C++
TrainingResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const DataValidationMetrics& GetDataValidationMetrics() const{ return m_dataValidationMetrics; }
45 
49  inline bool DataValidationMetricsHasBeenSet() const { return m_dataValidationMetricsHasBeenSet; }
50 
54  inline void SetDataValidationMetrics(const DataValidationMetrics& value) { m_dataValidationMetricsHasBeenSet = true; m_dataValidationMetrics = value; }
55 
59  inline void SetDataValidationMetrics(DataValidationMetrics&& value) { m_dataValidationMetricsHasBeenSet = true; m_dataValidationMetrics = std::move(value); }
60 
64  inline TrainingResult& WithDataValidationMetrics(const DataValidationMetrics& value) { SetDataValidationMetrics(value); return *this;}
65 
69  inline TrainingResult& WithDataValidationMetrics(DataValidationMetrics&& value) { SetDataValidationMetrics(std::move(value)); return *this;}
70 
71 
75  inline const TrainingMetrics& GetTrainingMetrics() const{ return m_trainingMetrics; }
76 
80  inline bool TrainingMetricsHasBeenSet() const { return m_trainingMetricsHasBeenSet; }
81 
85  inline void SetTrainingMetrics(const TrainingMetrics& value) { m_trainingMetricsHasBeenSet = true; m_trainingMetrics = value; }
86 
90  inline void SetTrainingMetrics(TrainingMetrics&& value) { m_trainingMetricsHasBeenSet = true; m_trainingMetrics = std::move(value); }
91 
95  inline TrainingResult& WithTrainingMetrics(const TrainingMetrics& value) { SetTrainingMetrics(value); return *this;}
96 
100  inline TrainingResult& WithTrainingMetrics(TrainingMetrics&& value) { SetTrainingMetrics(std::move(value)); return *this;}
101 
102  private:
103 
104  DataValidationMetrics m_dataValidationMetrics;
105  bool m_dataValidationMetricsHasBeenSet;
106 
107  TrainingMetrics m_trainingMetrics;
108  bool m_trainingMetricsHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace FraudDetector
113 } // namespace Aws
Aws::FraudDetector::Model::TrainingResult::TrainingResult
TrainingResult(Aws::Utils::Json::JsonView jsonValue)
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::TrainingResult::TrainingResult
TrainingResult()
Aws::FraudDetector::Model::TrainingResult::SetTrainingMetrics
void SetTrainingMetrics(TrainingMetrics &&value)
Definition: TrainingResult.h:90
Aws::FraudDetector::Model::TrainingResult::WithTrainingMetrics
TrainingResult & WithTrainingMetrics(const TrainingMetrics &value)
Definition: TrainingResult.h:95
Aws::FraudDetector::Model::DataValidationMetrics
Definition: DataValidationMetrics.h:34
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::TrainingResult::SetDataValidationMetrics
void SetDataValidationMetrics(const DataValidationMetrics &value)
Definition: TrainingResult.h:54
Aws::FraudDetector::Model::TrainingResult::GetDataValidationMetrics
const DataValidationMetrics & GetDataValidationMetrics() const
Definition: TrainingResult.h:44
Aws::FraudDetector::Model::TrainingResult
Definition: TrainingResult.h:33
DataValidationMetrics.h
Aws::FraudDetector::Model::TrainingResult::operator=
TrainingResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::TrainingResult::TrainingMetricsHasBeenSet
bool TrainingMetricsHasBeenSet() const
Definition: TrainingResult.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::TrainingMetrics
Definition: TrainingMetrics.h:33
Aws::FraudDetector::Model::TrainingResult::WithDataValidationMetrics
TrainingResult & WithDataValidationMetrics(const DataValidationMetrics &value)
Definition: TrainingResult.h:64
Aws::FraudDetector::Model::TrainingResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::TrainingResult::WithTrainingMetrics
TrainingResult & WithTrainingMetrics(TrainingMetrics &&value)
Definition: TrainingResult.h:100
TrainingMetrics.h
Aws::FraudDetector::Model::TrainingResult::SetDataValidationMetrics
void SetDataValidationMetrics(DataValidationMetrics &&value)
Definition: TrainingResult.h:59
Aws::FraudDetector::Model::TrainingResult::WithDataValidationMetrics
TrainingResult & WithDataValidationMetrics(DataValidationMetrics &&value)
Definition: TrainingResult.h:69
Aws::FraudDetector::Model::TrainingResult::SetTrainingMetrics
void SetTrainingMetrics(const TrainingMetrics &value)
Definition: TrainingResult.h:85
Aws::FraudDetector::Model::TrainingResult::DataValidationMetricsHasBeenSet
bool DataValidationMetricsHasBeenSet() const
Definition: TrainingResult.h:49
Aws::FraudDetector::Model::TrainingResult::GetTrainingMetrics
const TrainingMetrics & GetTrainingMetrics() const
Definition: TrainingResult.h:75