/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about an Amazon EC2 VPN connection.See Also:
AWS
* API Reference
The identifier of the VPN connection.
*/ inline const Aws::String& GetVpnConnectionId() const{ return m_vpnConnectionId; } /** *The identifier of the VPN connection.
*/ inline bool VpnConnectionIdHasBeenSet() const { return m_vpnConnectionIdHasBeenSet; } /** *The identifier of the VPN connection.
*/ inline void SetVpnConnectionId(const Aws::String& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = value; } /** *The identifier of the VPN connection.
*/ inline void SetVpnConnectionId(Aws::String&& value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId = std::move(value); } /** *The identifier of the VPN connection.
*/ inline void SetVpnConnectionId(const char* value) { m_vpnConnectionIdHasBeenSet = true; m_vpnConnectionId.assign(value); } /** *The identifier of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnConnectionId(const Aws::String& value) { SetVpnConnectionId(value); return *this;} /** *The identifier of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnConnectionId(Aws::String&& value) { SetVpnConnectionId(std::move(value)); return *this;} /** *The identifier of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnConnectionId(const char* value) { SetVpnConnectionId(value); return *this;} /** *The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The current state of the VPN connection. Valid values are as follows:
* available
deleted
*
deleting
* pending
The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline const Aws::String& GetCustomerGatewayId() const{ return m_customerGatewayId; } /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline bool CustomerGatewayIdHasBeenSet() const { return m_customerGatewayIdHasBeenSet; } /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline void SetCustomerGatewayId(const Aws::String& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = value; } /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline void SetCustomerGatewayId(Aws::String&& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = std::move(value); } /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline void SetCustomerGatewayId(const char* value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId.assign(value); } /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayId(const Aws::String& value) { SetCustomerGatewayId(value); return *this;} /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayId(Aws::String&& value) { SetCustomerGatewayId(std::move(value)); return *this;} /** *The identifier of the customer gateway that is at your end of the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayId(const char* value) { SetCustomerGatewayId(value); return *this;} /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline const Aws::String& GetCustomerGatewayConfiguration() const{ return m_customerGatewayConfiguration; } /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline bool CustomerGatewayConfigurationHasBeenSet() const { return m_customerGatewayConfigurationHasBeenSet; } /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline void SetCustomerGatewayConfiguration(const Aws::String& value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration = value; } /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline void SetCustomerGatewayConfiguration(Aws::String&& value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration = std::move(value); } /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline void SetCustomerGatewayConfiguration(const char* value) { m_customerGatewayConfigurationHasBeenSet = true; m_customerGatewayConfiguration.assign(value); } /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayConfiguration(const Aws::String& value) { SetCustomerGatewayConfiguration(value); return *this;} /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayConfiguration(Aws::String&& value) { SetCustomerGatewayConfiguration(std::move(value)); return *this;} /** *The configuration information for the VPN connection's customer gateway, in * the native XML format.
*/ inline AwsEc2VpnConnectionDetails& WithCustomerGatewayConfiguration(const char* value) { SetCustomerGatewayConfiguration(value); return *this;} /** *The type of VPN connection.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of VPN connection.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of VPN connection.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of VPN connection.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of VPN connection.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithType(const char* value) { SetType(value); return *this;} /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline const Aws::String& GetVpnGatewayId() const{ return m_vpnGatewayId; } /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline bool VpnGatewayIdHasBeenSet() const { return m_vpnGatewayIdHasBeenSet; } /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline void SetVpnGatewayId(const Aws::String& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = value; } /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline void SetVpnGatewayId(Aws::String&& value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId = std::move(value); } /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline void SetVpnGatewayId(const char* value) { m_vpnGatewayIdHasBeenSet = true; m_vpnGatewayId.assign(value); } /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnGatewayId(const Aws::String& value) { SetVpnGatewayId(value); return *this;} /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnGatewayId(Aws::String&& value) { SetVpnGatewayId(std::move(value)); return *this;} /** *The identifier of the virtual private gateway that is at the Amazon Web * Services side of the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithVpnGatewayId(const char* value) { SetVpnGatewayId(value); return *this;} /** *The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
The category of the VPN connection. VPN
indicates an Amazon Web
* Services VPN connection. VPN-Classic
indicates an Amazon Web
* Services Classic VPN connection.
Information about the VPN tunnel.
*/ inline const Aws::VectorInformation about the VPN tunnel.
*/ inline bool VgwTelemetryHasBeenSet() const { return m_vgwTelemetryHasBeenSet; } /** *Information about the VPN tunnel.
*/ inline void SetVgwTelemetry(const Aws::VectorInformation about the VPN tunnel.
*/ inline void SetVgwTelemetry(Aws::VectorInformation about the VPN tunnel.
*/ inline AwsEc2VpnConnectionDetails& WithVgwTelemetry(const Aws::VectorInformation about the VPN tunnel.
*/ inline AwsEc2VpnConnectionDetails& WithVgwTelemetry(Aws::VectorInformation about the VPN tunnel.
*/ inline AwsEc2VpnConnectionDetails& AddVgwTelemetry(const AwsEc2VpnConnectionVgwTelemetryDetails& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry.push_back(value); return *this; } /** *Information about the VPN tunnel.
*/ inline AwsEc2VpnConnectionDetails& AddVgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails&& value) { m_vgwTelemetryHasBeenSet = true; m_vgwTelemetry.push_back(std::move(value)); return *this; } /** *The VPN connection options.
*/ inline const AwsEc2VpnConnectionOptionsDetails& GetOptions() const{ return m_options; } /** *The VPN connection options.
*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *The VPN connection options.
*/ inline void SetOptions(const AwsEc2VpnConnectionOptionsDetails& value) { m_optionsHasBeenSet = true; m_options = value; } /** *The VPN connection options.
*/ inline void SetOptions(AwsEc2VpnConnectionOptionsDetails&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *The VPN connection options.
*/ inline AwsEc2VpnConnectionDetails& WithOptions(const AwsEc2VpnConnectionOptionsDetails& value) { SetOptions(value); return *this;} /** *The VPN connection options.
*/ inline AwsEc2VpnConnectionDetails& WithOptions(AwsEc2VpnConnectionOptionsDetails&& value) { SetOptions(std::move(value)); return *this;} /** *The static routes that are associated with the VPN connection.
*/ inline const Aws::VectorThe static routes that are associated with the VPN connection.
*/ inline bool RoutesHasBeenSet() const { return m_routesHasBeenSet; } /** *The static routes that are associated with the VPN connection.
*/ inline void SetRoutes(const Aws::VectorThe static routes that are associated with the VPN connection.
*/ inline void SetRoutes(Aws::VectorThe static routes that are associated with the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithRoutes(const Aws::VectorThe static routes that are associated with the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& WithRoutes(Aws::VectorThe static routes that are associated with the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& AddRoutes(const AwsEc2VpnConnectionRoutesDetails& value) { m_routesHasBeenSet = true; m_routes.push_back(value); return *this; } /** *The static routes that are associated with the VPN connection.
*/ inline AwsEc2VpnConnectionDetails& AddRoutes(AwsEc2VpnConnectionRoutesDetails&& value) { m_routesHasBeenSet = true; m_routes.push_back(std::move(value)); return *this; } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline const Aws::String& GetTransitGatewayId() const{ return m_transitGatewayId; } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline bool TransitGatewayIdHasBeenSet() const { return m_transitGatewayIdHasBeenSet; } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline void SetTransitGatewayId(const Aws::String& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = value; } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline void SetTransitGatewayId(Aws::String&& value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId = std::move(value); } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline void SetTransitGatewayId(const char* value) { m_transitGatewayIdHasBeenSet = true; m_transitGatewayId.assign(value); } /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithTransitGatewayId(const Aws::String& value) { SetTransitGatewayId(value); return *this;} /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithTransitGatewayId(Aws::String&& value) { SetTransitGatewayId(std::move(value)); return *this;} /** *The identifier of the transit gateway that is associated with the VPN * connection.
*/ inline AwsEc2VpnConnectionDetails& WithTransitGatewayId(const char* value) { SetTransitGatewayId(value); return *this;} private: Aws::String m_vpnConnectionId; bool m_vpnConnectionIdHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_customerGatewayId; bool m_customerGatewayIdHasBeenSet = false; Aws::String m_customerGatewayConfiguration; bool m_customerGatewayConfigurationHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_vpnGatewayId; bool m_vpnGatewayIdHasBeenSet = false; Aws::String m_category; bool m_categoryHasBeenSet = false; Aws::Vector