7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/MemorySizeConfiguration.h>
22namespace ComputeOptimizer
50 inline void SetContainerName(
const char* value) { m_containerNameHasBeenSet =
true; m_containerName.assign(value); }
72 inline int GetCpu()
const{
return m_cpu; }
74 inline void SetCpu(
int value) { m_cpuHasBeenSet =
true; m_cpu = value; }
80 bool m_containerNameHasBeenSet =
false;
83 bool m_memorySizeConfigurationHasBeenSet =
false;
86 bool m_cpuHasBeenSet =
false;
ContainerConfiguration & WithMemorySizeConfiguration(MemorySizeConfiguration &&value)
void SetContainerName(const char *value)
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration(Aws::Utils::Json::JsonView jsonValue)
ContainerConfiguration & WithContainerName(Aws::String &&value)
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MemorySizeConfiguration & GetMemorySizeConfiguration() const
bool ContainerNameHasBeenSet() const
ContainerConfiguration & WithMemorySizeConfiguration(const MemorySizeConfiguration &value)
const Aws::String & GetContainerName() const
void SetContainerName(Aws::String &&value)
ContainerConfiguration & WithCpu(int value)
void SetMemorySizeConfiguration(const MemorySizeConfiguration &value)
bool MemorySizeConfigurationHasBeenSet() const
void SetContainerName(const Aws::String &value)
ContainerConfiguration & WithContainerName(const Aws::String &value)
void SetMemorySizeConfiguration(MemorySizeConfiguration &&value)
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration()
ContainerConfiguration & WithContainerName(const char *value)
bool CpuHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue