7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
50 template<
typename VolumeARNT = Aws::String>
51 void SetVolumeARN(VolumeARNT&& value) { m_volumeARNHasBeenSet =
true; m_volumeARN = std::forward<VolumeARNT>(value); }
52 template<
typename VolumeARNT = Aws::String>
65 template<
typename VolumeIdT = Aws::String>
66 void SetVolumeId(VolumeIdT&& value) { m_volumeIdHasBeenSet =
true; m_volumeId = std::forward<VolumeIdT>(value); }
67 template<
typename VolumeIdT = Aws::String>
75 template<
typename GatewayARNT = Aws::String>
76 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN = std::forward<GatewayARNT>(value); }
77 template<
typename GatewayARNT = Aws::String>
90 template<
typename GatewayIdT = Aws::String>
91 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
92 template<
typename GatewayIdT = Aws::String>
103 template<
typename VolumeTypeT = Aws::String>
104 void SetVolumeType(VolumeTypeT&& value) { m_volumeTypeHasBeenSet =
true; m_volumeType = std::forward<VolumeTypeT>(value); }
105 template<
typename VolumeTypeT = Aws::String>
116 inline void SetVolumeSizeInBytes(
long long value) { m_volumeSizeInBytesHasBeenSet =
true; m_volumeSizeInBytes = value; }
127 template<
typename VolumeAttachmentStatusT = Aws::String>
128 void SetVolumeAttachmentStatus(VolumeAttachmentStatusT&& value) { m_volumeAttachmentStatusHasBeenSet =
true; m_volumeAttachmentStatus = std::forward<VolumeAttachmentStatusT>(value); }
129 template<
typename VolumeAttachmentStatusT = Aws::String>
135 bool m_volumeARNHasBeenSet =
false;
138 bool m_volumeIdHasBeenSet =
false;
141 bool m_gatewayARNHasBeenSet =
false;
144 bool m_gatewayIdHasBeenSet =
false;
147 bool m_volumeTypeHasBeenSet =
false;
149 long long m_volumeSizeInBytes{0};
150 bool m_volumeSizeInBytesHasBeenSet =
false;
153 bool m_volumeAttachmentStatusHasBeenSet =
false;
void SetVolumeARN(VolumeARNT &&value)
long long GetVolumeSizeInBytes() const
const Aws::String & GetVolumeType() const
void SetVolumeAttachmentStatus(VolumeAttachmentStatusT &&value)
VolumeInfo & WithVolumeAttachmentStatus(VolumeAttachmentStatusT &&value)
const Aws::String & GetVolumeAttachmentStatus() const
void SetVolumeType(VolumeTypeT &&value)
bool VolumeARNHasBeenSet() const
VolumeInfo & WithGatewayARN(GatewayARNT &&value)
const Aws::String & GetGatewayId() const
const Aws::String & GetVolumeARN() const
void SetVolumeId(VolumeIdT &&value)
bool VolumeAttachmentStatusHasBeenSet() const
VolumeInfo & WithVolumeARN(VolumeARNT &&value)
bool GatewayIdHasBeenSet() const
AWS_STORAGEGATEWAY_API VolumeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GatewayARNHasBeenSet() const
VolumeInfo & WithVolumeType(VolumeTypeT &&value)
VolumeInfo & WithVolumeSizeInBytes(long long value)
bool VolumeIdHasBeenSet() const
bool VolumeTypeHasBeenSet() const
const Aws::String & GetVolumeId() const
const Aws::String & GetGatewayARN() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_STORAGEGATEWAY_API VolumeInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API VolumeInfo()=default
bool VolumeSizeInBytesHasBeenSet() const
void SetGatewayId(GatewayIdT &&value)
void SetGatewayARN(GatewayARNT &&value)
VolumeInfo & WithVolumeId(VolumeIdT &&value)
void SetVolumeSizeInBytes(long long value)
VolumeInfo & WithGatewayId(GatewayIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue