7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CpuT = Aws::String>
49 void SetCpu(CpuT&& value) { m_cpuHasBeenSet =
true; m_cpu = std::forward<CpuT>(value); }
50 template<
typename CpuT = Aws::String>
61 template<
typename MemoryT = Aws::String>
62 void SetMemory(MemoryT&& value) { m_memoryHasBeenSet =
true; m_memory = std::forward<MemoryT>(value); }
63 template<
typename MemoryT = Aws::String>
75 template<
typename InstanceRoleArnT = Aws::String>
76 void SetInstanceRoleArn(InstanceRoleArnT&& value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn = std::forward<InstanceRoleArnT>(value); }
77 template<
typename InstanceRoleArnT = Aws::String>
83 bool m_cpuHasBeenSet =
false;
86 bool m_memoryHasBeenSet =
false;
89 bool m_instanceRoleArnHasBeenSet =
false;
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpuHasBeenSet() const
AWS_APPRUNNER_API InstanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InstanceRoleArnHasBeenSet() const
const Aws::String & GetCpu() const
const Aws::String & GetMemory() const
AWS_APPRUNNER_API InstanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceRoleArn() const
void SetCpu(CpuT &&value)
AWS_APPRUNNER_API InstanceConfiguration()=default
bool MemoryHasBeenSet() const
void SetMemory(MemoryT &&value)
InstanceConfiguration & WithInstanceRoleArn(InstanceRoleArnT &&value)
InstanceConfiguration & WithMemory(MemoryT &&value)
InstanceConfiguration & WithCpu(CpuT &&value)
void SetInstanceRoleArn(InstanceRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue