AWS SDK for C++  1.9.160
AWS SDK for C++
ProcessingClusterConfig.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 ProcessingClusterConfig& 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 ProcessingClusterConfig& WithInstanceType(const ProcessingInstanceType& value) { SetInstanceType(value); return *this;}
95 
99  inline ProcessingClusterConfig& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
100 
101 
114  inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
115 
128  inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
129 
142  inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
143 
156  inline ProcessingClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
157 
158 
174  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
175 
191  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
192 
208  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
209 
225  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
226 
242  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
243 
259  inline ProcessingClusterConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
260 
276  inline ProcessingClusterConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
277 
293  inline ProcessingClusterConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
294 
295  private:
296 
297  int m_instanceCount;
298  bool m_instanceCountHasBeenSet;
299 
300  ProcessingInstanceType m_instanceType;
301  bool m_instanceTypeHasBeenSet;
302 
303  int m_volumeSizeInGB;
304  bool m_volumeSizeInGBHasBeenSet;
305 
306  Aws::String m_volumeKmsKeyId;
307  bool m_volumeKmsKeyIdHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace SageMaker
312 } // namespace Aws
Aws::SageMaker::Model::ProcessingClusterConfig::WithVolumeKmsKeyId
ProcessingClusterConfig & WithVolumeKmsKeyId(Aws::String &&value)
Definition: ProcessingClusterConfig.h:276
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ProcessingClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: ProcessingClusterConfig.h:225
Aws::SageMaker::Model::ProcessingClusterConfig::WithVolumeKmsKeyId
ProcessingClusterConfig & WithVolumeKmsKeyId(const Aws::String &value)
Definition: ProcessingClusterConfig.h:259
Aws::SageMaker::Model::ProcessingClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: ProcessingClusterConfig.h:242
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ProcessingClusterConfig::WithVolumeSizeInGB
ProcessingClusterConfig & WithVolumeSizeInGB(int value)
Definition: ProcessingClusterConfig.h:156
Aws::SageMaker::Model::ProcessingClusterConfig::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: ProcessingClusterConfig.h:174
Aws::SageMaker::Model::ProcessingClusterConfig::SetVolumeSizeInGB
void SetVolumeSizeInGB(int value)
Definition: ProcessingClusterConfig.h:142
Aws::SageMaker::Model::ProcessingClusterConfig::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: ProcessingClusterConfig.h:191
Aws::SageMaker::Model::ProcessingClusterConfig::GetVolumeSizeInGB
int GetVolumeSizeInGB() const
Definition: ProcessingClusterConfig.h:114
Aws::SageMaker::Model::ProcessingClusterConfig::WithInstanceType
ProcessingClusterConfig & WithInstanceType(ProcessingInstanceType &&value)
Definition: ProcessingClusterConfig.h:99
Aws::SageMaker::Model::ProcessingClusterConfig::WithInstanceCount
ProcessingClusterConfig & WithInstanceCount(int value)
Definition: ProcessingClusterConfig.h:68
Aws::SageMaker::Model::ProcessingClusterConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ProcessingClusterConfig::GetInstanceCount
int GetInstanceCount() const
Definition: ProcessingClusterConfig.h:47
Aws::SageMaker::Model::ProcessingClusterConfig::operator=
ProcessingClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProcessingClusterConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: ProcessingClusterConfig.h:208
Aws::SageMaker::Model::ProcessingClusterConfig::VolumeSizeInGBHasBeenSet
bool VolumeSizeInGBHasBeenSet() const
Definition: ProcessingClusterConfig.h:128
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ProcessingClusterConfig::SetInstanceType
void SetInstanceType(ProcessingInstanceType &&value)
Definition: ProcessingClusterConfig.h:89
Aws::SageMaker::Model::ProcessingClusterConfig
Definition: ProcessingClusterConfig.h:34
Aws::SageMaker::Model::ProcessingClusterConfig::WithVolumeKmsKeyId
ProcessingClusterConfig & WithVolumeKmsKeyId(const char *value)
Definition: ProcessingClusterConfig.h:293
Aws::SageMaker::Model::ProcessingClusterConfig::WithInstanceType
ProcessingClusterConfig & WithInstanceType(const ProcessingInstanceType &value)
Definition: ProcessingClusterConfig.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ProcessingClusterConfig::GetInstanceType
const ProcessingInstanceType & GetInstanceType() const
Definition: ProcessingClusterConfig.h:74
ProcessingInstanceType.h
Aws::SageMaker::Model::ProcessingClusterConfig::ProcessingClusterConfig
ProcessingClusterConfig()
Aws::SageMaker::Model::ProcessingClusterConfig::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: ProcessingClusterConfig.h:54
Aws::SageMaker::Model::ProcessingClusterConfig::SetInstanceType
void SetInstanceType(const ProcessingInstanceType &value)
Definition: ProcessingClusterConfig.h:84
Aws::SageMaker::Model::ProcessingClusterConfig::SetInstanceCount
void SetInstanceCount(int value)
Definition: ProcessingClusterConfig.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ProcessingClusterConfig::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: ProcessingClusterConfig.h:79
Aws::SageMaker::Model::ProcessingClusterConfig::ProcessingClusterConfig
ProcessingClusterConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProcessingInstanceType
ProcessingInstanceType
Definition: ProcessingInstanceType.h:17