AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransformResources.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TransformInstanceType.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 TransformResources();
37 AWS_SAGEMAKER_API TransformResources(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const TransformInstanceType& GetInstanceType() const{ return m_instanceType; }
49 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
50 inline void SetInstanceType(const TransformInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
51 inline void SetInstanceType(TransformInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
52 inline TransformResources& WithInstanceType(const TransformInstanceType& value) { SetInstanceType(value); return *this;}
53 inline TransformResources& WithInstanceType(TransformInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
55
57
62 inline int GetInstanceCount() const{ return m_instanceCount; }
63 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
64 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
65 inline TransformResources& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
67
69
91 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
92 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
93 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
94 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
95 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
96 inline TransformResources& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
97 inline TransformResources& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
98 inline TransformResources& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
100 private:
101
102 TransformInstanceType m_instanceType;
103 bool m_instanceTypeHasBeenSet = false;
104
105 int m_instanceCount;
106 bool m_instanceCountHasBeenSet = false;
107
108 Aws::String m_volumeKmsKeyId;
109 bool m_volumeKmsKeyIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
TransformResources & WithInstanceType(const TransformInstanceType &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TransformResources & WithInstanceCount(int value)
AWS_SAGEMAKER_API TransformResources(Aws::Utils::Json::JsonView jsonValue)
TransformResources & WithVolumeKmsKeyId(const char *value)
TransformResources & WithVolumeKmsKeyId(const Aws::String &value)
const TransformInstanceType & GetInstanceType() const
TransformResources & WithVolumeKmsKeyId(Aws::String &&value)
void SetVolumeKmsKeyId(const Aws::String &value)
TransformResources & WithInstanceType(TransformInstanceType &&value)
AWS_SAGEMAKER_API TransformResources & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(const TransformInstanceType &value)
void SetInstanceType(TransformInstanceType &&value)
const Aws::String & GetVolumeKmsKeyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue