7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ProcessingInstancePreference.h>
11#include <aws/sagemaker/model/ProcessingInstanceType.h>
47 m_instanceCountHasBeenSet =
true;
48 m_instanceCount = value;
63 m_instanceTypeHasBeenSet =
true;
64 m_instanceType = value;
88 m_volumeSizeInGBHasBeenSet =
true;
89 m_volumeSizeInGB = value;
115 template <
typename VolumeKmsKeyIdT = Aws::String>
117 m_volumeKmsKeyIdHasBeenSet =
true;
118 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
120 template <
typename VolumeKmsKeyIdT = Aws::String>
138 template <
typename InstancePreferencesT = Aws::Vector<ProcessingInstancePreference>>
140 m_instancePreferencesHasBeenSet =
true;
141 m_instancePreferences = std::forward<InstancePreferencesT>(value);
143 template <
typename InstancePreferencesT = Aws::Vector<ProcessingInstancePreference>>
148 template <
typename InstancePreferencesT = ProcessingInstancePreference>
150 m_instancePreferencesHasBeenSet =
true;
151 m_instancePreferences.emplace_back(std::forward<InstancePreferencesT>(value));
167 m_selectedInstanceTypeHasBeenSet =
true;
168 m_selectedInstanceType = value;
187 m_selectedInstanceCountHasBeenSet =
true;
188 m_selectedInstanceCount = value;
196 int m_instanceCount{0};
200 int m_volumeSizeInGB{0};
208 int m_selectedInstanceCount{0};
209 bool m_instanceCountHasBeenSet =
false;
210 bool m_instanceTypeHasBeenSet =
false;
211 bool m_volumeSizeInGBHasBeenSet =
false;
212 bool m_volumeKmsKeyIdHasBeenSet =
false;
213 bool m_instancePreferencesHasBeenSet =
false;
214 bool m_selectedInstanceTypeHasBeenSet =
false;
215 bool m_selectedInstanceCountHasBeenSet =
false;
void SetInstancePreferences(InstancePreferencesT &&value)
ProcessingClusterConfig & WithVolumeSizeInGB(int value)
AWS_SAGEMAKER_API ProcessingClusterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSelectedInstanceCount(int value)
const Aws::String & GetVolumeKmsKeyId() const
ProcessingInstanceType GetSelectedInstanceType() const
bool InstancePreferencesHasBeenSet() const
void SetVolumeSizeInGB(int value)
int GetSelectedInstanceCount() const
ProcessingClusterConfig & WithSelectedInstanceType(ProcessingInstanceType value)
void SetInstanceCount(int value)
ProcessingClusterConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
bool InstanceTypeHasBeenSet() const
ProcessingClusterConfig & WithInstanceType(ProcessingInstanceType value)
void SetInstanceType(ProcessingInstanceType value)
ProcessingClusterConfig & WithSelectedInstanceCount(int value)
int GetVolumeSizeInGB() const
bool VolumeSizeInGBHasBeenSet() const
bool InstanceCountHasBeenSet() const
int GetInstanceCount() const
bool VolumeKmsKeyIdHasBeenSet() const
bool SelectedInstanceTypeHasBeenSet() const
ProcessingClusterConfig & AddInstancePreferences(InstancePreferencesT &&value)
AWS_SAGEMAKER_API ProcessingClusterConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ProcessingClusterConfig()=default
ProcessingClusterConfig & WithInstanceCount(int value)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
ProcessingInstanceType GetInstanceType() const
const Aws::Vector< ProcessingInstancePreference > & GetInstancePreferences() const
bool SelectedInstanceCountHasBeenSet() const
void SetSelectedInstanceType(ProcessingInstanceType value)
ProcessingClusterConfig & WithInstancePreferences(InstancePreferencesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue