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;
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation()
bool ContainerNameHasBeenSet() const
ContainerRecommendation & WithCpu(int value)
ContainerRecommendation & WithMemorySizeConfiguration(const MemorySizeConfiguration &value)
void SetContainerName(const char *value)
const MemorySizeConfiguration & GetMemorySizeConfiguration() const
void SetContainerName(const Aws::String &value)
ContainerRecommendation & WithContainerName(const Aws::String &value)
ContainerRecommendation & WithContainerName(Aws::String &&value)
void SetContainerName(Aws::String &&value)
bool MemorySizeConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation(Aws::Utils::Json::JsonView jsonValue)
void SetMemorySizeConfiguration(const MemorySizeConfiguration &value)
ContainerRecommendation & WithContainerName(const char *value)
ContainerRecommendation & WithMemorySizeConfiguration(MemorySizeConfiguration &&value)
void SetMemorySizeConfiguration(MemorySizeConfiguration &&value)
const Aws::String & GetContainerName() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpuHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue