7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace StorageGateway
35 AWS_STORAGEGATEWAY_API
Disk();
50 inline void SetDiskId(
const char* value) { m_diskIdHasBeenSet =
true; m_diskId.assign(value); }
64 inline void SetDiskPath(
const char* value) { m_diskPathHasBeenSet =
true; m_diskPath.assign(value); }
79 inline void SetDiskNode(
const char* value) { m_diskNodeHasBeenSet =
true; m_diskNode.assign(value); }
93 inline void SetDiskStatus(
const char* value) { m_diskStatusHasBeenSet =
true; m_diskStatus.assign(value); }
105 inline void SetDiskSizeInBytes(
long long value) { m_diskSizeInBytesHasBeenSet =
true; m_diskSizeInBytes = value; }
115 inline void SetDiskAllocationType(
const char* value) { m_diskAllocationTypeHasBeenSet =
true; m_diskAllocationType.assign(value); }
131 inline void SetDiskAllocationResource(
const char* value) { m_diskAllocationResourceHasBeenSet =
true; m_diskAllocationResource.assign(value); }
147 inline Disk&
AddDiskAttributeList(
const char* value) { m_diskAttributeListHasBeenSet =
true; m_diskAttributeList.push_back(value);
return *
this; }
152 bool m_diskIdHasBeenSet =
false;
155 bool m_diskPathHasBeenSet =
false;
158 bool m_diskNodeHasBeenSet =
false;
161 bool m_diskStatusHasBeenSet =
false;
163 long long m_diskSizeInBytes;
164 bool m_diskSizeInBytesHasBeenSet =
false;
167 bool m_diskAllocationTypeHasBeenSet =
false;
170 bool m_diskAllocationResourceHasBeenSet =
false;
173 bool m_diskAttributeListHasBeenSet =
false;
Disk & WithDiskNode(const char *value)
void SetDiskPath(const Aws::String &value)
Disk & WithDiskAllocationResource(const Aws::String &value)
void SetDiskId(const Aws::String &value)
const Aws::String & GetDiskNode() const
const Aws::String & GetDiskAllocationType() const
const Aws::String & GetDiskId() const
void SetDiskAllocationType(Aws::String &&value)
Disk & AddDiskAttributeList(Aws::String &&value)
void SetDiskNode(Aws::String &&value)
void SetDiskId(const char *value)
void SetDiskAllocationResource(const Aws::String &value)
Disk & WithDiskId(Aws::String &&value)
bool DiskAttributeListHasBeenSet() const
Disk & WithDiskStatus(const Aws::String &value)
void SetDiskAllocationType(const Aws::String &value)
Disk & AddDiskAttributeList(const char *value)
Disk & WithDiskSizeInBytes(long long value)
const Aws::String & GetDiskAllocationResource() const
bool DiskIdHasBeenSet() const
bool DiskSizeInBytesHasBeenSet() const
AWS_STORAGEGATEWAY_API Disk(Aws::Utils::Json::JsonView jsonValue)
Disk & WithDiskPath(const Aws::String &value)
void SetDiskAttributeList(const Aws::Vector< Aws::String > &value)
Disk & WithDiskStatus(const char *value)
Disk & WithDiskAllocationType(const Aws::String &value)
AWS_STORAGEGATEWAY_API Disk()
AWS_STORAGEGATEWAY_API Disk & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DiskAllocationResourceHasBeenSet() const
Disk & WithDiskStatus(Aws::String &&value)
void SetDiskStatus(Aws::String &&value)
void SetDiskPath(Aws::String &&value)
bool DiskPathHasBeenSet() const
Disk & WithDiskAllocationType(const char *value)
long long GetDiskSizeInBytes() const
Disk & WithDiskAllocationType(Aws::String &&value)
Disk & WithDiskId(const char *value)
Disk & WithDiskAttributeList(const Aws::Vector< Aws::String > &value)
void SetDiskStatus(const Aws::String &value)
Disk & WithDiskNode(Aws::String &&value)
Disk & WithDiskAttributeList(Aws::Vector< Aws::String > &&value)
void SetDiskAttributeList(Aws::Vector< Aws::String > &&value)
Disk & WithDiskAllocationResource(Aws::String &&value)
void SetDiskAllocationResource(const char *value)
void SetDiskStatus(const char *value)
void SetDiskId(Aws::String &&value)
Disk & WithDiskNode(const Aws::String &value)
void SetDiskNode(const char *value)
void SetDiskSizeInBytes(long long value)
bool DiskNodeHasBeenSet() const
const Aws::Vector< Aws::String > & GetDiskAttributeList() const
Disk & WithDiskPath(const char *value)
bool DiskAllocationTypeHasBeenSet() const
void SetDiskAllocationResource(Aws::String &&value)
void SetDiskAllocationType(const char *value)
void SetDiskPath(const char *value)
Disk & WithDiskPath(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDiskStatus() const
const Aws::String & GetDiskPath() const
bool DiskStatusHasBeenSet() const
Disk & WithDiskAllocationResource(const char *value)
void SetDiskNode(const Aws::String &value)
Disk & AddDiskAttributeList(const Aws::String &value)
Disk & WithDiskId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue