7#include <aws/ecs/ECS_EXPORTS.h>
47 m_memoryHasBeenSet =
true;
69 m_maxComputePercentHasBeenSet =
true;
70 m_maxComputePercent = value;
80 int m_maxComputePercent{0};
81 bool m_memoryHasBeenSet =
false;
82 bool m_maxComputePercentHasBeenSet =
false;
bool MemoryHasBeenSet() const
void SetMemory(int value)
AWS_ECS_API NvidiaMpsAllocation()=default
void SetMaxComputePercent(int value)
bool MaxComputePercentHasBeenSet() const
int GetMaxComputePercent() const
AWS_ECS_API NvidiaMpsAllocation(Aws::Utils::Json::JsonView jsonValue)
NvidiaMpsAllocation & WithMaxComputePercent(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
NvidiaMpsAllocation & WithMemory(int value)
AWS_ECS_API NvidiaMpsAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue