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>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizer {
34 AWS_COMPUTEOPTIMIZER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
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 int64_t
GetCpu()
const {
return m_cpu; }
79 m_cpuHasBeenSet =
true;
93 bool m_containerNameHasBeenSet =
false;
94 bool m_memorySizeConfigurationHasBeenSet =
false;
95 bool m_cpuHasBeenSet =
false;
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ContainerNameHasBeenSet() const
void SetContainerName(ContainerNameT &&value)
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetCpu(int64_t value)
ContainerRecommendation & WithContainerName(ContainerNameT &&value)
const MemorySizeConfiguration & GetMemorySizeConfiguration() const
bool MemorySizeConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ContainerRecommendation & WithCpu(int64_t value)
ContainerRecommendation & WithMemorySizeConfiguration(MemorySizeConfigurationT &&value)
const Aws::String & GetContainerName() const
AWS_COMPUTEOPTIMIZER_API ContainerRecommendation()=default
bool CpuHasBeenSet() const
void SetMemorySizeConfiguration(MemorySizeConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String