/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for CreateVpnGateway.See Also:
AWS
* API Reference
The Availability Zone for the virtual private gateway.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone for the virtual private gateway.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone for the virtual private gateway.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone for the virtual private gateway.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone for the virtual private gateway.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone for the virtual private gateway.
*/ inline CreateVpnGatewayRequest& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone for the virtual private gateway.
*/ inline CreateVpnGatewayRequest& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone for the virtual private gateway.
*/ inline CreateVpnGatewayRequest& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The type of VPN connection this virtual private gateway supports.
*/ inline const GatewayType& GetType() const{ return m_type; } /** *The type of VPN connection this virtual private gateway supports.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of VPN connection this virtual private gateway supports.
*/ inline void SetType(const GatewayType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of VPN connection this virtual private gateway supports.
*/ inline void SetType(GatewayType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of VPN connection this virtual private gateway supports.
*/ inline CreateVpnGatewayRequest& WithType(const GatewayType& value) { SetType(value); return *this;} /** *The type of VPN connection this virtual private gateway supports.
*/ inline CreateVpnGatewayRequest& WithType(GatewayType&& value) { SetType(std::move(value)); return *this;} /** *The tags to apply to the virtual private gateway.
*/ inline const Aws::VectorThe tags to apply to the virtual private gateway.
*/ inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; } /** *The tags to apply to the virtual private gateway.
*/ inline void SetTagSpecifications(const Aws::VectorThe tags to apply to the virtual private gateway.
*/ inline void SetTagSpecifications(Aws::VectorThe tags to apply to the virtual private gateway.
*/ inline CreateVpnGatewayRequest& WithTagSpecifications(const Aws::VectorThe tags to apply to the virtual private gateway.
*/ inline CreateVpnGatewayRequest& WithTagSpecifications(Aws::VectorThe tags to apply to the virtual private gateway.
*/ inline CreateVpnGatewayRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; } /** *The tags to apply to the virtual private gateway.
*/ inline CreateVpnGatewayRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; } /** *A private Autonomous System Number (ASN) for the Amazon side of a BGP * session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. * If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 * range.
Default: 64512
*/ inline long long GetAmazonSideAsn() const{ return m_amazonSideAsn; } /** *A private Autonomous System Number (ASN) for the Amazon side of a BGP * session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. * If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 * range.
Default: 64512
*/ inline bool AmazonSideAsnHasBeenSet() const { return m_amazonSideAsnHasBeenSet; } /** *A private Autonomous System Number (ASN) for the Amazon side of a BGP * session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. * If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 * range.
Default: 64512
*/ inline void SetAmazonSideAsn(long long value) { m_amazonSideAsnHasBeenSet = true; m_amazonSideAsn = value; } /** *A private Autonomous System Number (ASN) for the Amazon side of a BGP * session. If you're using a 16-bit ASN, it must be in the 64512 to 65534 range. * If you're using a 32-bit ASN, it must be in the 4200000000 to 4294967294 * range.
Default: 64512
*/ inline CreateVpnGatewayRequest& WithAmazonSideAsn(long long value) { SetAmazonSideAsn(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
.