AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 ProcessingClusterConfig& WithInstanceType(ProcessingInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
65
67
79 inline int GetVolumeSizeInGB() const{ return m_volumeSizeInGB; }
80 inline bool VolumeSizeInGBHasBeenSet() const { return m_volumeSizeInGBHasBeenSet; }
81 inline void SetVolumeSizeInGB(int value) { m_volumeSizeInGBHasBeenSet = true; m_volumeSizeInGB = value; }
82 inline ProcessingClusterConfig& WithVolumeSizeInGB(int value) { SetVolumeSizeInGB(value); return *this;}
84
86
101 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
102 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
103 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
104 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
105 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
106 inline ProcessingClusterConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
107 inline ProcessingClusterConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
108 inline ProcessingClusterConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
110 private:
111
112 int m_instanceCount;
113 bool m_instanceCountHasBeenSet = false;
114
115 ProcessingInstanceType m_instanceType;
116 bool m_instanceTypeHasBeenSet = false;
117
118 int m_volumeSizeInGB;
119 bool m_volumeSizeInGBHasBeenSet = false;
120
121 Aws::String m_volumeKmsKeyId;
122 bool m_volumeKmsKeyIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SageMaker
127} // 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(Aws::String &&value)
void SetInstanceType(const ProcessingInstanceType &value)
ProcessingClusterConfig & WithInstanceType(ProcessingInstanceType &&value)
ProcessingClusterConfig & WithInstanceType(const ProcessingInstanceType &value)
ProcessingClusterConfig & WithVolumeKmsKeyId(const Aws::String &value)
AWS_SAGEMAKER_API ProcessingClusterConfig(Aws::Utils::Json::JsonView jsonValue)
const ProcessingInstanceType & GetInstanceType() const
ProcessingClusterConfig & WithVolumeKmsKeyId(const char *value)
ProcessingClusterConfig & WithInstanceCount(int value)
void SetInstanceType(ProcessingInstanceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue