7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
56 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
57 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
58 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
60 template<
typename SecurityGroupIdsT = Aws::String>
61 NeoVpcConfig&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
71 template<
typename SubnetsT = Aws::Vector<Aws::String>>
72 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
73 template<
typename SubnetsT = Aws::Vector<Aws::String>>
75 template<
typename SubnetsT = Aws::String>
76 NeoVpcConfig&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
81 bool m_securityGroupIdsHasBeenSet =
false;
84 bool m_subnetsHasBeenSet =
false;
NeoVpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSubnets(SubnetsT &&value)
NeoVpcConfig & AddSubnets(SubnetsT &&value)
AWS_SAGEMAKER_API NeoVpcConfig(Aws::Utils::Json::JsonView jsonValue)
NeoVpcConfig & WithSubnets(SubnetsT &&value)
AWS_SAGEMAKER_API NeoVpcConfig()=default
const Aws::Vector< Aws::String > & GetSubnets() const
bool SubnetsHasBeenSet() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool SecurityGroupIdsHasBeenSet() const
NeoVpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_SAGEMAKER_API NeoVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue