7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGateway_EXPORTS.h>
19namespace StorageGateway {
44 template <
typename VolumeARNT = Aws::String>
46 m_volumeARNHasBeenSet =
true;
47 m_volumeARN = std::forward<VolumeARNT>(value);
49 template <
typename VolumeARNT = Aws::String>
65 template <
typename VolumeIdT = Aws::String>
67 m_volumeIdHasBeenSet =
true;
68 m_volumeId = std::forward<VolumeIdT>(value);
70 template <
typename VolumeIdT = Aws::String>
81 template <
typename GatewayARNT = Aws::String>
83 m_gatewayARNHasBeenSet =
true;
84 m_gatewayARN = std::forward<GatewayARNT>(value);
86 template <
typename GatewayARNT = Aws::String>
102 template <
typename GatewayIdT = Aws::String>
104 m_gatewayIdHasBeenSet =
true;
105 m_gatewayId = std::forward<GatewayIdT>(value);
107 template <
typename GatewayIdT = Aws::String>
121 template <
typename VolumeTypeT = Aws::String>
123 m_volumeTypeHasBeenSet =
true;
124 m_volumeType = std::forward<VolumeTypeT>(value);
126 template <
typename VolumeTypeT = Aws::String>
141 m_volumeSizeInBytesHasBeenSet =
true;
142 m_volumeSizeInBytes = value;
157 template <
typename VolumeAttachmentStatusT = Aws::String>
159 m_volumeAttachmentStatusHasBeenSet =
true;
160 m_volumeAttachmentStatus = std::forward<VolumeAttachmentStatusT>(value);
162 template <
typename VolumeAttachmentStatusT = Aws::String>
179 long long m_volumeSizeInBytes{0};
182 bool m_volumeARNHasBeenSet =
false;
183 bool m_volumeIdHasBeenSet =
false;
184 bool m_gatewayARNHasBeenSet =
false;
185 bool m_gatewayIdHasBeenSet =
false;
186 bool m_volumeTypeHasBeenSet =
false;
187 bool m_volumeSizeInBytesHasBeenSet =
false;
188 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