7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetCpu(
Aws::String&& value) { m_cpuHasBeenSet =
true; m_cpu = std::move(value); }
50 inline void SetCpu(
const char* value) { m_cpuHasBeenSet =
true; m_cpu.assign(value); }
65 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
81 inline void SetInstanceRoleArn(
const char* value) { m_instanceRoleArnHasBeenSet =
true; m_instanceRoleArn.assign(value); }
89 bool m_cpuHasBeenSet =
false;
92 bool m_memoryHasBeenSet =
false;
95 bool m_instanceRoleArnHasBeenSet =
false;
InstanceConfiguration & WithMemory(Aws::String &&value)
void SetCpu(const Aws::String &value)
InstanceConfiguration & WithMemory(const Aws::String &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpuHasBeenSet() const
InstanceConfiguration & WithInstanceRoleArn(const char *value)
InstanceConfiguration & WithInstanceRoleArn(Aws::String &&value)
void SetInstanceRoleArn(const Aws::String &value)
AWS_APPRUNNER_API InstanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemory(Aws::String &&value)
bool InstanceRoleArnHasBeenSet() const
AWS_APPRUNNER_API InstanceConfiguration()
const Aws::String & GetCpu() const
void SetMemory(const Aws::String &value)
void SetCpu(const char *value)
void SetCpu(Aws::String &&value)
InstanceConfiguration & WithInstanceRoleArn(const Aws::String &value)
const Aws::String & GetMemory() const
AWS_APPRUNNER_API InstanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
InstanceConfiguration & WithCpu(Aws::String &&value)
const Aws::String & GetInstanceRoleArn() const
InstanceConfiguration & WithCpu(const char *value)
bool MemoryHasBeenSet() const
void SetMemory(const char *value)
void SetInstanceRoleArn(const char *value)
InstanceConfiguration & WithCpu(const Aws::String &value)
InstanceConfiguration & WithMemory(const char *value)
void SetInstanceRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue