AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProcessingClusterConfig.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 ProcessingClusterConfig() = 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 ProcessingClusterConfig& 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
77 inline int GetVolumeSizeInGB() const { return m_volumeSizeInGB; }
78 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
79 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
80 inline ProcessingClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
82
84
99 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
100 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
101 template<typename VolumeKmsKeyIdT = Aws::String>
102 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
103 template<typename VolumeKmsKeyIdT = Aws::String>
104 ProcessingClusterConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
106 private:
107
108 int m_instanceCount{0};
109 bool m_instanceCountHasBeenSet = false;
110
112 bool m_instanceTypeHasBeenSet = false;
113
114 int m_volumeSizeInGB{0};
115 bool m_volumeSizeInGBHasBeenSet = false;
116
117 Aws::String m_volumeKmsKeyId;
118 bool m_volumeKmsKeyIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
ProcessingClusterConfig & WithVolumeSizeInGB(int value)
AWS_SAGEMAKER_API ProcessingClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessingClusterConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
ProcessingClusterConfig & WithInstanceType(ProcessingInstanceType value)
void SetInstanceType(ProcessingInstanceType value)
AWS_SAGEMAKER_API ProcessingClusterConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ProcessingClusterConfig()=default
ProcessingClusterConfig & WithInstanceCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue