7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace StorageGateway
46 template<
typename VolumeARNT = Aws::String>
47 void SetVolumeARN(VolumeARNT&& value) { m_volumeARNHasBeenSet =
true; m_volumeARN = std::forward<VolumeARNT>(value); }
48 template<
typename VolumeARNT = Aws::String>
62 inline void SetForceDetach(
bool value) { m_forceDetachHasBeenSet =
true; m_forceDetach = value; }
68 bool m_volumeARNHasBeenSet =
false;
70 bool m_forceDetach{
false};
71 bool m_forceDetachHasBeenSet =
false;
bool VolumeARNHasBeenSet() const
DetachVolumeRequest & WithForceDetach(bool value)
bool ForceDetachHasBeenSet() const
AWS_STORAGEGATEWAY_API DetachVolumeRequest()=default
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool GetForceDetach() const
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetVolumeARN(VolumeARNT &&value)
DetachVolumeRequest & WithVolumeARN(VolumeARNT &&value)
void SetForceDetach(bool value)
const Aws::String & GetVolumeARN() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String