7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
14namespace StorageGateway {
42 template <
typename VolumeARNT = Aws::String>
44 m_volumeARNHasBeenSet =
true;
45 m_volumeARN = std::forward<VolumeARNT>(value);
47 template <
typename VolumeARNT = Aws::String>
65 m_forceDetachHasBeenSet =
true;
66 m_forceDetach = value;
76 bool m_forceDetach{
false};
77 bool m_volumeARNHasBeenSet =
false;
78 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