AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacitySize.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CapacitySizeType.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
38 {
39 public:
40 AWS_SAGEMAKER_API CapacitySize();
41 AWS_SAGEMAKER_API CapacitySize(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API CapacitySize& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const CapacitySizeType& GetType() const{ return m_type; }
54 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
55 inline void SetType(const CapacitySizeType& value) { m_typeHasBeenSet = true; m_type = value; }
56 inline void SetType(CapacitySizeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
57 inline CapacitySize& WithType(const CapacitySizeType& value) { SetType(value); return *this;}
58 inline CapacitySize& WithType(CapacitySizeType&& value) { SetType(std::move(value)); return *this;}
60
62
66 inline int GetValue() const{ return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
69 inline CapacitySize& WithValue(int value) { SetValue(value); return *this;}
71 private:
72
73 CapacitySizeType m_type;
74 bool m_typeHasBeenSet = false;
75
76 int m_value;
77 bool m_valueHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
CapacitySize & WithType(const CapacitySizeType &value)
const CapacitySizeType & GetType() const
CapacitySize & WithType(CapacitySizeType &&value)
AWS_SAGEMAKER_API CapacitySize(Aws::Utils::Json::JsonView jsonValue)
void SetType(const CapacitySizeType &value)
void SetType(CapacitySizeType &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CapacitySize & WithValue(int value)
AWS_SAGEMAKER_API CapacitySize & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue