AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
ClusterTieredStorageConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClusterConfigMode.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
37 {
38 public:
39 AWS_SAGEMAKER_API ClusterTieredStorageConfig() = default;
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline ClusterConfigMode GetMode() const { return m_mode; }
54 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
55 inline void SetMode(ClusterConfigMode value) { m_modeHasBeenSet = true; m_mode = value; }
56 inline ClusterTieredStorageConfig& WithMode(ClusterConfigMode value) { SetMode(value); return *this;}
58
60
63 inline int GetInstanceMemoryAllocationPercentage() const { return m_instanceMemoryAllocationPercentage; }
64 inline bool InstanceMemoryAllocationPercentageHasBeenSet() const { return m_instanceMemoryAllocationPercentageHasBeenSet; }
65 inline void SetInstanceMemoryAllocationPercentage(int value) { m_instanceMemoryAllocationPercentageHasBeenSet = true; m_instanceMemoryAllocationPercentage = value; }
68 private:
69
71 bool m_modeHasBeenSet = false;
72
73 int m_instanceMemoryAllocationPercentage{0};
74 bool m_instanceMemoryAllocationPercentageHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
AWS_SAGEMAKER_API ClusterTieredStorageConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterTieredStorageConfig & WithMode(ClusterConfigMode value)
AWS_SAGEMAKER_API ClusterTieredStorageConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClusterTieredStorageConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterTieredStorageConfig & WithInstanceMemoryAllocationPercentage(int value)
Aws::Utils::Json::JsonValue JsonValue