AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InferenceComponentCapacitySize.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/InferenceComponentCapacitySizeType.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
39 {
40 public:
41 AWS_SAGEMAKER_API InferenceComponentCapacitySize() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
54 inline InferenceComponentCapacitySizeType GetType() const { return m_type; }
55 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
56 inline void SetType(InferenceComponentCapacitySizeType value) { m_typeHasBeenSet = true; m_type = value; }
59
61
65 inline int GetValue() const { return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
68 inline InferenceComponentCapacitySize& WithValue(int value) { SetValue(value); return *this;}
70 private:
71
73 bool m_typeHasBeenSet = false;
74
75 int m_value{0};
76 bool m_valueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
void SetType(InferenceComponentCapacitySizeType value)
AWS_SAGEMAKER_API InferenceComponentCapacitySize(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API InferenceComponentCapacitySize & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceComponentCapacitySize & WithType(InferenceComponentCapacitySizeType value)
AWS_SAGEMAKER_API InferenceComponentCapacitySize()=default
Aws::Utils::Json::JsonValue JsonValue