AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkConfig.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
35 {
36 public:
37 AWS_SAGEMAKER_API NetworkConfig();
38 AWS_SAGEMAKER_API NetworkConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API NetworkConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
51 inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
52 inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
55
57
61 inline bool GetEnableNetworkIsolation() const{ return m_enableNetworkIsolation; }
62 inline bool EnableNetworkIsolationHasBeenSet() const { return m_enableNetworkIsolationHasBeenSet; }
63 inline void SetEnableNetworkIsolation(bool value) { m_enableNetworkIsolationHasBeenSet = true; m_enableNetworkIsolation = value; }
64 inline NetworkConfig& WithEnableNetworkIsolation(bool value) { SetEnableNetworkIsolation(value); return *this;}
66
68
69 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
70 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
71 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
72 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
73 inline NetworkConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
74 inline NetworkConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
76 private:
77
78 bool m_enableInterContainerTrafficEncryption;
79 bool m_enableInterContainerTrafficEncryptionHasBeenSet = false;
80
81 bool m_enableNetworkIsolation;
82 bool m_enableNetworkIsolationHasBeenSet = false;
83
84 VpcConfig m_vpcConfig;
85 bool m_vpcConfigHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
AWS_SAGEMAKER_API NetworkConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnableInterContainerTrafficEncryption(bool value)
NetworkConfig & WithEnableInterContainerTrafficEncryption(bool value)
void SetVpcConfig(VpcConfig &&value)
NetworkConfig & WithVpcConfig(VpcConfig &&value)
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
void SetVpcConfig(const VpcConfig &value)
NetworkConfig & WithVpcConfig(const VpcConfig &value)
const VpcConfig & GetVpcConfig() const
AWS_SAGEMAKER_API NetworkConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnableInterContainerTrafficEncryption() const
NetworkConfig & WithEnableNetworkIsolation(bool value)
Aws::Utils::Json::JsonValue JsonValue