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; }
62 template<
typename AttachmentIdT = Aws::String>
63 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet =
true; m_attachmentId = std::forward<AttachmentIdT>(value); }
64 template<
typename AttachmentIdT = Aws::String>
83 inline bool GetForce()
const {
return m_force; }
85 inline void SetForce(
bool value) { m_forceHasBeenSet =
true; m_force = value; }
91 bool m_dryRunHasBeenSet =
false;
94 bool m_attachmentIdHasBeenSet =
false;
97 bool m_forceHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DetachNetworkInterfaceRequest & WithForce(bool value)
virtual const char * GetServiceRequestName() const override
DetachNetworkInterfaceRequest & WithDryRun(bool value)
void SetDryRun(bool value)
bool AttachmentIdHasBeenSet() const
void SetForce(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAttachmentId(AttachmentIdT &&value)
DetachNetworkInterfaceRequest & WithAttachmentId(AttachmentIdT &&value)
AWS_EC2_API DetachNetworkInterfaceRequest()=default
bool ForceHasBeenSet() const
const Aws::String & GetAttachmentId() const
bool DryRunHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String