7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/HostnameType.h>
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
61 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
107 bool m_dryRunHasBeenSet =
false;
110 bool m_instanceIdHasBeenSet =
false;
113 bool m_privateDnsHostnameTypeHasBeenSet =
false;
115 bool m_enableResourceNameDnsARecord;
116 bool m_enableResourceNameDnsARecordHasBeenSet =
false;
118 bool m_enableResourceNameDnsAAAARecord;
119 bool m_enableResourceNameDnsAAAARecordHasBeenSet =
false;
void SetInstanceId(const Aws::String &value)
const Aws::String & GetInstanceId() const
ModifyPrivateDnsNameOptionsRequest & WithInstanceId(const Aws::String &value)
void SetPrivateDnsHostnameType(const HostnameType &value)
ModifyPrivateDnsNameOptionsRequest & WithInstanceId(const char *value)
ModifyPrivateDnsNameOptionsRequest & WithPrivateDnsHostnameType(const HostnameType &value)
bool InstanceIdHasBeenSet() const
ModifyPrivateDnsNameOptionsRequest & WithPrivateDnsHostnameType(HostnameType &&value)
bool DryRunHasBeenSet() const
const HostnameType & GetPrivateDnsHostnameType() const
bool EnableResourceNameDnsAAAARecordHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyPrivateDnsNameOptionsRequest & WithEnableResourceNameDnsARecord(bool value)
virtual const char * GetServiceRequestName() const override
bool PrivateDnsHostnameTypeHasBeenSet() const
void SetPrivateDnsHostnameType(HostnameType &&value)
bool GetEnableResourceNameDnsARecord() const
bool EnableResourceNameDnsARecordHasBeenSet() const
AWS_EC2_API ModifyPrivateDnsNameOptionsRequest()
void SetInstanceId(Aws::String &&value)
ModifyPrivateDnsNameOptionsRequest & WithDryRun(bool value)
void SetInstanceId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetEnableResourceNameDnsAAAARecord(bool value)
void SetEnableResourceNameDnsARecord(bool value)
ModifyPrivateDnsNameOptionsRequest & WithEnableResourceNameDnsAAAARecord(bool value)
void SetDryRun(bool value)
ModifyPrivateDnsNameOptionsRequest & WithInstanceId(Aws::String &&value)
bool GetEnableResourceNameDnsAAAARecord() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String