7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
19namespace CostOptimizationHub {
39 inline double GetVCpu()
const {
return m_vCpu; }
42 m_vCpuHasBeenSet =
true;
58 m_memorySizeInMBHasBeenSet =
true;
59 m_memorySizeInMB = value;
73 template <
typename ArchitectureT = Aws::String>
75 m_architectureHasBeenSet =
true;
76 m_architecture = std::forward<ArchitectureT>(value);
78 template <
typename ArchitectureT = Aws::String>
92 template <
typename PlatformT = Aws::String>
94 m_platformHasBeenSet =
true;
95 m_platform = std::forward<PlatformT>(value);
97 template <
typename PlatformT = Aws::String>
106 int m_memorySizeInMB{0};
111 bool m_vCpuHasBeenSet =
false;
112 bool m_memorySizeInMBHasBeenSet =
false;
113 bool m_architectureHasBeenSet =
false;
114 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