AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API MonitoringNetworkConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline bool GetEnableInterContainerTrafficEncryption() const { return m_enableInterContainerTrafficEncryption; }
43 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
45 m_enableInterContainerTrafficEncryptionHasBeenSet = true;
46 m_enableInterContainerTrafficEncryption = value;
47 }
50 return *this;
51 }
53
55
59 inline bool GetEnableNetworkIsolation() const { return m_enableNetworkIsolation; }
60 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
61 inline void SetEnableNetworkIsolation(bool value) {
62 m_enableNetworkIsolationHasBeenSet = true;
63 m_enableNetworkIsolation = value;
64 }
67 return *this;
68 }
70
72
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>
82 SetVpcConfig(std::forward<VpcConfigT>(value));
83 return *this;
84 }
86 private:
87 bool m_enableInterContainerTrafficEncryption{false};
88
89 bool m_enableNetworkIsolation{false};
90
91 VpcConfig m_vpcConfig;
92 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
93 bool m_enableNetworkIsolationHasBeenSet = false;
94 bool m_vpcConfigHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMaker
99} // 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