AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MonitoringNetworkConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/VpcConfig.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API MonitoringNetworkConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
49 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
50 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
53
55
59 inline bool GetEnableNetworkIsolation() const { return m_enableNetworkIsolation; }
60 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
61 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
64
66
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 MonitoringNetworkConfig& WithVpcConfig(VpcConfigT&& value) { SetVpcConfig(std::forward<VpcConfigT>(value)); return *this;}
74 private:
75
76 bool m_enableInterContainerTrafficEncryption{false};
77 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
78
79 bool m_enableNetworkIsolation{false};
80 bool m_enableNetworkIsolationHasBeenSet = false;
81
82 VpcConfig m_vpcConfig;
83 bool m_vpcConfigHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SageMaker
88} // namespace Aws
AWS_SAGEMAKER_API MonitoringNetworkConfig()=default
AWS_SAGEMAKER_API MonitoringNetworkConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringNetworkConfig & WithEnableInterContainerTrafficEncryption(bool value)
MonitoringNetworkConfig & WithVpcConfig(VpcConfigT &&value)
AWS_SAGEMAKER_API MonitoringNetworkConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringNetworkConfig & WithEnableNetworkIsolation(bool value)
Aws::Utils::Json::JsonValue JsonValue