AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelingJobResourceConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/VpcConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
31 public:
32 AWS_SAGEMAKER_API LabelingJobResourceConfig() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
56 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
57 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
58 template <typename VolumeKmsKeyIdT = Aws::String>
59 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
60 m_volumeKmsKeyIdHasBeenSet = true;
61 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
62 }
63 template <typename VolumeKmsKeyIdT = Aws::String>
65 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
66 return *this;
67 }
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) {
76 m_vpcConfigHasBeenSet = true;
77 m_vpcConfig = std::forward<VpcConfigT>(value);
78 }
79 template <typename VpcConfigT = VpcConfig>
81 SetVpcConfig(std::forward<VpcConfigT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_volumeKmsKeyId;
87
88 VpcConfig m_vpcConfig;
89 bool m_volumeKmsKeyIdHasBeenSet = false;
90 bool m_vpcConfigHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace SageMaker
95} // 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