AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MonitoringClusterConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ProcessingInstanceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API MonitoringClusterConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline int GetInstanceCount() const { return m_instanceCount; }
49 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
50 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
51 inline MonitoringClusterConfig& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
53
55
58 inline ProcessingInstanceType GetInstanceType() const { return m_instanceType; }
59 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
60 inline void SetInstanceType(ProcessingInstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
63
65
69 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
70 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
71 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
72 inline MonitoringClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
74
76
81 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
82 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
83 template<typename VolumeKmsKeyIdT = Aws::String>
84 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
85 template<typename VolumeKmsKeyIdT = Aws::String>
86 MonitoringClusterConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
88 private:
89
90 int m_instanceCount{0};
91 bool m_instanceCountHasBeenSet = false;
92
94 bool m_instanceTypeHasBeenSet = false;
95
96 int m_volumeSizeInGB{0};
97 bool m_volumeSizeInGBHasBeenSet = false;
98
99 Aws::String m_volumeKmsKeyId;
100 bool m_volumeKmsKeyIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace SageMaker
105} // namespace Aws
MonitoringClusterConfig & WithInstanceType(ProcessingInstanceType value)
AWS_SAGEMAKER_API MonitoringClusterConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API MonitoringClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringClusterConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
MonitoringClusterConfig & WithInstanceCount(int value)
AWS_SAGEMAKER_API MonitoringClusterConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringClusterConfig & WithVolumeSizeInGB(int value)
void SetInstanceType(ProcessingInstanceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue