AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
ClusterAutoScalingConfigOutput.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 <aws/sagemaker/model/ClusterAutoScalingStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API ClusterAutoScalingConfigOutput() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline ClusterAutoScalingMode GetMode() const { return m_mode; }
49 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
50 inline void SetMode(ClusterAutoScalingMode value) { m_modeHasBeenSet = true; m_mode = value; }
53
55
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
65
70 inline ClusterAutoScalingStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(ClusterAutoScalingStatus value) { m_statusHasBeenSet = true; m_status = value; }
75
77
81 inline const Aws::String& GetFailureMessage() const { return m_failureMessage; }
82 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
83 template<typename FailureMessageT = Aws::String>
84 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::forward<FailureMessageT>(value); }
85 template<typename FailureMessageT = Aws::String>
86 ClusterAutoScalingConfigOutput& WithFailureMessage(FailureMessageT&& value) { SetFailureMessage(std::forward<FailureMessageT>(value)); return *this;}
88 private:
89
91 bool m_modeHasBeenSet = false;
92
94 bool m_autoScalerTypeHasBeenSet = false;
95
97 bool m_statusHasBeenSet = false;
98
99 Aws::String m_failureMessage;
100 bool m_failureMessageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
ClusterAutoScalingConfigOutput & WithMode(ClusterAutoScalingMode value)
AWS_SAGEMAKER_API ClusterAutoScalingConfigOutput(Aws::Utils::Json::JsonView jsonValue)
ClusterAutoScalingConfigOutput & WithAutoScalerType(ClusterAutoScalerType value)
ClusterAutoScalingConfigOutput & WithFailureMessage(FailureMessageT &&value)
AWS_SAGEMAKER_API ClusterAutoScalingConfigOutput()=default
AWS_SAGEMAKER_API ClusterAutoScalingConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterAutoScalingConfigOutput & WithStatus(ClusterAutoScalingStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue