7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
62 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
74 inline void SetSizeInGb(
int value) { m_sizeInGbHasBeenSet =
true; m_sizeInGb = value; }
85 inline void SetIsSystemDisk(
bool value) { m_isSystemDiskHasBeenSet =
true; m_isSystemDisk = value; }
91 bool m_nameHasBeenSet =
false;
94 bool m_pathHasBeenSet =
false;
97 bool m_sizeInGbHasBeenSet =
false;
100 bool m_isSystemDiskHasBeenSet =
false;
DiskInfo & WithPath(const Aws::String &value)
DiskInfo & WithName(Aws::String &&value)
const Aws::String & GetPath() const
void SetIsSystemDisk(bool value)
AWS_LIGHTSAIL_API DiskInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsSystemDisk() const
DiskInfo & WithPath(Aws::String &&value)
void SetPath(const Aws::String &value)
DiskInfo & WithPath(const char *value)
DiskInfo & WithName(const char *value)
bool PathHasBeenSet() const
AWS_LIGHTSAIL_API DiskInfo(Aws::Utils::Json::JsonView jsonValue)
bool SizeInGbHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
AWS_LIGHTSAIL_API DiskInfo()
bool NameHasBeenSet() const
DiskInfo & WithIsSystemDisk(bool value)
void SetPath(Aws::String &&value)
const Aws::String & GetName() const
void SetSizeInGb(int value)
DiskInfo & WithSizeInGb(int value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
DiskInfo & WithName(const Aws::String &value)
void SetPath(const char *value)
bool IsSystemDiskHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue