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; }
69 inline void SetArchitecture(
const char* value) { m_architectureHasBeenSet =
true; m_architecture.assign(value); }
84 inline void SetPlatform(
const char* value) { m_platformHasBeenSet =
true; m_platform.assign(value); }
92 bool m_vCpuHasBeenSet =
false;
95 bool m_memorySizeInMBHasBeenSet =
false;
98 bool m_architectureHasBeenSet =
false;
101 bool m_platformHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMemorySizeInMB(int value)
int GetMemorySizeInMB() const
void SetArchitecture(const Aws::String &value)
const Aws::String & GetPlatform() const
ComputeConfiguration & WithPlatform(const char *value)
ComputeConfiguration & WithMemorySizeInMB(int value)
void SetArchitecture(const char *value)
bool ArchitectureHasBeenSet() const
ComputeConfiguration & WithPlatform(const Aws::String &value)
bool VCpuHasBeenSet() const
void SetArchitecture(Aws::String &&value)
void SetPlatform(const Aws::String &value)
ComputeConfiguration & WithArchitecture(const Aws::String &value)
ComputeConfiguration & WithArchitecture(const char *value)
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration()
void SetPlatform(Aws::String &&value)
bool PlatformHasBeenSet() const
ComputeConfiguration & WithPlatform(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API ComputeConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPlatform(const char *value)
ComputeConfiguration & WithArchitecture(Aws::String &&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