7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
52 inline void SetVolumeARN(
const char* value) { m_volumeARNHasBeenSet =
true; m_volumeARN.assign(value); }
69 inline void SetVolumeId(
const char* value) { m_volumeIdHasBeenSet =
true; m_volumeId.assign(value); }
81 inline void SetGatewayARN(
const char* value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN.assign(value); }
98 inline void SetGatewayId(
const char* value) { m_gatewayIdHasBeenSet =
true; m_gatewayId.assign(value); }
113 inline void SetVolumeType(
const char* value) { m_volumeTypeHasBeenSet =
true; m_volumeType.assign(value); }
126 inline void SetVolumeSizeInBytes(
long long value) { m_volumeSizeInBytesHasBeenSet =
true; m_volumeSizeInBytes = value; }
139 inline void SetVolumeAttachmentStatus(
const char* value) { m_volumeAttachmentStatusHasBeenSet =
true; m_volumeAttachmentStatus.assign(value); }
147 bool m_volumeARNHasBeenSet =
false;
150 bool m_volumeIdHasBeenSet =
false;
153 bool m_gatewayARNHasBeenSet =
false;
156 bool m_gatewayIdHasBeenSet =
false;
159 bool m_volumeTypeHasBeenSet =
false;
161 long long m_volumeSizeInBytes;
162 bool m_volumeSizeInBytesHasBeenSet =
false;
165 bool m_volumeAttachmentStatusHasBeenSet =
false;
void SetVolumeAttachmentStatus(const char *value)
VolumeInfo & WithVolumeId(const Aws::String &value)
void SetVolumeARN(Aws::String &&value)
long long GetVolumeSizeInBytes() const
const Aws::String & GetVolumeType() const
const Aws::String & GetVolumeAttachmentStatus() const
void SetVolumeId(const Aws::String &value)
VolumeInfo & WithGatewayARN(const Aws::String &value)
bool VolumeARNHasBeenSet() const
const Aws::String & GetGatewayId() const
AWS_STORAGEGATEWAY_API VolumeInfo()
void SetVolumeId(Aws::String &&value)
const Aws::String & GetVolumeARN() const
void SetVolumeARN(const char *value)
void SetVolumeId(const char *value)
bool VolumeAttachmentStatusHasBeenSet() const
bool GatewayIdHasBeenSet() const
void SetVolumeType(Aws::String &&value)
AWS_STORAGEGATEWAY_API VolumeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VolumeInfo & WithVolumeARN(const Aws::String &value)
VolumeInfo & WithVolumeARN(Aws::String &&value)
VolumeInfo & WithGatewayARN(Aws::String &&value)
VolumeInfo & WithVolumeARN(const char *value)
bool GatewayARNHasBeenSet() const
VolumeInfo & WithVolumeAttachmentStatus(const Aws::String &value)
VolumeInfo & WithVolumeSizeInBytes(long long value)
bool VolumeIdHasBeenSet() const
bool VolumeTypeHasBeenSet() const
const Aws::String & GetVolumeId() const
const Aws::String & GetGatewayARN() const
void SetVolumeAttachmentStatus(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API VolumeInfo(Aws::Utils::Json::JsonView jsonValue)
void SetGatewayId(Aws::String &&value)
bool VolumeSizeInBytesHasBeenSet() const
VolumeInfo & WithVolumeType(Aws::String &&value)
void SetVolumeType(const Aws::String &value)
void SetGatewayARN(const Aws::String &value)
VolumeInfo & WithGatewayId(Aws::String &&value)
VolumeInfo & WithVolumeId(const char *value)
VolumeInfo & WithVolumeAttachmentStatus(Aws::String &&value)
VolumeInfo & WithVolumeType(const char *value)
VolumeInfo & WithGatewayId(const Aws::String &value)
void SetGatewayId(const Aws::String &value)
VolumeInfo & WithVolumeId(Aws::String &&value)
VolumeInfo & WithVolumeType(const Aws::String &value)
void SetGatewayARN(const char *value)
void SetVolumeAttachmentStatus(const Aws::String &value)
void SetVolumeType(const char *value)
void SetGatewayARN(Aws::String &&value)
void SetGatewayId(const char *value)
VolumeInfo & WithGatewayId(const char *value)
VolumeInfo & WithGatewayARN(const char *value)
void SetVolumeSizeInBytes(long long value)
VolumeInfo & WithVolumeAttachmentStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue