7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename GroupIdT = Aws::String>
50 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
51 template<
typename GroupIdT = Aws::String>
61 template<
typename ReferencingVpcIdT = Aws::String>
62 void SetReferencingVpcId(ReferencingVpcIdT&& value) { m_referencingVpcIdHasBeenSet =
true; m_referencingVpcId = std::forward<ReferencingVpcIdT>(value); }
63 template<
typename ReferencingVpcIdT = Aws::String>
77 template<
typename VpcPeeringConnectionIdT = Aws::String>
78 void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT&& value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value); }
79 template<
typename VpcPeeringConnectionIdT = Aws::String>
89 template<
typename TransitGatewayIdT = Aws::String>
90 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
91 template<
typename TransitGatewayIdT = Aws::String>
97 bool m_groupIdHasBeenSet =
false;
100 bool m_referencingVpcIdHasBeenSet =
false;
103 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
106 bool m_transitGatewayIdHasBeenSet =
false;
bool VpcPeeringConnectionIdHasBeenSet() const
void SetGroupId(GroupIdT &&value)
void SetReferencingVpcId(ReferencingVpcIdT &&value)
SecurityGroupReference & WithReferencingVpcId(ReferencingVpcIdT &&value)
SecurityGroupReference & WithTransitGatewayId(TransitGatewayIdT &&value)
AWS_EC2_API SecurityGroupReference()=default
const Aws::String & GetTransitGatewayId() const
AWS_EC2_API SecurityGroupReference(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GroupIdHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
const Aws::String & GetVpcPeeringConnectionId() const
const Aws::String & GetReferencingVpcId() const
SecurityGroupReference & WithGroupId(GroupIdT &&value)
void SetVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
AWS_EC2_API SecurityGroupReference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SecurityGroupReference & WithVpcPeeringConnectionId(VpcPeeringConnectionIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ReferencingVpcIdHasBeenSet() const
const Aws::String & GetGroupId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream