7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename GatewayIdT = Aws::String>
46 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
47 template<
typename GatewayIdT = Aws::String>
58 template<
typename PublicIpv4PoolT = Aws::String>
59 void SetPublicIpv4Pool(PublicIpv4PoolT&& value) { m_publicIpv4PoolHasBeenSet =
true; m_publicIpv4Pool = std::forward<PublicIpv4PoolT>(value); }
60 template<
typename PublicIpv4PoolT = Aws::String>
73 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
83 template<
typename SubnetIdT = Aws::String>
84 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
85 template<
typename SubnetIdT = Aws::String>
95 template<
typename RouteTableIdT = Aws::String>
96 void SetRouteTableId(RouteTableIdT&& value) { m_routeTableIdHasBeenSet =
true; m_routeTableId = std::forward<RouteTableIdT>(value); }
97 template<
typename RouteTableIdT = Aws::String>
103 bool m_gatewayIdHasBeenSet =
false;
106 bool m_publicIpv4PoolHasBeenSet =
false;
108 bool m_dryRun{
false};
109 bool m_dryRunHasBeenSet =
false;
112 bool m_subnetIdHasBeenSet =
false;
115 bool m_routeTableIdHasBeenSet =
false;
bool GatewayIdHasBeenSet() const
const Aws::String & GetGatewayId() const
bool RouteTableIdHasBeenSet() const
AssociateRouteTableRequest & WithSubnetId(SubnetIdT &&value)
bool DryRunHasBeenSet() const
AWS_EC2_API AssociateRouteTableRequest()=default
AssociateRouteTableRequest & WithDryRun(bool value)
const Aws::String & GetPublicIpv4Pool() const
const Aws::String & GetRouteTableId() const
const Aws::String & GetSubnetId() const
void SetGatewayId(GatewayIdT &&value)
AssociateRouteTableRequest & WithRouteTableId(RouteTableIdT &&value)
bool SubnetIdHasBeenSet() const
void SetRouteTableId(RouteTableIdT &&value)
void SetPublicIpv4Pool(PublicIpv4PoolT &&value)
AssociateRouteTableRequest & WithPublicIpv4Pool(PublicIpv4PoolT &&value)
void SetSubnetId(SubnetIdT &&value)
AssociateRouteTableRequest & WithGatewayId(GatewayIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool PublicIpv4PoolHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String