7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CodeStarconnections
48 template<
typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<
typename VpcIdT = Aws::String>
61 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
62 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
63 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
65 template<
typename SubnetIdsT = Aws::String>
66 VpcConfiguration&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
76 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
77 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
78 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
80 template<
typename SecurityGroupIdsT = Aws::String>
81 VpcConfiguration&
AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
return *
this; }
91 template<
typename TlsCertificateT = Aws::String>
92 void SetTlsCertificate(TlsCertificateT&& value) { m_tlsCertificateHasBeenSet =
true; m_tlsCertificate = std::forward<TlsCertificateT>(value); }
93 template<
typename TlsCertificateT = Aws::String>
99 bool m_vpcIdHasBeenSet =
false;
102 bool m_subnetIdsHasBeenSet =
false;
105 bool m_securityGroupIdsHasBeenSet =
false;
108 bool m_tlsCertificateHasBeenSet =
false;
VpcConfiguration & AddSubnetIds(SubnetIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_CODESTARCONNECTIONS_API VpcConfiguration()=default
void SetVpcId(VpcIdT &&value)
void SetSubnetIds(SubnetIdsT &&value)
void SetTlsCertificate(TlsCertificateT &&value)
VpcConfiguration & AddSecurityGroupIds(SecurityGroupIdsT &&value)
VpcConfiguration & WithTlsCertificate(TlsCertificateT &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & WithSubnetIds(SubnetIdsT &&value)
AWS_CODESTARCONNECTIONS_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool SecurityGroupIdsHasBeenSet() const
bool VpcIdHasBeenSet() const
bool TlsCertificateHasBeenSet() const
AWS_CODESTARCONNECTIONS_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SubnetIdsHasBeenSet() const
VpcConfiguration & WithSecurityGroupIds(SecurityGroupIdsT &&value)
VpcConfiguration & WithVpcId(VpcIdT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::String & GetTlsCertificate() const
const Aws::String & GetVpcId() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue