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;
void SetMemorySizeConfiguration(MemorySizeConfigurationT &&value)
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MemorySizeConfiguration & GetMemorySizeConfiguration() const
ContainerConfiguration & WithContainerName(ContainerNameT &&value)
bool ContainerNameHasBeenSet() const
const Aws::String & GetContainerName() const
ContainerConfiguration & WithCpu(int value)
ContainerConfiguration & WithMemorySizeConfiguration(MemorySizeConfigurationT &&value)
bool MemorySizeConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API ContainerConfiguration()=default
void SetContainerName(ContainerNameT &&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