AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
59 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
60 inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
61 inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
63 inline MonitoringClusterConfig& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
65
67
71 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
72 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
73 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
74 inline MonitoringClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
76
78
83 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
84 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
85 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
86 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
87 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
88 inline MonitoringClusterConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
89 inline MonitoringClusterConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
90 inline MonitoringClusterConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
92 private:
93
94 int m_instanceCount;
95 bool m_instanceCountHasBeenSet = false;
96
97 ProcessingInstanceType m_instanceType;
98 bool m_instanceTypeHasBeenSet = false;
99
100 int m_volumeSizeInGB;
101 bool m_volumeSizeInGBHasBeenSet = false;
102
103 Aws::String m_volumeKmsKeyId;
104 bool m_volumeKmsKeyIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SageMaker
109} // namespace Aws
MonitoringClusterConfig & WithVolumeKmsKeyId(const char *value)
AWS_SAGEMAKER_API MonitoringClusterConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API MonitoringClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringClusterConfig & WithVolumeKmsKeyId(const Aws::String &value)
MonitoringClusterConfig & WithInstanceCount(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringClusterConfig & WithInstanceType(ProcessingInstanceType &&value)
const ProcessingInstanceType & GetInstanceType() const
MonitoringClusterConfig & WithVolumeSizeInGB(int value)
MonitoringClusterConfig & WithVolumeKmsKeyId(Aws::String &&value)
void SetInstanceType(ProcessingInstanceType &&value)
void SetInstanceType(const ProcessingInstanceType &value)
MonitoringClusterConfig & WithInstanceType(const ProcessingInstanceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue