7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CostOptimizationHub
45 inline double GetVCpu()
const {
return m_vCpu; }
47 inline void SetVCpu(
double value) { m_vCpuHasBeenSet =
true; m_vCpu = value; }
57 inline void SetMemorySizeInMB(
int value) { m_memorySizeInMBHasBeenSet =
true; m_memorySizeInMB = value; }
67 template<
typename ArchitectureT = Aws::String>
68 void SetArchitecture(ArchitectureT&& value) { m_architectureHasBeenSet =
true; m_architecture = std::forward<ArchitectureT>(value); }
69 template<
typename ArchitectureT = Aws::String>
80 template<
typename PlatformT = Aws::String>
81 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet =
true; m_platform = std::forward<PlatformT>(value); }
82 template<
typename PlatformT = Aws::String>
88 bool m_vCpuHasBeenSet =
false;
90 int m_memorySizeInMB{0};
91 bool m_memorySizeInMBHasBeenSet =
false;
94 bool m_architectureHasBeenSet =
false;
97 bool m_platformHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemorySizeInMB(int value)
int GetMemorySizeInMB() const
const Aws::String & GetPlatform() const
ComputeConfiguration & WithMemorySizeInMB(int value)
void SetArchitecture(ArchitectureT &&value)
bool ArchitectureHasBeenSet() const
void SetPlatform(PlatformT &&value)
ComputeConfiguration & WithPlatform(PlatformT &&value)
bool VCpuHasBeenSet() const
bool PlatformHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration()=default
ComputeConfiguration & WithArchitecture(ArchitectureT &&value)
void SetVCpu(double value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeConfiguration & WithVCpu(double value)
bool MemorySizeInMBHasBeenSet() const
const Aws::String & GetArchitecture() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue