AWS SDK for C++  1.9.158
AWS SDK for C++
AutoMLSecurityConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetVolumeKmsKeyId() const{ return m_volumeKmsKeyId; }
45 
49  inline bool VolumeKmsKeyIdHasBeenSet() const { return m_volumeKmsKeyIdHasBeenSet; }
50 
54  inline void SetVolumeKmsKeyId(const Aws::String& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = value; }
55 
59  inline void SetVolumeKmsKeyId(Aws::String&& value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId = std::move(value); }
60 
64  inline void SetVolumeKmsKeyId(const char* value) { m_volumeKmsKeyIdHasBeenSet = true; m_volumeKmsKeyId.assign(value); }
65 
69  inline AutoMLSecurityConfig& WithVolumeKmsKeyId(const Aws::String& value) { SetVolumeKmsKeyId(value); return *this;}
70 
74  inline AutoMLSecurityConfig& WithVolumeKmsKeyId(Aws::String&& value) { SetVolumeKmsKeyId(std::move(value)); return *this;}
75 
79  inline AutoMLSecurityConfig& WithVolumeKmsKeyId(const char* value) { SetVolumeKmsKeyId(value); return *this;}
80 
81 
85  inline bool GetEnableInterContainerTrafficEncryption() const{ return m_enableInterContainerTrafficEncryption; }
86 
90  inline bool EnableInterContainerTrafficEncryptionHasBeenSet() const { return m_enableInterContainerTrafficEncryptionHasBeenSet; }
91 
95  inline void SetEnableInterContainerTrafficEncryption(bool value) { m_enableInterContainerTrafficEncryptionHasBeenSet = true; m_enableInterContainerTrafficEncryption = value; }
96 
100  inline AutoMLSecurityConfig& WithEnableInterContainerTrafficEncryption(bool value) { SetEnableInterContainerTrafficEncryption(value); return *this;}
101 
102 
106  inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
107 
111  inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
112 
116  inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
117 
121  inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
122 
126  inline AutoMLSecurityConfig& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
127 
131  inline AutoMLSecurityConfig& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_volumeKmsKeyId;
136  bool m_volumeKmsKeyIdHasBeenSet;
137 
138  bool m_enableInterContainerTrafficEncryption;
139  bool m_enableInterContainerTrafficEncryptionHasBeenSet;
140 
141  VpcConfig m_vpcConfig;
142  bool m_vpcConfigHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace SageMaker
147 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
VpcConfig.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AutoMLSecurityConfig::WithVolumeKmsKeyId
AutoMLSecurityConfig & WithVolumeKmsKeyId(const Aws::String &value)
Definition: AutoMLSecurityConfig.h:69
Aws::SageMaker::Model::AutoMLSecurityConfig::SetEnableInterContainerTrafficEncryption
void SetEnableInterContainerTrafficEncryption(bool value)
Definition: AutoMLSecurityConfig.h:95
Aws::SageMaker::Model::AutoMLSecurityConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::AutoMLSecurityConfig::SetVpcConfig
void SetVpcConfig(VpcConfig &&value)
Definition: AutoMLSecurityConfig.h:121
Aws::SageMaker::Model::AutoMLSecurityConfig::AutoMLSecurityConfig
AutoMLSecurityConfig()
Aws::SageMaker::Model::AutoMLSecurityConfig::WithEnableInterContainerTrafficEncryption
AutoMLSecurityConfig & WithEnableInterContainerTrafficEncryption(bool value)
Definition: AutoMLSecurityConfig.h:100
Aws::SageMaker::Model::AutoMLSecurityConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const char *value)
Definition: AutoMLSecurityConfig.h:64
Aws::SageMaker::Model::AutoMLSecurityConfig::VpcConfigHasBeenSet
bool VpcConfigHasBeenSet() const
Definition: AutoMLSecurityConfig.h:111
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AutoMLSecurityConfig::AutoMLSecurityConfig
AutoMLSecurityConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLSecurityConfig::SetVpcConfig
void SetVpcConfig(const VpcConfig &value)
Definition: AutoMLSecurityConfig.h:116
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::AutoMLSecurityConfig::WithVolumeKmsKeyId
AutoMLSecurityConfig & WithVolumeKmsKeyId(Aws::String &&value)
Definition: AutoMLSecurityConfig.h:74
Aws::SageMaker::Model::AutoMLSecurityConfig::EnableInterContainerTrafficEncryptionHasBeenSet
bool EnableInterContainerTrafficEncryptionHasBeenSet() const
Definition: AutoMLSecurityConfig.h:90
Aws::SageMaker::Model::AutoMLSecurityConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(const Aws::String &value)
Definition: AutoMLSecurityConfig.h:54
Aws::SageMaker::Model::AutoMLSecurityConfig::WithVpcConfig
AutoMLSecurityConfig & WithVpcConfig(const VpcConfig &value)
Definition: AutoMLSecurityConfig.h:126
Aws::SageMaker::Model::AutoMLSecurityConfig::operator=
AutoMLSecurityConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLSecurityConfig::GetVolumeKmsKeyId
const Aws::String & GetVolumeKmsKeyId() const
Definition: AutoMLSecurityConfig.h:44
Aws::SageMaker::Model::AutoMLSecurityConfig::GetVpcConfig
const VpcConfig & GetVpcConfig() const
Definition: AutoMLSecurityConfig.h:106
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoMLSecurityConfig
Definition: AutoMLSecurityConfig.h:33
Aws::SageMaker::Model::AutoMLSecurityConfig::SetVolumeKmsKeyId
void SetVolumeKmsKeyId(Aws::String &&value)
Definition: AutoMLSecurityConfig.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::VpcConfig
Definition: VpcConfig.h:40
Aws::SageMaker::Model::AutoMLSecurityConfig::WithVpcConfig
AutoMLSecurityConfig & WithVpcConfig(VpcConfig &&value)
Definition: AutoMLSecurityConfig.h:131
Aws::SageMaker::Model::AutoMLSecurityConfig::GetEnableInterContainerTrafficEncryption
bool GetEnableInterContainerTrafficEncryption() const
Definition: AutoMLSecurityConfig.h:85
Aws::SageMaker::Model::AutoMLSecurityConfig::VolumeKmsKeyIdHasBeenSet
bool VolumeKmsKeyIdHasBeenSet() const
Definition: AutoMLSecurityConfig.h:49
Aws::SageMaker::Model::AutoMLSecurityConfig::WithVolumeKmsKeyId
AutoMLSecurityConfig & WithVolumeKmsKeyId(const char *value)
Definition: AutoMLSecurityConfig.h:79