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>
85 template<
typename DiskTypeT = Aws::String>
86 void SetDiskType(DiskTypeT&& value) { m_diskTypeHasBeenSet =
true; m_diskType = std::forward<DiskTypeT>(value); }
87 template<
typename DiskTypeT = Aws::String>
93 bool m_cpuHasBeenSet =
false;
96 bool m_memoryHasBeenSet =
false;
99 bool m_diskHasBeenSet =
false;
102 bool m_diskTypeHasBeenSet =
false;
const Aws::String & GetDiskType() const
const Aws::String & GetDisk() const
void SetMemory(MemoryT &&value)
const Aws::String & GetMemory() const
void SetDisk(DiskT &&value)
WorkerResourceConfig & WithCpu(CpuT &&value)
WorkerResourceConfig & WithDiskType(DiskTypeT &&value)
bool DiskTypeHasBeenSet() const
bool MemoryHasBeenSet() const
AWS_EMRSERVERLESS_API WorkerResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CpuHasBeenSet() const
void SetDiskType(DiskTypeT &&value)
AWS_EMRSERVERLESS_API WorkerResourceConfig()=default
const Aws::String & GetCpu() const
void SetCpu(CpuT &&value)
WorkerResourceConfig & WithMemory(MemoryT &&value)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRSERVERLESS_API WorkerResourceConfig(Aws::Utils::Json::JsonView jsonValue)
bool DiskHasBeenSet() const
WorkerResourceConfig & WithDisk(DiskT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue