AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ClusterOperationScalingConfiguration.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
28 public:
29 AWS_SAGEMAKER_API ClusterOperationScalingConfiguration() = default;
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline int GetCurrentCount() const { return m_currentCount; }
40 inline bool CurrentCountHasBeenSet() const { return m_currentCountHasBeenSet; }
41 inline void SetCurrentCount(int value) {
42 m_currentCountHasBeenSet = true;
43 m_currentCount = value;
44 }
46 SetCurrentCount(value);
47 return *this;
48 }
50
52
55 inline int GetTargetCount() const { return m_targetCount; }
56 inline bool TargetCountHasBeenSet() const { return m_targetCountHasBeenSet; }
57 inline void SetTargetCount(int value) {
58 m_targetCountHasBeenSet = true;
59 m_targetCount = value;
60 }
62 SetTargetCount(value);
63 return *this;
64 }
66
68
73 inline int GetMinCount() const { return m_minCount; }
74 inline bool MinCountHasBeenSet() const { return m_minCountHasBeenSet; }
75 inline void SetMinCount(int value) {
76 m_minCountHasBeenSet = true;
77 m_minCount = value;
78 }
80 SetMinCount(value);
81 return *this;
82 }
84 private:
85 int m_currentCount{0};
86
87 int m_targetCount{0};
88
89 int m_minCount{0};
90 bool m_currentCountHasBeenSet = false;
91 bool m_targetCountHasBeenSet = false;
92 bool m_minCountHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SageMaker
97} // namespace Aws
AWS_SAGEMAKER_API ClusterOperationScalingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterOperationScalingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue