7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace SnowDeviceManagement
47 inline void SetAvailable(
long long value) { m_availableHasBeenSet =
true; m_available = value; }
59 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
69 inline long long GetTotal()
const{
return m_total; }
71 inline void SetTotal(
long long value) { m_totalHasBeenSet =
true; m_total = value; }
83 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
93 inline long long GetUsed()
const{
return m_used; }
95 inline void SetUsed(
long long value) { m_usedHasBeenSet =
true; m_used = value; }
100 long long m_available;
101 bool m_availableHasBeenSet =
false;
104 bool m_nameHasBeenSet =
false;
107 bool m_totalHasBeenSet =
false;
110 bool m_unitHasBeenSet =
false;
113 bool m_usedHasBeenSet =
false;
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetTotal(long long value)
AWS_SNOWDEVICEMANAGEMENT_API Capacity()
Capacity & WithName(const char *value)
Capacity & WithUnit(const Aws::String &value)
bool TotalHasBeenSet() const
void SetName(const Aws::String &value)
Capacity & WithUsed(long long value)
Capacity & WithTotal(long long value)
Capacity & WithName(Aws::String &&value)
long long GetUsed() const
Capacity & WithUnit(Aws::String &&value)
Capacity & WithName(const Aws::String &value)
void SetName(const char *value)
void SetUnit(Aws::String &&value)
void SetUnit(const char *value)
Capacity & WithUnit(const char *value)
void SetUsed(long long value)
Capacity & WithAvailable(long long value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
bool UsedHasBeenSet() const
long long GetTotal() const
void SetName(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnit(const Aws::String &value)
void SetAvailable(long long value)
bool UnitHasBeenSet() const
AWS_SNOWDEVICEMANAGEMENT_API Capacity(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUnit() const
long long GetAvailable() const
bool AvailableHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue