7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace SnowDeviceManagement
35 AWS_SNOWDEVICEMANAGEMENT_API
Capacity() =
default;
47 inline void SetAvailable(
long long value) { m_availableHasBeenSet =
true; m_available = value; }
57 template<
typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
59 template<
typename NameT = Aws::String>
67 inline long long GetTotal()
const {
return m_total; }
69 inline void SetTotal(
long long value) { m_totalHasBeenSet =
true; m_total = value; }
79 template<
typename UnitT = Aws::String>
80 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
81 template<
typename UnitT = Aws::String>
89 inline long long GetUsed()
const {
return m_used; }
91 inline void SetUsed(
long long value) { m_usedHasBeenSet =
true; m_used = value; }
96 long long m_available{0};
97 bool m_availableHasBeenSet =
false;
100 bool m_nameHasBeenSet =
false;
102 long long m_total{0};
103 bool m_totalHasBeenSet =
false;
106 bool m_unitHasBeenSet =
false;
109 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