AWS SDK for C++  1.9.159
AWS SDK for C++
MonitoringNetworkConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
47  inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
48 
55  inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
56 
63  inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
64 
71  inline MonitoringNetworkConfig& WithEnableInterContainerTrafficEncryption(bool value) { SetEnableInterContainerTrafficEncryption(value); return *this;}
72 
73 
78  inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
79 
84  inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
85 
90  inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
91 
96  inline MonitoringNetworkConfig& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;}
97 
98 
99 
100  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
101 
102 
103  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
104 
105 
106  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
107 
108 
109  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
110 
111 
112  inline MonitoringNetworkConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
113 
114 
115  inline MonitoringNetworkConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
116 
117  private:
118 
119  bool m_enableInterContainerTrafficEncryption;
120  bool m_enableInterContainerTrafficEncryptionHasBeenSet;
121 
122  bool m_enableNetworkIsolation;
123  bool m_enableNetworkIsolationHasBeenSet;
124 
125  VpcConfig m_vpcConfig;
126  bool m_vpcConfigHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SageMaker::Model::MonitoringNetworkConfig::WithEnableNetworkIsolation
MonitoringNetworkConfig & WithEnableNetworkIsolation(bool value)
Definition: MonitoringNetworkConfig.h:96
Aws::SageMaker::Model::MonitoringNetworkConfig::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: MonitoringNetworkConfig.h:103
Aws::SageMaker::Model::MonitoringNetworkConfig::SetEnableInterContainerTrafficEncryption
void SetEnableInterContainerTrafficEncryption(bool value)
Definition: MonitoringNetworkConfig.h:63
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
VpcConfig.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MonitoringNetworkConfig::SetEnableNetworkIsolation
void SetEnableNetworkIsolation(bool value)
Definition: MonitoringNetworkConfig.h:90
Aws::SageMaker::Model::MonitoringNetworkConfig::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: MonitoringNetworkConfig.h:100
Aws::SageMaker::Model::MonitoringNetworkConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MonitoringNetworkConfig::WithVpcConfig
MonitoringNetworkConfig & WithVpcConfig(VpcConfig &&value)
Definition: MonitoringNetworkConfig.h:115
Aws::SageMaker::Model::MonitoringNetworkConfig::MonitoringNetworkConfig
MonitoringNetworkConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MonitoringNetworkConfig::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: MonitoringNetworkConfig.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::MonitoringNetworkConfig
Definition: MonitoringNetworkConfig.h:33
Aws::SageMaker::Model::MonitoringNetworkConfig::GetEnableInterContainerTrafficEncryption
bool GetEnableInterContainerTrafficEncryption() const
Definition: MonitoringNetworkConfig.h:47
Aws::SageMaker::Model::MonitoringNetworkConfig::WithVpcConfig
MonitoringNetworkConfig & WithVpcConfig(const VpcConfig &value)
Definition: MonitoringNetworkConfig.h:112
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MonitoringNetworkConfig::operator=
MonitoringNetworkConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MonitoringNetworkConfig::WithEnableInterContainerTrafficEncryption
MonitoringNetworkConfig & WithEnableInterContainerTrafficEncryption(bool value)
Definition: MonitoringNetworkConfig.h:71
Aws::SageMaker::Model::VpcConfig
Definition: VpcConfig.h:40
Aws::SageMaker::Model::MonitoringNetworkConfig::EnableNetworkIsolationHasBeenSet
bool EnableNetworkIsolationHasBeenSet() const
Definition: MonitoringNetworkConfig.h:84
Aws::SageMaker::Model::MonitoringNetworkConfig::EnableInterContainerTrafficEncryptionHasBeenSet
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
Definition: MonitoringNetworkConfig.h:55
Aws::SageMaker::Model::MonitoringNetworkConfig::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: MonitoringNetworkConfig.h:109
Aws::SageMaker::Model::MonitoringNetworkConfig::GetEnableNetworkIsolation
bool GetEnableNetworkIsolation() const
Definition: MonitoringNetworkConfig.h:78
Aws::SageMaker::Model::MonitoringNetworkConfig::MonitoringNetworkConfig
MonitoringNetworkConfig()