7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace EMRServerless
47 template<
typename CpuT = Aws::String>
48 void SetCpu(CpuT&& value) { m_cpuHasBeenSet =
true; m_cpu = std::forward<CpuT>(value); }
49 template<
typename CpuT = Aws::String>
59 template<
typename MemoryT = Aws::String>
60 void SetMemory(MemoryT&& value) { m_memoryHasBeenSet =
true; m_memory = std::forward<MemoryT>(value); }
61 template<
typename MemoryT = Aws::String>
71 template<
typename DiskT = Aws::String>
72 void SetDisk(DiskT&& value) { m_diskHasBeenSet =
true; m_disk = std::forward<DiskT>(value); }
73 template<
typename DiskT = Aws::String>
79 bool m_cpuHasBeenSet =
false;
82 bool m_memoryHasBeenSet =
false;
85 bool m_diskHasBeenSet =
false;
AWS_EMRSERVERLESS_API MaximumAllowedResources & operator=(Aws::Utils::Json::JsonView jsonValue)
MaximumAllowedResources & WithMemory(MemoryT &&value)
void SetDisk(DiskT &&value)
const Aws::String & GetCpu() const
const Aws::String & GetDisk() const
void SetMemory(MemoryT &&value)
AWS_EMRSERVERLESS_API MaximumAllowedResources(Aws::Utils::Json::JsonView jsonValue)
void SetCpu(CpuT &&value)
bool MemoryHasBeenSet() const
AWS_EMRSERVERLESS_API MaximumAllowedResources()=default
const Aws::String & GetMemory() const
MaximumAllowedResources & WithCpu(CpuT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpuHasBeenSet() const
MaximumAllowedResources & WithDisk(DiskT &&value)
bool DiskHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue