AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AcceleratorPartitionConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/MIGProfileType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AcceleratorPartitionConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline MIGProfileType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 inline void SetType(MIGProfileType value) {
45 m_typeHasBeenSet = true;
46 m_type = value;
47 }
49 SetType(value);
50 return *this;
51 }
53
55
61 inline int GetCount() const { return m_count; }
62 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
63 inline void SetCount(int value) {
64 m_countHasBeenSet = true;
65 m_count = value;
66 }
68 SetCount(value);
69 return *this;
70 }
72 private:
74
75 int m_count{0};
76 bool m_typeHasBeenSet = false;
77 bool m_countHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
AWS_SAGEMAKER_API AcceleratorPartitionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AcceleratorPartitionConfig()=default
AWS_SAGEMAKER_API AcceleratorPartitionConfig(Aws::Utils::Json::JsonView jsonValue)
AcceleratorPartitionConfig & WithType(MIGProfileType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue