AWS SDK for C++  1.9.124
AWS SDK for C++
TransformResources.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 const TransformInstanceType& GetInstanceType() const{ return m_instanceType; }
48 
54  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
55 
61  inline void SetInstanceType(const TransformInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
62 
68  inline void SetInstanceType(TransformInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
69 
75  inline TransformResources& WithInstanceType(const TransformInstanceType& value) { SetInstanceType(value); return *this;}
76 
82  inline TransformResources& WithInstanceType(TransformInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
83 
84 
90  inline int GetInstanceCount() const{ return m_instanceCount; }
91 
97  inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
98 
104  inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
105 
111  inline TransformResources& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
112 
113 
136  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
137 
160  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
161 
184  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
185 
208  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
209 
232  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
233 
256  inline TransformResources& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
257 
280  inline TransformResources& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
281 
304  inline TransformResources& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
305 
306  private:
307 
308  TransformInstanceType m_instanceType;
309  bool m_instanceTypeHasBeenSet;
310 
311  int m_instanceCount;
312  bool m_instanceCountHasBeenSet;
313 
314  Aws::String m_volumeKmsKeyId;
315  bool m_volumeKmsKeyIdHasBeenSet;
316  };
317 
318 } // namespace Model
319 } // namespace SageMaker
320 } // namespace Aws
Aws::SageMaker::Model::TransformResources::WithVolumeKmsKeyId
TransformResources & WithVolumeKmsKeyId(Aws::String &&value)
Definition: TransformResources.h:280
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TransformResources::operator=
TransformResources & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TransformResources::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: TransformResources.h:54
Aws::SageMaker::Model::TransformResources
Definition: TransformResources.h:34
Aws::SageMaker::Model::TransformResources::GetInstanceCount
int GetInstanceCount() const
Definition: TransformResources.h:90
Aws::SageMaker::Model::TransformResources::SetInstanceCount
void SetInstanceCount(int value)
Definition: TransformResources.h:104
Aws::SageMaker::Model::TransformResources::WithVolumeKmsKeyId
TransformResources & WithVolumeKmsKeyId(const Aws::String &value)
Definition: TransformResources.h:256
Aws::SageMaker::Model::TransformResources::GetInstanceType
const TransformInstanceType & GetInstanceType() const
Definition: TransformResources.h:47
Aws::SageMaker::Model::TransformResources::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: TransformResources.h:184
Aws::SageMaker::Model::TransformResources::WithInstanceType
TransformResources & WithInstanceType(const TransformInstanceType &value)
Definition: TransformResources.h:75
Aws::SageMaker::Model::TransformResources::InstanceCountHasBeenSet
bool InstanceCountHasBeenSet() const
Definition: TransformResources.h:97
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TransformInstanceType
TransformInstanceType
Definition: TransformInstanceType.h:17
TransformInstanceType.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TransformResources::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TransformResources::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: TransformResources.h:160
Aws::SageMaker::Model::TransformResources::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: TransformResources.h:208
Aws::SageMaker::Model::TransformResources::TransformResources
TransformResources()
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TransformResources::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: TransformResources.h:136
Aws::SageMaker::Model::TransformResources::WithVolumeKmsKeyId
TransformResources & WithVolumeKmsKeyId(const char *value)
Definition: TransformResources.h:304
Aws::SageMaker::Model::TransformResources::TransformResources
TransformResources(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TransformResources::SetInstanceType
void SetInstanceType(const TransformInstanceType &value)
Definition: TransformResources.h:61
Aws::SageMaker::Model::TransformResources::SetInstanceType
void SetInstanceType(TransformInstanceType &&value)
Definition: TransformResources.h:68
Aws::SageMaker::Model::TransformResources::WithInstanceType
TransformResources & WithInstanceType(TransformInstanceType &&value)
Definition: TransformResources.h:82
Aws::SageMaker::Model::TransformResources::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: TransformResources.h:232
Aws::SageMaker::Model::TransformResources::WithInstanceCount
TransformResources & WithInstanceCount(int value)
Definition: TransformResources.h:111