AWS SDK for C++  1.9.160
AWS SDK for C++
MonitoringClusterConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
47  inline int GetInstanceCount() const{ return m_instanceCount; }
48 
54  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
55 
61  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
62 
68  inline MonitoringClusterConfig& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
69 
70 
74  inline const ProcessingInstanceType& GetInstanceType() const{ return m_instanceType; }
75 
79  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
80 
84  inline void SetInstanceType(const ProcessingInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
85 
89  inline void SetInstanceType(ProcessingInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
90 
94  inline MonitoringClusterConfig& WithInstanceType(const ProcessingInstanceType& value) { SetInstanceType(value); return *this;}
95 
99  inline MonitoringClusterConfig& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
100 
101 
106  inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
107 
112  inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
113 
118  inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
119 
124  inline MonitoringClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
125 
126 
132  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
133 
139  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
140 
146  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
147 
153  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
154 
160  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
161 
167  inline MonitoringClusterConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
168 
174  inline MonitoringClusterConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
175 
181  inline MonitoringClusterConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
182 
183  private:
184 
185  int m_instanceCount;
186  bool m_instanceCountHasBeenSet;
187 
188  ProcessingInstanceType m_instanceType;
189  bool m_instanceTypeHasBeenSet;
190 
191  int m_volumeSizeInGB;
192  bool m_volumeSizeInGBHasBeenSet;
193 
194  Aws::String m_volumeKmsKeyId;
195  bool m_volumeKmsKeyIdHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace SageMaker
200 } // namespace Aws
Aws::SageMaker::Model::MonitoringClusterConfig::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: MonitoringClusterConfig.h:54
Aws::SageMaker::Model::MonitoringClusterConfig::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: MonitoringClusterConfig.h:79
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MonitoringClusterConfig::WithInstanceCount
MonitoringClusterConfig & WithInstanceCount(int value)
Definition: MonitoringClusterConfig.h:68
Aws::SageMaker::Model::MonitoringClusterConfig::VolumeSizeInGBHasBeenSet
bool VolumeSizeInGBHasBeenSet() const
Definition: MonitoringClusterConfig.h:112
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MonitoringClusterConfig::GetInstanceType
const ProcessingInstanceType & GetInstanceType() const
Definition: MonitoringClusterConfig.h:74
Aws::SageMaker::Model::MonitoringClusterConfig::MonitoringClusterConfig
MonitoringClusterConfig()
Aws::SageMaker::Model::MonitoringClusterConfig::WithVolumeKmsKeyId
MonitoringClusterConfig & WithVolumeKmsKeyId(const char *value)
Definition: MonitoringClusterConfig.h:181
Aws::SageMaker::Model::MonitoringClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: MonitoringClusterConfig.h:153
Aws::SageMaker::Model::MonitoringClusterConfig::WithInstanceType
MonitoringClusterConfig & WithInstanceType(ProcessingInstanceType &&value)
Definition: MonitoringClusterConfig.h:99
Aws::SageMaker::Model::MonitoringClusterConfig::SetInstanceType
void SetInstanceType(const ProcessingInstanceType &value)
Definition: MonitoringClusterConfig.h:84
Aws::SageMaker::Model::MonitoringClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: MonitoringClusterConfig.h:146
Aws::SageMaker::Model::MonitoringClusterConfig::SetInstanceType
void SetInstanceType(ProcessingInstanceType &&value)
Definition: MonitoringClusterConfig.h:89
Aws::SageMaker::Model::MonitoringClusterConfig::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: MonitoringClusterConfig.h:132
Aws::SageMaker::Model::MonitoringClusterConfig::GetVolumeSizeInGB
int GetVolumeSizeInGB() const
Definition: MonitoringClusterConfig.h:106
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MonitoringClusterConfig
Definition: MonitoringClusterConfig.h:34
Aws::SageMaker::Model::MonitoringClusterConfig::operator=
MonitoringClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::MonitoringClusterConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::MonitoringClusterConfig::WithVolumeKmsKeyId
MonitoringClusterConfig & WithVolumeKmsKeyId(Aws::String &&value)
Definition: MonitoringClusterConfig.h:174
Aws::SageMaker::Model::MonitoringClusterConfig::GetInstanceCount
int GetInstanceCount() const
Definition: MonitoringClusterConfig.h:47
Aws::SageMaker::Model::MonitoringClusterConfig::WithVolumeKmsKeyId
MonitoringClusterConfig & WithVolumeKmsKeyId(const Aws::String &value)
Definition: MonitoringClusterConfig.h:167
Aws::SageMaker::Model::MonitoringClusterConfig::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: MonitoringClusterConfig.h:139
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::MonitoringClusterConfig::SetVolumeSizeInGB
void SetVolumeSizeInGB(int value)
Definition: MonitoringClusterConfig.h:118
Aws
Definition: AccessManagementClient.h:15
ProcessingInstanceType.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::MonitoringClusterConfig::SetInstanceCount
void SetInstanceCount(int value)
Definition: MonitoringClusterConfig.h:61
Aws::SageMaker::Model::MonitoringClusterConfig::WithInstanceType
MonitoringClusterConfig & WithInstanceType(const ProcessingInstanceType &value)
Definition: MonitoringClusterConfig.h:94
Aws::SageMaker::Model::MonitoringClusterConfig::MonitoringClusterConfig
MonitoringClusterConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MonitoringClusterConfig::WithVolumeSizeInGB
MonitoringClusterConfig & WithVolumeSizeInGB(int value)
Definition: MonitoringClusterConfig.h:124
Aws::SageMaker::Model::ProcessingInstanceType
ProcessingInstanceType
Definition: ProcessingInstanceType.h:17
Aws::SageMaker::Model::MonitoringClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: MonitoringClusterConfig.h:160