AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
ClusterAutoScalingConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterAutoScalingMode.h>
9#include <aws/sagemaker/model/ClusterAutoScalerType.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
34 {
35 public:
36 AWS_SAGEMAKER_API ClusterAutoScalingConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline ClusterAutoScalingMode GetMode() const { return m_mode; }
48 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 inline void SetMode(ClusterAutoScalingMode value) { m_modeHasBeenSet = true; m_mode = value; }
50 inline ClusterAutoScalingConfig& WithMode(ClusterAutoScalingMode value) { SetMode(value); return *this;}
52
54
58 inline ClusterAutoScalerType GetAutoScalerType() const { return m_autoScalerType; }
59 inline bool AutoScalerTypeHasBeenSet() const { return m_autoScalerTypeHasBeenSet; }
60 inline void SetAutoScalerType(ClusterAutoScalerType value) { m_autoScalerTypeHasBeenSet = true; m_autoScalerType = value; }
63 private:
64
66 bool m_modeHasBeenSet = false;
67
69 bool m_autoScalerTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterAutoScalingConfig()=default
AWS_SAGEMAKER_API ClusterAutoScalingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterAutoScalingConfig & WithAutoScalerType(ClusterAutoScalerType value)
AWS_SAGEMAKER_API ClusterAutoScalingConfig(Aws::Utils::Json::JsonView jsonValue)
ClusterAutoScalingConfig & WithMode(ClusterAutoScalingMode value)
Aws::Utils::Json::JsonValue JsonValue