7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename DhcpOptionsIdT = Aws::String>
47 void SetDhcpOptionsId(DhcpOptionsIdT&& value) { m_dhcpOptionsIdHasBeenSet =
true; m_dhcpOptionsId = std::forward<DhcpOptionsIdT>(value); }
48 template<
typename DhcpOptionsIdT = Aws::String>
58 template<
typename VpcIdT = Aws::String>
59 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
60 template<
typename VpcIdT = Aws::String>
73 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
79 bool m_dhcpOptionsIdHasBeenSet =
false;
82 bool m_vpcIdHasBeenSet =
false;
85 bool m_dryRunHasBeenSet =
false;
bool VpcIdHasBeenSet() const
AssociateDhcpOptionsRequest & WithDryRun(bool value)
const Aws::String & GetVpcId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API AssociateDhcpOptionsRequest()=default
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
AssociateDhcpOptionsRequest & WithVpcId(VpcIdT &&value)
AssociateDhcpOptionsRequest & WithDhcpOptionsId(DhcpOptionsIdT &&value)
void SetVpcId(VpcIdT &&value)
void SetDhcpOptionsId(DhcpOptionsIdT &&value)
const Aws::String & GetDhcpOptionsId() const
bool DhcpOptionsIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String