AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingMetrics.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 TrainingMetrics();
33 AWS_BEDROCK_API TrainingMetrics(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline double GetTrainingLoss() const{ return m_trainingLoss; }
43 inline bool TrainingLossHasBeenSet() const { return m_trainingLossHasBeenSet; }
44 inline void SetTrainingLoss(double value) { m_trainingLossHasBeenSet = true; m_trainingLoss = value; }
45 inline TrainingMetrics& WithTrainingLoss(double value) { SetTrainingLoss(value); return *this;}
47 private:
48
49 double m_trainingLoss;
50 bool m_trainingLossHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace Bedrock
55} // namespace Aws
AWS_BEDROCK_API TrainingMetrics(Aws::Utils::Json::JsonView jsonValue)
TrainingMetrics & WithTrainingLoss(double value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API TrainingMetrics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue