AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ComputeQuotaResourceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterInstanceType.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
33 {
34 public:
35 AWS_SAGEMAKER_API ComputeQuotaResourceConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline ClusterInstanceType GetInstanceType() const { return m_instanceType; }
46 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
47 inline void SetInstanceType(ClusterInstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
50
52
56 inline int GetCount() const { return m_count; }
57 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
58 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
59 inline ComputeQuotaResourceConfig& WithCount(int value) { SetCount(value); return *this;}
61 private:
62
64 bool m_instanceTypeHasBeenSet = false;
65
66 int m_count{0};
67 bool m_countHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SageMaker
72} // namespace Aws
AWS_SAGEMAKER_API ComputeQuotaResourceConfig()=default
AWS_SAGEMAKER_API ComputeQuotaResourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ComputeQuotaResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeQuotaResourceConfig & WithInstanceType(ClusterInstanceType value)
Aws::Utils::Json::JsonValue JsonValue