7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
19namespace SnowDeviceManagement {
30 AWS_SNOWDEVICEMANAGEMENT_API
Capacity() =
default;
42 m_availableHasBeenSet =
true;
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
73 inline long long GetTotal()
const {
return m_total; }
76 m_totalHasBeenSet =
true;
91 template <
typename UnitT = Aws::String>
93 m_unitHasBeenSet =
true;
94 m_unit = std::forward<UnitT>(value);
96 template <
typename UnitT = Aws::String>
98 SetUnit(std::forward<UnitT>(value));
107 inline long long GetUsed()
const {
return m_used; }
110 m_usedHasBeenSet =
true;
119 long long m_available{0};
123 long long m_total{0};
128 bool m_availableHasBeenSet =
false;
129 bool m_nameHasBeenSet =
false;
130 bool m_totalHasBeenSet =
false;
131 bool m_unitHasBeenSet =
false;
132 bool m_usedHasBeenSet =
false;
const Aws::String & GetName() const
bool NameHasBeenSet() const
void SetTotal(long long value)
bool TotalHasBeenSet() const
void SetName(NameT &&value)
Capacity & WithUsed(long long value)
Capacity & WithTotal(long long value)
long long GetUsed() const
AWS_SNOWDEVICEMANAGEMENT_API Capacity()=default
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
AWS_SNOWDEVICEMANAGEMENT_API Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAvailable(long long value)
bool UnitHasBeenSet() const
AWS_SNOWDEVICEMANAGEMENT_API Capacity(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUnit() const
Capacity & WithUnit(UnitT &&value)
long long GetAvailable() const
bool AvailableHasBeenSet() const
void SetUnit(UnitT &&value)
Capacity & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue