AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AutoMLSecurityConfig.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
29 public:
30 AWS_SAGEMAKER_API AutoMLSecurityConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetVolumeKmsKeyId() const { return m_volumeKmsKeyId; }
40 inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
41 template <typename VolumeKmsKeyIdT = Aws::String>
42 void SetVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
43 m_volumeKmsKeyIdHasBeenSet = true;
44 m_volumeKmsKeyId = std::forward<VolumeKmsKeyIdT>(value);
45 }
46 template <typename VolumeKmsKeyIdT = Aws::String>
47 AutoMLSecurityConfig& WithVolumeKmsKeyId(VolumeKmsKeyIdT&& value) {
48 SetVolumeKmsKeyId(std::forward<VolumeKmsKeyIdT>(value));
49 return *this;
50 }
52
54
57 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
58 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
60 m_enableInterContainerTrafficEncryptionHasBeenSet = true;
61 m_enableInterContainerTrafficEncryption = value;
62 }
65 return *this;
66 }
68
70
73 inline const VpcConfig& GetVpcConfig() const { return m_vpcConfig; }
74 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
75 template <typename VpcConfigT = VpcConfig>
76 void SetVpcConfig(VpcConfigT&& value) {
77 m_vpcConfigHasBeenSet = true;
78 m_vpcConfig = std::forward<VpcConfigT>(value);
79 }
80 template <typename VpcConfigT = VpcConfig>
81 AutoMLSecurityConfig& WithVpcConfig(VpcConfigT&& value) {
82 SetVpcConfig(std::forward<VpcConfigT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_volumeKmsKeyId;
88
89 bool m_enableInterContainerTrafficEncryption{false};
90
91 VpcConfig m_vpcConfig;
92 bool m_volumeKmsKeyIdHasBeenSet = false;
93 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
94 bool m_vpcConfigHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMaker
99} // 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