AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelingJobResourceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/VpcConfig.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
35 {
36 public:
37 AWS_SAGEMAKER_API LabelingJobResourceConfig();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
62 inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
63 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
64 inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
65 inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
66 inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
67 inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
68 inline LabelingJobResourceConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
69 inline LabelingJobResourceConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
71
73
74 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
75 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
76 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
77 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
78 inline LabelingJobResourceConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
79 inline LabelingJobResourceConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_volumeKmsKeyId;
84 bool m_volumeKmsKeyIdHasBeenSet = false;
85
86 VpcConfig m_vpcConfig;
87 bool m_vpcConfigHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // namespace Aws
AWS_SAGEMAKER_API LabelingJobResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelingJobResourceConfig & WithVolumeKmsKeyId(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobResourceConfig & WithVpcConfig(const VpcConfig &value)
LabelingJobResourceConfig & WithVpcConfig(VpcConfig &&value)
LabelingJobResourceConfig & WithVolumeKmsKeyId(const char *value)
AWS_SAGEMAKER_API LabelingJobResourceConfig(Aws::Utils::Json::JsonView jsonValue)
LabelingJobResourceConfig & WithVolumeKmsKeyId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue