7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
46 inline long long GetMemory()
const{
return m_memory; }
48 inline void SetMemory(
long long value) { m_memoryHasBeenSet =
true; m_memory = value; }
63 inline double GetCpus()
const{
return m_cpus; }
65 inline void SetCpus(
double value) { m_cpusHasBeenSet =
true; m_cpus = value; }
71 bool m_memoryHasBeenSet =
false;
74 bool m_cpusHasBeenSet =
false;
void SetMemory(long long value)
bool MemoryHasBeenSet() const
long long GetMemory() const
SystemResourceLimits & WithCpus(double value)
SystemResourceLimits & WithMemory(long long value)
AWS_GREENGRASSV2_API SystemResourceLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API SystemResourceLimits(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpusHasBeenSet() const
void SetCpus(double value)
AWS_GREENGRASSV2_API SystemResourceLimits()
Aws::Utils::Json::JsonValue JsonValue