7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
49 m_dryRunHasBeenSet =
true;
64 template <
typename AttachmentIdT = Aws::String>
66 m_attachmentIdHasBeenSet =
true;
67 m_attachmentId = std::forward<AttachmentIdT>(value);
69 template <
typename AttachmentIdT = Aws::String>
91 inline bool GetForce()
const {
return m_force; }
94 m_forceHasBeenSet =
true;
103 bool m_dryRun{
false};
108 bool m_dryRunHasBeenSet =
false;
109 bool m_attachmentIdHasBeenSet =
false;
110 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