AWS SDK for C++  1.9.157
AWS SDK for C++
NeoVpcConfig.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 
38  {
39  public:
44 
45 
51  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
52 
58  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
59 
65  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
66 
72  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
73 
79  inline NeoVpcConfig& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
80 
86  inline NeoVpcConfig& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
87 
93  inline NeoVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
94 
100  inline NeoVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
101 
107  inline NeoVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
108 
109 
114  inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
115 
120  inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
121 
126  inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
127 
132  inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
133 
138  inline NeoVpcConfig& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
139 
144  inline NeoVpcConfig& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
145 
150  inline NeoVpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
151 
156  inline NeoVpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
157 
162  inline NeoVpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
163 
164  private:
165 
166  Aws::Vector<Aws::String> m_securityGroupIds;
167  bool m_securityGroupIdsHasBeenSet;
168 
169  Aws::Vector<Aws::String> m_subnets;
170  bool m_subnetsHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace SageMaker
175 } // namespace Aws
Aws::SageMaker::Model::NeoVpcConfig::NeoVpcConfig
NeoVpcConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::NeoVpcConfig::WithSecurityGroupIds
NeoVpcConfig & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: NeoVpcConfig.h:86
Aws::SageMaker::Model::NeoVpcConfig::NeoVpcConfig
NeoVpcConfig()
SageMaker_EXPORTS.h
Aws::SageMaker::Model::NeoVpcConfig::AddSubnets
NeoVpcConfig & AddSubnets(const char *value)
Definition: NeoVpcConfig.h:162
Aws::SageMaker::Model::NeoVpcConfig::WithSubnets
NeoVpcConfig & WithSubnets(const Aws::Vector< Aws::String > &value)
Definition: NeoVpcConfig.h:138
Aws::SageMaker::Model::NeoVpcConfig::WithSecurityGroupIds
NeoVpcConfig & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: NeoVpcConfig.h:79
Aws::SageMaker::Model::NeoVpcConfig::SetSubnets
void SetSubnets(Aws::Vector< Aws::String > &&value)
Definition: NeoVpcConfig.h:132
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::NeoVpcConfig::AddSecurityGroupIds
NeoVpcConfig & AddSecurityGroupIds(const char *value)
Definition: NeoVpcConfig.h:107
AWSVector.h
Aws::SageMaker::Model::NeoVpcConfig::GetSubnets
const Aws::Vector< Aws::String > & GetSubnets() const
Definition: NeoVpcConfig.h:114
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::NeoVpcConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::NeoVpcConfig::AddSecurityGroupIds
NeoVpcConfig & AddSecurityGroupIds(const Aws::String &value)
Definition: NeoVpcConfig.h:93
Aws::SageMaker::Model::NeoVpcConfig::SetSubnets
void SetSubnets(const Aws::Vector< Aws::String > &value)
Definition: NeoVpcConfig.h:126
Aws::SageMaker::Model::NeoVpcConfig::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: NeoVpcConfig.h:51
Aws::SageMaker::Model::NeoVpcConfig::operator=
NeoVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::NeoVpcConfig
Definition: NeoVpcConfig.h:38
Aws::SageMaker::Model::NeoVpcConfig::SubnetsHasBeenSet
bool SubnetsHasBeenSet() const
Definition: NeoVpcConfig.h:120
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::NeoVpcConfig::AddSubnets
NeoVpcConfig & AddSubnets(Aws::String &&value)
Definition: NeoVpcConfig.h:156
Aws::SageMaker::Model::NeoVpcConfig::AddSecurityGroupIds
NeoVpcConfig & AddSecurityGroupIds(Aws::String &&value)
Definition: NeoVpcConfig.h:100
Aws::SageMaker::Model::NeoVpcConfig::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: NeoVpcConfig.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::NeoVpcConfig::WithSubnets
NeoVpcConfig & WithSubnets(Aws::Vector< Aws::String > &&value)
Definition: NeoVpcConfig.h:144
Aws::SageMaker::Model::NeoVpcConfig::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: NeoVpcConfig.h:72
Aws::SageMaker::Model::NeoVpcConfig::AddSubnets
NeoVpcConfig & AddSubnets(const Aws::String &value)
Definition: NeoVpcConfig.h:150
Aws::SageMaker::Model::NeoVpcConfig::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: NeoVpcConfig.h:58