AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidatorMetric.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_BEDROCK_API ValidatorMetric();
33 AWS_BEDROCK_API ValidatorMetric(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline double GetValidationLoss() const{ return m_validationLoss; }
43 inline bool ValidationLossHasBeenSet() const { return m_validationLossHasBeenSet; }
44 inline void SetValidationLoss(double value) { m_validationLossHasBeenSet = true; m_validationLoss = value; }
45 inline ValidatorMetric& WithValidationLoss(double value) { SetValidationLoss(value); return *this;}
47 private:
48
49 double m_validationLoss;
50 bool m_validationLossHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace Bedrock
55} // namespace Aws
ValidatorMetric & WithValidationLoss(double value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API ValidatorMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API ValidatorMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue