AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TuningJobCompletionCriteria.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/BestObjectiveNotImproving.h>
9#include <aws/sagemaker/model/ConvergenceDetected.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKER_API TuningJobCompletionCriteria();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetTargetObjectiveMetricValue() const{ return m_targetObjectiveMetricValue; }
46 inline bool TargetObjectiveMetricValueHasBeenSet() const { return m_targetObjectiveMetricValueHasBeenSet; }
47 inline void SetTargetObjectiveMetricValue(double value) { m_targetObjectiveMetricValueHasBeenSet = true; m_targetObjectiveMetricValue = value; }
50
52
56 inline const BestObjectiveNotImproving& GetBestObjectiveNotImproving() const{ return m_bestObjectiveNotImproving; }
57 inline bool BestObjectiveNotImprovingHasBeenSet() const { return m_bestObjectiveNotImprovingHasBeenSet; }
58 inline void SetBestObjectiveNotImproving(const BestObjectiveNotImproving& value) { m_bestObjectiveNotImprovingHasBeenSet = true; m_bestObjectiveNotImproving = value; }
59 inline void SetBestObjectiveNotImproving(BestObjectiveNotImproving&& value) { m_bestObjectiveNotImprovingHasBeenSet = true; m_bestObjectiveNotImproving = std::move(value); }
63
65
70 inline const ConvergenceDetected& GetConvergenceDetected() const{ return m_convergenceDetected; }
71 inline bool ConvergenceDetectedHasBeenSet() const { return m_convergenceDetectedHasBeenSet; }
72 inline void SetConvergenceDetected(const ConvergenceDetected& value) { m_convergenceDetectedHasBeenSet = true; m_convergenceDetected = value; }
73 inline void SetConvergenceDetected(ConvergenceDetected&& value) { m_convergenceDetectedHasBeenSet = true; m_convergenceDetected = std::move(value); }
77 private:
78
79 double m_targetObjectiveMetricValue;
80 bool m_targetObjectiveMetricValueHasBeenSet = false;
81
82 BestObjectiveNotImproving m_bestObjectiveNotImproving;
83 bool m_bestObjectiveNotImprovingHasBeenSet = false;
84
85 ConvergenceDetected m_convergenceDetected;
86 bool m_convergenceDetectedHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SageMaker
91} // namespace Aws
TuningJobCompletionCriteria & WithBestObjectiveNotImproving(const BestObjectiveNotImproving &value)
TuningJobCompletionCriteria & WithConvergenceDetected(const ConvergenceDetected &value)
void SetConvergenceDetected(const ConvergenceDetected &value)
void SetBestObjectiveNotImproving(const BestObjectiveNotImproving &value)
AWS_SAGEMAKER_API TuningJobCompletionCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
TuningJobCompletionCriteria & WithBestObjectiveNotImproving(BestObjectiveNotImproving &&value)
TuningJobCompletionCriteria & WithConvergenceDetected(ConvergenceDetected &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API TuningJobCompletionCriteria(Aws::Utils::Json::JsonView jsonValue)
TuningJobCompletionCriteria & WithTargetObjectiveMetricValue(double value)
const BestObjectiveNotImproving & GetBestObjectiveNotImproving() const
void SetBestObjectiveNotImproving(BestObjectiveNotImproving &&value)
Aws::Utils::Json::JsonValue JsonValue