/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a virtual private gateway.See Also:
AWS API
* Reference
The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline VpnGateway& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline VpnGateway& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone where the virtual private gateway was created, if * applicable. This field may be empty or not returned.
*/ inline VpnGateway& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The current state of the virtual private gateway.
*/ inline const VpnState& GetState() const{ return m_state; } /** *The current state of the virtual private gateway.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the virtual private gateway.
*/ inline void SetState(const VpnState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the virtual private gateway.
*/ inline void SetState(VpnState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the virtual private gateway.
*/ inline VpnGateway& WithState(const VpnState& value) { SetState(value); return *this;} /** *The current state of the virtual private gateway.
*/ inline VpnGateway& WithState(VpnState&& value) { SetState(std::move(value)); return *this;} /** *The type of VPN connection the virtual private gateway supports.
*/ inline const GatewayType& GetType() const{ return m_type; } /** *The type of VPN connection the virtual private gateway supports.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of VPN connection the virtual private gateway supports.
*/ inline void SetType(const GatewayType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of VPN connection the virtual private gateway supports.
*/ inline void SetType(GatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of VPN connection the virtual private gateway supports.
*/ inline VpnGateway& WithType(const GatewayType& value) { SetType(value); return *this;} /** *The type of VPN connection the virtual private gateway supports.
*/ inline VpnGateway& WithType(GatewayType&& value) { SetType(std::move(value)); return *this;} /** *Any VPCs attached to the virtual private gateway.
*/ inline const Aws::VectorAny VPCs attached to the virtual private gateway.
*/ inline bool VpcAttachmentsHasBeenSet() const { return m_vpcAttachmentsHasBeenSet; } /** *Any VPCs attached to the virtual private gateway.
*/ inline void SetVpcAttachments(const Aws::VectorAny VPCs attached to the virtual private gateway.
*/ inline void SetVpcAttachments(Aws::VectorAny VPCs attached to the virtual private gateway.
*/ inline VpnGateway& WithVpcAttachments(const Aws::VectorAny VPCs attached to the virtual private gateway.
*/ inline VpnGateway& WithVpcAttachments(Aws::VectorAny VPCs attached to the virtual private gateway.
*/ inline VpnGateway& AddVpcAttachments(const VpcAttachment& value) { m_vpcAttachmentsHasBeenSet = true; m_vpcAttachments.push_back(value); return *this; } /** *Any VPCs attached to the virtual private gateway.
*/ inline VpnGateway& AddVpcAttachments(VpcAttachment&& value) { m_vpcAttachmentsHasBeenSet = true; m_vpcAttachments.push_back(std::move(value)); return *this; } /** *The ID of the virtual private gateway.
*/ inline const Aws::String& GetVpnGatewayId() const{ return m_vpnGatewayId; } /** *The ID of the virtual private gateway.
*/ inline bool VpnGatewayIdHasBeenSet() const { return m_vpnGatewayIdHasBeenSet; } /** *The ID of the virtual private gateway.
*/ inline void SetVpnGatewayId(const Aws::String& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = value; } /** *The ID of the virtual private gateway.
*/ inline void SetVpnGatewayId(Aws::String&& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = std::move(value); } /** *The ID of the virtual private gateway.
*/ inline void SetVpnGatewayId(const char* value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId.assign(value); } /** *The ID of the virtual private gateway.
*/ inline VpnGateway& WithVpnGatewayId(const Aws::String& value) { SetVpnGatewayId(value); return *this;} /** *The ID of the virtual private gateway.
*/ inline VpnGateway& WithVpnGatewayId(Aws::String&& value) { SetVpnGatewayId(std::move(value)); return *this;} /** *The ID of the virtual private gateway.
*/ inline VpnGateway& WithVpnGatewayId(const char* value) { SetVpnGatewayId(value); return *this;} /** *The private Autonomous System Number (ASN) for the Amazon side of a BGP * session.
*/ inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; } /** *The private Autonomous System Number (ASN) for the Amazon side of a BGP * session.
*/ inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; } /** *The private Autonomous System Number (ASN) for the Amazon side of a BGP * session.
*/ inline void SetAmazonSideAsn(long long value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; } /** *The private Autonomous System Number (ASN) for the Amazon side of a BGP * session.
*/ inline VpnGateway& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(value); return *this;} /** *Any tags assigned to the virtual private gateway.
*/ inline const Aws::VectorAny tags assigned to the virtual private gateway.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the virtual private gateway.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the virtual private gateway.
*/ inline void SetTags(Aws::VectorAny tags assigned to the virtual private gateway.
*/ inline VpnGateway& WithTags(const Aws::VectorAny tags assigned to the virtual private gateway.
*/ inline VpnGateway& WithTags(Aws::VectorAny tags assigned to the virtual private gateway.
*/ inline VpnGateway& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the virtual private gateway.
*/ inline VpnGateway& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; VpnState m_state; bool m_stateHasBeenSet = false; GatewayType m_type; bool m_typeHasBeenSet = false; Aws::Vector