7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
48 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
50 m_securityGroupIdsHasBeenSet =
true;
51 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
53 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
58 template <
typename SecurityGroupIdsT = Aws::String>
60 m_securityGroupIdsHasBeenSet =
true;
61 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
76 template <
typename SubnetsT = Aws::Vector<Aws::String>>
78 m_subnetsHasBeenSet =
true;
79 m_subnets = std::forward<SubnetsT>(value);
81 template <
typename SubnetsT = Aws::Vector<Aws::String>>
86 template <
typename SubnetsT = Aws::String>
88 m_subnetsHasBeenSet =
true;
89 m_subnets.emplace_back(std::forward<SubnetsT>(value));
97 bool m_securityGroupIdsHasBeenSet =
false;
98 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