7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/model/MemorySizeConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ComputeOptimizer {
42 template <
typename ContainerNameT = Aws::String>
44 m_containerNameHasBeenSet =
true;
45 m_containerName = std::forward<ContainerNameT>(value);
47 template <
typename ContainerNameT = Aws::String>
60 template <
typename MemorySizeConfigurationT = MemorySizeConfiguration>
62 m_memorySizeConfigurationHasBeenSet =
true;
63 m_memorySizeConfiguration = std::forward<MemorySizeConfigurationT>(value);
65 template <
typename MemorySizeConfigurationT = MemorySizeConfiguration>
76 inline int GetCpu()
const {
return m_cpu; }
79 m_cpuHasBeenSet =
true;
93 bool m_containerNameHasBeenSet =
false;
94 bool m_memorySizeConfigurationHasBeenSet =
false;
95 bool m_cpuHasBeenSet =
false;
bool ContainerNameHasBeenSet() const
ContainerRecommendation & WithCpu(int value)
void SetContainerName(ContainerNameT &&value)
ContainerRecommendation & WithContainerName(ContainerNameT &&value)
const MemorySizeConfiguration & GetMemorySizeConfiguration() const
bool MemorySizeConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
ContainerRecommendation & WithMemorySizeConfiguration(MemorySizeConfigurationT &&value)
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContainerName() const
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation()=default
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool CpuHasBeenSet() const
void SetMemorySizeConfiguration(MemorySizeConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue