AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MonitoringClusterConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ProcessingInstanceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API MonitoringClusterConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline int GetInstanceCount() const { return m_instanceCount; }
43 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
44 inline void SetInstanceCount(int value) {
45 m_instanceCountHasBeenSet = true;
46 m_instanceCount = value;
47 }
49 SetInstanceCount(value);
50 return *this;
51 }
53
55
58 inline ProcessingInstanceType GetInstanceType() const { return m_instanceType; }
59 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
61 m_instanceTypeHasBeenSet = true;
62 m_instanceType = value;
63 }
65 SetInstanceType(value);
66 return *this;
67 }
69
71
75 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
76 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
77 inline void SetVolumeSizeInGB(int value) {
78 m_volumeSizeInGBHasBeenSet = true;
79 m_volumeSizeInGB = value;
80 }
82 SetVolumeSizeInGB(value);
83 return *this;
84 }
86
88
93 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
94 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
95 template <typename VolumeKmsKeyIdT = Aws::String>
96 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
97 m_volumeKmsKeyIdHasBeenSet = true;
98 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
99 }
100 template <typename VolumeKmsKeyIdT = Aws::String>
101 MonitoringClusterConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
102 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
103 return *this;
104 }
106 private:
107 int m_instanceCount{0};
108
110
111 int m_volumeSizeInGB{0};
112
113 Aws::String m_volumeKmsKeyId;
114 bool m_instanceCountHasBeenSet = false;
115 bool m_instanceTypeHasBeenSet = false;
116 bool m_volumeSizeInGBHasBeenSet = false;
117 bool m_volumeKmsKeyIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace SageMaker
122} // 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