AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetTrackingScalingPolicyConfiguration.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MetricSpecification.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const MetricSpecification& GetMetricSpecification() const{ return m_metricSpecification; }
49 inline bool MetricSpecificationHasBeenSet() const { return m_metricSpecificationHasBeenSet; }
50 inline void SetMetricSpecification(const MetricSpecification& value) { m_metricSpecificationHasBeenSet = true; m_metricSpecification = value; }
51 inline void SetMetricSpecification(MetricSpecification&& value) { m_metricSpecificationHasBeenSet = true; m_metricSpecification = std::move(value); }
55
57
61 inline double GetTargetValue() const{ return m_targetValue; }
62 inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
63 inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; }
64 inline TargetTrackingScalingPolicyConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;}
66 private:
67
68 MetricSpecification m_metricSpecification;
69 bool m_metricSpecificationHasBeenSet = false;
70
71 double m_targetValue;
72 bool m_targetValueHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
TargetTrackingScalingPolicyConfiguration & WithMetricSpecification(MetricSpecification &&value)
AWS_SAGEMAKER_API TargetTrackingScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TargetTrackingScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TargetTrackingScalingPolicyConfiguration & WithMetricSpecification(const MetricSpecification &value)
Aws::Utils::Json::JsonValue JsonValue