7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
43 template <
typename GroupIdT = Aws::String>
45 m_groupIdHasBeenSet =
true;
46 m_groupId = std::forward<GroupIdT>(value);
48 template <
typename GroupIdT = Aws::String>
61 template <
typename ReferencingVpcIdT = Aws::String>
63 m_referencingVpcIdHasBeenSet =
true;
64 m_referencingVpcId = std::forward<ReferencingVpcIdT>(value);
66 template <
typename ReferencingVpcIdT = Aws::String>
83 template <
typename VpcPeeringConnectionIdT = Aws::String>
85 m_vpcPeeringConnectionIdHasBeenSet =
true;
86 m_vpcPeeringConnectionId = std::forward<VpcPeeringConnectionIdT>(value);
88 template <
typename VpcPeeringConnectionIdT = Aws::String>
101 template <
typename TransitGatewayIdT = Aws::String>
103 m_transitGatewayIdHasBeenSet =
true;
104 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
106 template <
typename TransitGatewayIdT = Aws::String>
120 bool m_groupIdHasBeenSet =
false;
121 bool m_referencingVpcIdHasBeenSet =
false;
122 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
123 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