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>
51 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
65 inline void SetReferencingVpcId(
const char* value) { m_referencingVpcIdHasBeenSet =
true; m_referencingVpcId.assign(value); }
83 inline void SetVpcPeeringConnectionId(
const char* value) { m_vpcPeeringConnectionIdHasBeenSet =
true; m_vpcPeeringConnectionId.assign(value); }
98 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
106 bool m_groupIdHasBeenSet =
false;
109 bool m_referencingVpcIdHasBeenSet =
false;
112 bool m_vpcPeeringConnectionIdHasBeenSet =
false;
115 bool m_transitGatewayIdHasBeenSet =
false;
void SetVpcPeeringConnectionId(Aws::String &&value)
void SetVpcPeeringConnectionId(const Aws::String &value)
void SetTransitGatewayId(const char *value)
SecurityGroupReference & WithVpcPeeringConnectionId(Aws::String &&value)
SecurityGroupReference & WithGroupId(Aws::String &&value)
void SetReferencingVpcId(Aws::String &&value)
bool VpcPeeringConnectionIdHasBeenSet() const
void SetTransitGatewayId(const Aws::String &value)
void SetGroupId(const Aws::String &value)
SecurityGroupReference & WithTransitGatewayId(Aws::String &&value)
void SetReferencingVpcId(const Aws::String &value)
void SetVpcPeeringConnectionId(const char *value)
AWS_EC2_API SecurityGroupReference()
SecurityGroupReference & WithVpcPeeringConnectionId(const char *value)
const Aws::String & GetTransitGatewayId() const
AWS_EC2_API SecurityGroupReference(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GroupIdHasBeenSet() const
bool TransitGatewayIdHasBeenSet() const
SecurityGroupReference & WithReferencingVpcId(const Aws::String &value)
SecurityGroupReference & WithTransitGatewayId(const Aws::String &value)
const Aws::String & GetVpcPeeringConnectionId() const
SecurityGroupReference & WithTransitGatewayId(const char *value)
SecurityGroupReference & WithGroupId(const char *value)
void SetReferencingVpcId(const char *value)
const Aws::String & GetReferencingVpcId() const
SecurityGroupReference & WithReferencingVpcId(Aws::String &&value)
AWS_EC2_API SecurityGroupReference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SecurityGroupReference & WithReferencingVpcId(const char *value)
SecurityGroupReference & WithGroupId(const Aws::String &value)
SecurityGroupReference & WithVpcPeeringConnectionId(const Aws::String &value)
void SetTransitGatewayId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool ReferencingVpcIdHasBeenSet() const
void SetGroupId(Aws::String &&value)
const Aws::String & GetGroupId() const
void SetGroupId(const char *value)
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