AWS SDK for C++  1.9.155
AWS SDK for C++
NetworkConfig.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 
35  {
36  public:
41 
42 
49  inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
50 
57  inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
58 
65  inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
66 
73  inline NetworkConfig& WithEnableInterContainerTrafficEncryption(bool value) { SetEnableInterContainerTrafficEncryption(value); return *this;}
74 
75 
80  inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
81 
86  inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
87 
92  inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
93 
98  inline NetworkConfig& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;}
99 
100 
101 
102  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
103 
104 
105  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
106 
107 
108  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
109 
110 
111  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
112 
113 
114  inline NetworkConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
115 
116 
117  inline NetworkConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
118 
119  private:
120 
121  bool m_enableInterContainerTrafficEncryption;
122  bool m_enableInterContainerTrafficEncryptionHasBeenSet;
123 
124  bool m_enableNetworkIsolation;
125  bool m_enableNetworkIsolationHasBeenSet;
126 
127  VpcConfig m_vpcConfig;
128  bool m_vpcConfigHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SageMaker
133 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
VpcConfig.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::NetworkConfig::WithEnableNetworkIsolation
NetworkConfig & WithEnableNetworkIsolation(bool value)
Definition: NetworkConfig.h:98
Aws::SageMaker::Model::NetworkConfig::EnableInterContainerTrafficEncryptionHasBeenSet
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
Definition: NetworkConfig.h:57
Aws::SageMaker::Model::NetworkConfig::NetworkConfig
NetworkConfig()
Aws::SageMaker::Model::NetworkConfig
Definition: NetworkConfig.h:35
Aws::SageMaker::Model::NetworkConfig::WithEnableInterContainerTrafficEncryption
NetworkConfig & WithEnableInterContainerTrafficEncryption(bool value)
Definition: NetworkConfig.h:73
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::NetworkConfig::operator=
NetworkConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NetworkConfig::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: NetworkConfig.h:108
Aws::SageMaker::Model::NetworkConfig::NetworkConfig
NetworkConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NetworkConfig::WithVpcConfig
NetworkConfig & WithVpcConfig(VpcConfig &&value)
Definition: NetworkConfig.h:117
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::NetworkConfig::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: NetworkConfig.h:105
Aws::SageMaker::Model::NetworkConfig::EnableNetworkIsolationHasBeenSet
bool EnableNetworkIsolationHasBeenSet() const
Definition: NetworkConfig.h:86
Aws::SageMaker::Model::NetworkConfig::GetEnableNetworkIsolation
bool GetEnableNetworkIsolation() const
Definition: NetworkConfig.h:80
Aws::SageMaker::Model::NetworkConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::NetworkConfig::SetEnableInterContainerTrafficEncryption
void SetEnableInterContainerTrafficEncryption(bool value)
Definition: NetworkConfig.h:65
Aws::SageMaker::Model::VpcConfig
Definition: VpcConfig.h:40
Aws::SageMaker::Model::NetworkConfig::WithVpcConfig
NetworkConfig & WithVpcConfig(const VpcConfig &value)
Definition: NetworkConfig.h:114
Aws::SageMaker::Model::NetworkConfig::SetEnableNetworkIsolation
void SetEnableNetworkIsolation(bool value)
Definition: NetworkConfig.h:92
Aws::SageMaker::Model::NetworkConfig::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: NetworkConfig.h:111
Aws::SageMaker::Model::NetworkConfig::GetEnableInterContainerTrafficEncryption
bool GetEnableInterContainerTrafficEncryption() const
Definition: NetworkConfig.h:49
Aws::SageMaker::Model::NetworkConfig::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: NetworkConfig.h:102