7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
58 template<
typename InternetGatewayIdT = Aws::String>
59 void SetInternetGatewayId(InternetGatewayIdT&& value) { m_internetGatewayIdHasBeenSet =
true; m_internetGatewayId = std::forward<InternetGatewayIdT>(value); }
60 template<
typename InternetGatewayIdT = Aws::String>
70 template<
typename VpcIdT = Aws::String>
71 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
72 template<
typename VpcIdT = Aws::String>
78 bool m_dryRunHasBeenSet =
false;
81 bool m_internetGatewayIdHasBeenSet =
false;
84 bool m_vpcIdHasBeenSet =
false;
AWS_EC2_API AttachInternetGatewayRequest()=default
const Aws::String & GetVpcId() const
void SetVpcId(VpcIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool InternetGatewayIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool VpcIdHasBeenSet() const
AttachInternetGatewayRequest & WithVpcId(VpcIdT &&value)
AttachInternetGatewayRequest & WithDryRun(bool value)
AttachInternetGatewayRequest & WithInternetGatewayId(InternetGatewayIdT &&value)
const Aws::String & GetInternetGatewayId() const
void SetInternetGatewayId(InternetGatewayIdT &&value)
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String