7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
64 inline void SetAttachmentId(
const char* value) { m_attachmentIdHasBeenSet =
true; m_attachmentId.assign(value); }
85 inline bool GetForce()
const{
return m_force; }
87 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
93 bool m_dryRunHasBeenSet =
false;
96 bool m_attachmentIdHasBeenSet =
false;
99 bool m_forceHasBeenSet =
false;
void SetAttachmentId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetachNetworkInterfaceRequest & WithForce(bool value)
virtual const char * GetServiceRequestName() const override
DetachNetworkInterfaceRequest & WithAttachmentId(const Aws::String &value)
DetachNetworkInterfaceRequest & WithDryRun(bool value)
void SetDryRun(bool value)
DetachNetworkInterfaceRequest & WithAttachmentId(const char *value)
AWS_EC2_API DetachNetworkInterfaceRequest()
bool AttachmentIdHasBeenSet() const
void SetForce(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAttachmentId(Aws::String &&value)
void SetAttachmentId(const Aws::String &value)
bool ForceHasBeenSet() const
DetachNetworkInterfaceRequest & WithAttachmentId(Aws::String &&value)
const Aws::String & GetAttachmentId() const
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String