AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 TransformInstanceType GetInstanceType() const { return m_instanceType; }
49 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
50 inline void SetInstanceType(TransformInstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
53
55
60 inline int GetInstanceCount() const { return m_instanceCount; }
61 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
62 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
63 inline TransformResources& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
65
67
89 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
90 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
91 template<typename VolumeKmsKeyIdT = Aws::String>
92 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
93 template<typename VolumeKmsKeyIdT = Aws::String>
94 TransformResources& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
96
98
107 inline const Aws::String& GetTransformAmiVersion() const { return m_transformAmiVersion; }
108 inline bool TransformAmiVersionHasBeenSet() const { return m_transformAmiVersionHasBeenSet; }
109 template<typename TransformAmiVersionT = Aws::String>
110 void SetTransformAmiVersion(TransformAmiVersionT&& value) { m_transformAmiVersionHasBeenSet = true; m_transformAmiVersion = std::forward<TransformAmiVersionT>(value); }
111 template<typename TransformAmiVersionT = Aws::String>
112 TransformResources& WithTransformAmiVersion(TransformAmiVersionT&& value) { SetTransformAmiVersion(std::forward<TransformAmiVersionT>(value)); return *this;}
114 private:
115
117 bool m_instanceTypeHasBeenSet = false;
118
119 int m_instanceCount{0};
120 bool m_instanceCountHasBeenSet = false;
121
122 Aws::String m_volumeKmsKeyId;
123 bool m_volumeKmsKeyIdHasBeenSet = false;
124
125 Aws::String m_transformAmiVersion;
126 bool m_transformAmiVersionHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace SageMaker
131} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTransformAmiVersion() const
TransformResources & WithInstanceCount(int value)
AWS_SAGEMAKER_API TransformResources(Aws::Utils::Json::JsonView jsonValue)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_SAGEMAKER_API TransformResources()=default
TransformResources & WithInstanceType(TransformInstanceType value)
TransformResources & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
void SetTransformAmiVersion(TransformAmiVersionT &&value)
TransformInstanceType GetInstanceType() const
void SetInstanceType(TransformInstanceType value)
AWS_SAGEMAKER_API TransformResources & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVolumeKmsKeyId() const
TransformResources & WithTransformAmiVersion(TransformAmiVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue