/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the attachment of a VPC to an internet gateway or an egress-only
* internet gateway.See Also:
AWS
* API Reference
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The current state of the attachment. For an internet gateway, the state is
* available
when attached to a VPC; otherwise, this value is not
* returned.
The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline InternetGatewayAttachment& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline InternetGatewayAttachment& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline InternetGatewayAttachment& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: AttachmentStatus m_state; bool m_stateHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws