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>
54 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
55 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
56 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
58 template<
typename SecurityGroupIdsT = Aws::String>
59 VpcConfig&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
72 template<
typename SubnetsT = Aws::Vector<Aws::String>>
73 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
74 template<
typename SubnetsT = Aws::Vector<Aws::String>>
76 template<
typename SubnetsT = Aws::String>
77 VpcConfig&
AddSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets.emplace_back(std::forward<SubnetsT>(value));
return *
this; }
82 bool m_securityGroupIdsHasBeenSet =
false;
85 bool m_subnetsHasBeenSet =
false;
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetSubnets() const
VpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_SAGEMAKER_API VpcConfig(Aws::Utils::Json::JsonView jsonValue)
bool SubnetsHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_SAGEMAKER_API VpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API VpcConfig()=default
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcConfig & WithSubnets(SubnetsT &&value)
VpcConfig & AddSubnets(SubnetsT &&value)
void SetSubnets(SubnetsT &&value)
VpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue