/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for DetachVpnGateway.See Also:
AWS
* API Reference
The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline DetachVpnGatewayRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline DetachVpnGatewayRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline DetachVpnGatewayRequest& WithVpcId(const char* value) { SetVpcId(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 DetachVpnGatewayRequest& WithVpnGatewayId(const Aws::String& value) { SetVpnGatewayId(value); return *this;} /** *The ID of the virtual private gateway.
*/ inline DetachVpnGatewayRequest& WithVpnGatewayId(Aws::String&& value) { SetVpnGatewayId(std::move(value)); return *this;} /** *The ID of the virtual private gateway.
*/ inline DetachVpnGatewayRequest& WithVpnGatewayId(const char* value) { SetVpnGatewayId(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
.