AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
70 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
71 inline MonitoringNetworkConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
72 inline MonitoringNetworkConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
74 private:
75
76 bool m_enableInterContainerTrafficEncryption;
77 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
78
79 bool m_enableNetworkIsolation;
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 & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoringNetworkConfig & WithEnableInterContainerTrafficEncryption(bool value)
MonitoringNetworkConfig & WithVpcConfig(VpcConfig &&value)
AWS_SAGEMAKER_API MonitoringNetworkConfig(Aws::Utils::Json::JsonView jsonValue)
MonitoringNetworkConfig & WithVpcConfig(const VpcConfig &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoringNetworkConfig & WithEnableNetworkIsolation(bool value)
Aws::Utils::Json::JsonValue JsonValue