/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a VPC with a security group that references your security
* group.See Also:
AWS
* API Reference
The ID of your security group.
*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *The ID of your security group.
*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The ID of your security group.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The ID of your security group.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The ID of your security group.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The ID of your security group.
*/ inline SecurityGroupReference& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The ID of your security group.
*/ inline SecurityGroupReference& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The ID of your security group.
*/ inline SecurityGroupReference& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *The ID of the VPC with the referencing security group.
*/ inline const Aws::String& GetReferencingVpcId() const{ return m_referencingVpcId; } /** *The ID of the VPC with the referencing security group.
*/ inline bool ReferencingVpcIdHasBeenSet() const { return m_referencingVpcIdHasBeenSet; } /** *The ID of the VPC with the referencing security group.
*/ inline void SetReferencingVpcId(const Aws::String& value) { m_referencingVpcIdHasBeenSet = true; m_referencingVpcId = value; } /** *The ID of the VPC with the referencing security group.
*/ inline void SetReferencingVpcId(Aws::String&& value) { m_referencingVpcIdHasBeenSet = true; m_referencingVpcId = std::move(value); } /** *The ID of the VPC with the referencing security group.
*/ inline void SetReferencingVpcId(const char* value) { m_referencingVpcIdHasBeenSet = true; m_referencingVpcId.assign(value); } /** *The ID of the VPC with the referencing security group.
*/ inline SecurityGroupReference& WithReferencingVpcId(const Aws::String& value) { SetReferencingVpcId(value); return *this;} /** *The ID of the VPC with the referencing security group.
*/ inline SecurityGroupReference& WithReferencingVpcId(Aws::String&& value) { SetReferencingVpcId(std::move(value)); return *this;} /** *The ID of the VPC with the referencing security group.
*/ inline SecurityGroupReference& WithReferencingVpcId(const char* value) { SetReferencingVpcId(value); return *this;} /** *The ID of the VPC peering connection.
*/ inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; } /** *The ID of the VPC peering connection.
*/ inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; } /** *The ID of the VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; } /** *The ID of the VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); } /** *The ID of the VPC peering connection.
*/ inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); } /** *The ID of the VPC peering connection.
*/ inline SecurityGroupReference& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;} /** *The ID of the VPC peering connection.
*/ inline SecurityGroupReference& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;} /** *The ID of the VPC peering connection.
*/ inline SecurityGroupReference& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;} private: Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_referencingVpcId; bool m_referencingVpcIdHasBeenSet = false; Aws::String m_vpcPeeringConnectionId; bool m_vpcPeeringConnectionIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws