AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AutoMLSecurityConfig.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
33 {
34 public:
35 AWS_SAGEMAKER_API AutoMLSecurityConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
46 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
47 template<typename VolumeKmsKeyIdT = Aws::String>
48 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value); }
49 template<typename VolumeKmsKeyIdT = Aws::String>
50 AutoMLSecurityConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) { SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value)); return *this;}
52
54
57 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
58 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
59 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
62
64
67 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
68 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
69 template<typename VpcConfigT = VpcConfig>
70 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::forward<VpcConfigT>(value); }
71 template<typename VpcConfigT = VpcConfig>
72 AutoMLSecurityConfig& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
74 private:
75
76 Aws::String m_volumeKmsKeyId;
77 bool m_volumeKmsKeyIdHasBeenSet = false;
78
79 bool m_enableInterContainerTrafficEncryption{false};
80 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
81
82 VpcConfig m_vpcConfig;
83 bool m_vpcConfigHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SageMaker
88} // namespace Aws
AutoMLSecurityConfig & WithVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
void SetVolumeKmsKeyId(VolumeKmsKeyIdT &&value)
AWS_SAGEMAKER_API AutoMLSecurityConfig()=default
AWS_SAGEMAKER_API AutoMLSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AutoMLSecurityConfig(Aws::Utils::Json::JsonView jsonValue)
AutoMLSecurityConfig & WithVpcConfig(VpcConfigT &&value)
AutoMLSecurityConfig & WithEnableInterContainerTrafficEncryption(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue