/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a customer gateway.See Also:
AWS
* API Reference
The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline const Aws::String& GetBgpAsn() const{ return m_bgpAsn; } /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline bool BgpAsnHasBeenSet() const { return m_bgpAsnHasBeenSet; } /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline void SetBgpAsn(const Aws::String& value) { m_bgpAsnHasBeenSet = true; m_bgpAsn = value; } /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline void SetBgpAsn(Aws::String&& value) { m_bgpAsnHasBeenSet = true; m_bgpAsn = std::move(value); } /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline void SetBgpAsn(const char* value) { m_bgpAsnHasBeenSet = true; m_bgpAsn.assign(value); } /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline CustomerGateway& WithBgpAsn(const Aws::String& value) { SetBgpAsn(value); return *this;} /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline CustomerGateway& WithBgpAsn(Aws::String&& value) { SetBgpAsn(std::move(value)); return *this;} /** *The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number * (ASN).
*/ inline CustomerGateway& WithBgpAsn(const char* value) { SetBgpAsn(value); return *this;} /** *The ID of the customer gateway.
*/ inline const Aws::String& GetCustomerGatewayId() const{ return m_customerGatewayId; } /** *The ID of the customer gateway.
*/ inline bool CustomerGatewayIdHasBeenSet() const { return m_customerGatewayIdHasBeenSet; } /** *The ID of the customer gateway.
*/ inline void SetCustomerGatewayId(const Aws::String& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = value; } /** *The ID of the customer gateway.
*/ inline void SetCustomerGatewayId(Aws::String&& value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId = std::move(value); } /** *The ID of the customer gateway.
*/ inline void SetCustomerGatewayId(const char* value) { m_customerGatewayIdHasBeenSet = true; m_customerGatewayId.assign(value); } /** *The ID of the customer gateway.
*/ inline CustomerGateway& WithCustomerGatewayId(const Aws::String& value) { SetCustomerGatewayId(value); return *this;} /** *The ID of the customer gateway.
*/ inline CustomerGateway& WithCustomerGatewayId(Aws::String&& value) { SetCustomerGatewayId(std::move(value)); return *this;} /** *The ID of the customer gateway.
*/ inline CustomerGateway& WithCustomerGatewayId(const char* value) { SetCustomerGatewayId(value); return *this;} /** *The IP address of the customer gateway device's outside interface.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The IP address of the customer gateway device's outside interface.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The IP address of the customer gateway device's outside interface.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The IP address of the customer gateway device's outside interface.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The IP address of the customer gateway device's outside interface.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The IP address of the customer gateway device's outside interface.
*/ inline CustomerGateway& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The IP address of the customer gateway device's outside interface.
*/ inline CustomerGateway& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The IP address of the customer gateway device's outside interface.
*/ inline CustomerGateway& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline CustomerGateway& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline CustomerGateway& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline CustomerGateway& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The current state of the customer gateway (pending | available |
* deleting | deleted
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The type of VPN connection the customer gateway supports
* (ipsec.1
).
The name of customer gateway device.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *The name of customer gateway device.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *The name of customer gateway device.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *The name of customer gateway device.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *The name of customer gateway device.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *The name of customer gateway device.
*/ inline CustomerGateway& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *The name of customer gateway device.
*/ inline CustomerGateway& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *The name of customer gateway device.
*/ inline CustomerGateway& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *Any tags assigned to the customer gateway.
*/ inline const Aws::VectorAny tags assigned to the customer gateway.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Any tags assigned to the customer gateway.
*/ inline void SetTags(const Aws::VectorAny tags assigned to the customer gateway.
*/ inline void SetTags(Aws::VectorAny tags assigned to the customer gateway.
*/ inline CustomerGateway& WithTags(const Aws::VectorAny tags assigned to the customer gateway.
*/ inline CustomerGateway& WithTags(Aws::VectorAny tags assigned to the customer gateway.
*/ inline CustomerGateway& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Any tags assigned to the customer gateway.
*/ inline CustomerGateway& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_bgpAsn; bool m_bgpAsnHasBeenSet = false; Aws::String m_customerGatewayId; bool m_customerGatewayIdHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::String m_deviceName; bool m_deviceNameHasBeenSet = false; Aws::Vector