7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
19namespace EMRServerless {
41 template <
typename CpuT = Aws::String>
43 m_cpuHasBeenSet =
true;
44 m_cpu = std::forward<CpuT>(value);
46 template <
typename CpuT = Aws::String>
48 SetCpu(std::forward<CpuT>(value));
59 template <
typename MemoryT = Aws::String>
61 m_memoryHasBeenSet =
true;
62 m_memory = std::forward<MemoryT>(value);
64 template <
typename MemoryT = Aws::String>
77 template <
typename DiskT = Aws::String>
79 m_diskHasBeenSet =
true;
80 m_disk = std::forward<DiskT>(value);
82 template <
typename DiskT = Aws::String>
84 SetDisk(std::forward<DiskT>(value));
97 template <
typename DiskTypeT = Aws::String>
99 m_diskTypeHasBeenSet =
true;
100 m_diskType = std::forward<DiskTypeT>(value);
102 template <
typename DiskTypeT = Aws::String>
116 bool m_cpuHasBeenSet =
false;
117 bool m_memoryHasBeenSet =
false;
118 bool m_diskHasBeenSet =
false;
119 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