AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScalingPolicy.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TargetTrackingScalingPolicyConfiguration.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
33 {
34 public:
35 AWS_SAGEMAKER_API ScalingPolicy();
36 AWS_SAGEMAKER_API ScalingPolicy(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API ScalingPolicy& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const TargetTrackingScalingPolicyConfiguration& GetTargetTracking() const{ return m_targetTracking; }
47 inline bool TargetTrackingHasBeenSet() const { return m_targetTrackingHasBeenSet; }
48 inline void SetTargetTracking(const TargetTrackingScalingPolicyConfiguration& value) { m_targetTrackingHasBeenSet = true; m_targetTracking = value; }
49 inline void SetTargetTracking(TargetTrackingScalingPolicyConfiguration&& value) { m_targetTrackingHasBeenSet = true; m_targetTracking = std::move(value); }
53 private:
54
56 bool m_targetTrackingHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
void SetTargetTracking(const TargetTrackingScalingPolicyConfiguration &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const TargetTrackingScalingPolicyConfiguration & GetTargetTracking() const
AWS_SAGEMAKER_API ScalingPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ScalingPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPolicy & WithTargetTracking(TargetTrackingScalingPolicyConfiguration &&value)
ScalingPolicy & WithTargetTracking(const TargetTrackingScalingPolicyConfiguration &value)
void SetTargetTracking(TargetTrackingScalingPolicyConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue