7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename HourlyOnDemandRateT = Aws::String>
47 void SetHourlyOnDemandRate(HourlyOnDemandRateT&& value) { m_hourlyOnDemandRateHasBeenSet =
true; m_hourlyOnDemandRate = std::forward<HourlyOnDemandRateT>(value); }
48 template<
typename HourlyOnDemandRateT = Aws::String>
58 template<
typename InstanceTypeT = Aws::String>
59 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
60 template<
typename InstanceTypeT = Aws::String>
72 template<
typename PlatformT = Aws::String>
73 void SetPlatform(PlatformT&& value) { m_platformHasBeenSet =
true; m_platform = std::forward<PlatformT>(value); }
74 template<
typename PlatformT = Aws::String>
84 template<
typename RegionT = Aws::String>
85 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
86 template<
typename RegionT = Aws::String>
96 template<
typename SkuT = Aws::String>
97 void SetSku(SkuT&& value) { m_skuHasBeenSet =
true; m_sku = std::forward<SkuT>(value); }
98 template<
typename SkuT = Aws::String>
108 template<
typename MemoryT = Aws::String>
109 void SetMemory(MemoryT&& value) { m_memoryHasBeenSet =
true; m_memory = std::forward<MemoryT>(value); }
110 template<
typename MemoryT = Aws::String>
120 template<
typename NetworkPerformanceT = Aws::String>
121 void SetNetworkPerformance(NetworkPerformanceT&& value) { m_networkPerformanceHasBeenSet =
true; m_networkPerformance = std::forward<NetworkPerformanceT>(value); }
122 template<
typename NetworkPerformanceT = Aws::String>
133 template<
typename StorageT = Aws::String>
134 void SetStorage(StorageT&& value) { m_storageHasBeenSet =
true; m_storage = std::forward<StorageT>(value); }
135 template<
typename StorageT = Aws::String>
145 template<
typename VcpuT = Aws::String>
146 void SetVcpu(VcpuT&& value) { m_vcpuHasBeenSet =
true; m_vcpu = std::forward<VcpuT>(value); }
147 template<
typename VcpuT = Aws::String>
153 bool m_hourlyOnDemandRateHasBeenSet =
false;
156 bool m_instanceTypeHasBeenSet =
false;
159 bool m_platformHasBeenSet =
false;
162 bool m_regionHasBeenSet =
false;
165 bool m_skuHasBeenSet =
false;
168 bool m_memoryHasBeenSet =
false;
171 bool m_networkPerformanceHasBeenSet =
false;
174 bool m_storageHasBeenSet =
false;
177 bool m_vcpuHasBeenSet =
false;
void SetVcpu(VcpuT &&value)
bool VcpuHasBeenSet() const
void SetStorage(StorageT &&value)
AWS_COSTEXPLORER_API EC2ResourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(InstanceTypeT &&value)
const Aws::String & GetSku() const
const Aws::String & GetVcpu() const
bool HourlyOnDemandRateHasBeenSet() const
EC2ResourceDetails & WithStorage(StorageT &&value)
bool InstanceTypeHasBeenSet() const
void SetPlatform(PlatformT &&value)
const Aws::String & GetPlatform() const
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool SkuHasBeenSet() const
void SetRegion(RegionT &&value)
void SetSku(SkuT &&value)
const Aws::String & GetStorage() const
const Aws::String & GetMemory() const
EC2ResourceDetails & WithHourlyOnDemandRate(HourlyOnDemandRateT &&value)
const Aws::String & GetRegion() const
void SetHourlyOnDemandRate(HourlyOnDemandRateT &&value)
EC2ResourceDetails & WithVcpu(VcpuT &&value)
EC2ResourceDetails & WithMemory(MemoryT &&value)
EC2ResourceDetails & WithInstanceType(InstanceTypeT &&value)
void SetMemory(MemoryT &&value)
EC2ResourceDetails & WithSku(SkuT &&value)
bool MemoryHasBeenSet() const
EC2ResourceDetails & WithPlatform(PlatformT &&value)
const Aws::String & GetHourlyOnDemandRate() const
bool RegionHasBeenSet() const
bool StorageHasBeenSet() const
AWS_COSTEXPLORER_API EC2ResourceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkPerformance(NetworkPerformanceT &&value)
AWS_COSTEXPLORER_API EC2ResourceDetails()=default
EC2ResourceDetails & WithNetworkPerformance(NetworkPerformanceT &&value)
const Aws::String & GetNetworkPerformance() const
bool PlatformHasBeenSet() const
bool NetworkPerformanceHasBeenSet() const
EC2ResourceDetails & WithRegion(RegionT &&value)
const Aws::String & GetInstanceType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue