7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename VpcIdT = Aws::String>
49 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
50 template<
typename VpcIdT = Aws::String>
60 template<
typename VpnGatewayIdT = Aws::String>
61 void SetVpnGatewayId(VpnGatewayIdT&& value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId = std::forward<VpnGatewayIdT>(value); }
62 template<
typename VpnGatewayIdT = Aws::String>
75 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
81 bool m_vpcIdHasBeenSet =
false;
84 bool m_vpnGatewayIdHasBeenSet =
false;
87 bool m_dryRunHasBeenSet =
false;
void SetVpcId(VpcIdT &&value)
bool VpnGatewayIdHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetVpnGatewayId(VpnGatewayIdT &&value)
const Aws::String & GetVpnGatewayId() const
bool DryRunHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetachVpnGatewayRequest & WithDryRun(bool value)
AWS_EC2_API DetachVpnGatewayRequest()=default
DetachVpnGatewayRequest & WithVpcId(VpcIdT &&value)
DetachVpnGatewayRequest & WithVpnGatewayId(VpnGatewayIdT &&value)
const Aws::String & GetVpcId() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String