AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ClusterAutoScalingConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterAutoScalerType.h>
9#include <aws/sagemaker/model/ClusterAutoScalingMode.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API ClusterAutoScalingConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline ClusterAutoScalingMode GetMode() const { return m_mode; }
42 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
43 inline void SetMode(ClusterAutoScalingMode value) {
44 m_modeHasBeenSet = true;
45 m_mode = value;
46 }
48 SetMode(value);
49 return *this;
50 }
52
54
58 inline ClusterAutoScalerType GetAutoScalerType() const { return m_autoScalerType; }
59 inline bool AutoScalerTypeHasBeenSet() const { return m_autoScalerTypeHasBeenSet; }
61 m_autoScalerTypeHasBeenSet = true;
62 m_autoScalerType = value;
63 }
65 SetAutoScalerType(value);
66 return *this;
67 }
69 private:
71
73 bool m_modeHasBeenSet = false;
74 bool m_autoScalerTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SageMaker
79} // 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