AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename VolumeKmsKeyIdT = Aws::String>
65 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
66 template<typename VolumeKmsKeyIdT = Aws::String>
67 LabelingJobResourceConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
69
71
72 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
73 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
74 template<typename VpcConfigT = VpcConfig>
75 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
76 template<typename VpcConfigT = VpcConfig>
77 LabelingJobResourceConfig& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
79 private:
80
81 Aws::String m_volumeKmsKeyId;
82 bool m_volumeKmsKeyIdHasBeenSet = false;
83
84 VpcConfig m_vpcConfig;
85 bool m_vpcConfigHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
AWS_SAGEMAKER_API LabelingJobResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobResourceConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_SAGEMAKER_API LabelingJobResourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API LabelingJobResourceConfig()=default
LabelingJobResourceConfig & WithVpcConfig(VpcConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue