/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for CreateCustomerGateway.See Also:
* AWS
* API Reference
For devices that support BGP, the customer gateway's BGP ASN.
Default: * 65000
*/ inline int GetBgpAsn() const{ return m_bgpAsn; } /** *For devices that support BGP, the customer gateway's BGP ASN.
Default: * 65000
*/ inline bool BgpAsnHasBeenSet() const { return m_bgpAsnHasBeenSet; } /** *For devices that support BGP, the customer gateway's BGP ASN.
Default: * 65000
*/ inline void SetBgpAsn(int value) { m_bgpAsnHasBeenSet = true; m_bgpAsn = value; } /** *For devices that support BGP, the customer gateway's BGP ASN.
Default: * 65000
*/ inline CreateCustomerGatewayRequest& WithBgpAsn(int value) { SetBgpAsn(value); return *this;} /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline const Aws::String& GetPublicIp() const{ return m_publicIp; } /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; } /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; } /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); } /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); } /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline CreateCustomerGatewayRequest& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;} /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline CreateCustomerGatewayRequest& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;} /** *This member has been deprecated. The Internet-routable IP address for * the customer gateway's outside interface. The address must be static.
*/ inline CreateCustomerGatewayRequest& WithPublicIp(const char* value) { SetPublicIp(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 CreateCustomerGatewayRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline CreateCustomerGatewayRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the customer gateway certificate.
*/ inline CreateCustomerGatewayRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The type of VPN connection that this customer gateway supports
* (ipsec.1
).
The tags to apply to the customer gateway.
*/ inline const Aws::VectorThe tags to apply to the customer gateway.
*/ inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; } /** *The tags to apply to the customer gateway.
*/ inline void SetTagSpecifications(const Aws::VectorThe tags to apply to the customer gateway.
*/ inline void SetTagSpecifications(Aws::VectorThe tags to apply to the customer gateway.
*/ inline CreateCustomerGatewayRequest& WithTagSpecifications(const Aws::VectorThe tags to apply to the customer gateway.
*/ inline CreateCustomerGatewayRequest& WithTagSpecifications(Aws::VectorThe tags to apply to the customer gateway.
*/ inline CreateCustomerGatewayRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; } /** *The tags to apply to the customer gateway.
*/ inline CreateCustomerGatewayRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline const Aws::String& GetDeviceName() const{ return m_deviceName; } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline bool DeviceNameHasBeenSet() const { return m_deviceNameHasBeenSet; } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline void SetDeviceName(const Aws::String& value) { m_deviceNameHasBeenSet = true; m_deviceName = value; } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline void SetDeviceName(Aws::String&& value) { m_deviceNameHasBeenSet = true; m_deviceName = std::move(value); } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline void SetDeviceName(const char* value) { m_deviceNameHasBeenSet = true; m_deviceName.assign(value); } /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline CreateCustomerGatewayRequest& WithDeviceName(const Aws::String& value) { SetDeviceName(value); return *this;} /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline CreateCustomerGatewayRequest& WithDeviceName(Aws::String&& value) { SetDeviceName(std::move(value)); return *this;} /** *A name for the customer gateway device.
Length Constraints: Up to 255 * characters.
*/ inline CreateCustomerGatewayRequest& WithDeviceName(const char* value) { SetDeviceName(value); return *this;} /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline CreateCustomerGatewayRequest& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline CreateCustomerGatewayRequest& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *IPv4 address for the customer gateway device's outside interface. The * address must be static.
*/ inline CreateCustomerGatewayRequest& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} /** *Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.