7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CostExplorer {
40 template <
typename HourlyOnDemandRateT = Aws::String>
42 m_hourlyOnDemandRateHasBeenSet =
true;
43 m_hourlyOnDemandRate = std::forward<HourlyOnDemandRateT>(value);
45 template <
typename HourlyOnDemandRateT = Aws::String>
58 template <
typename InstanceTypeT = Aws::String>
60 m_instanceTypeHasBeenSet =
true;
61 m_instanceType = std::forward<InstanceTypeT>(value);
63 template <
typename InstanceTypeT = Aws::String>
78 template <
typename PlatformT = Aws::String>
80 m_platformHasBeenSet =
true;
81 m_platform = std::forward<PlatformT>(value);
83 template <
typename PlatformT = Aws::String>
96 template <
typename RegionT = Aws::String>
98 m_regionHasBeenSet =
true;
99 m_region = std::forward<RegionT>(value);
101 template <
typename RegionT = Aws::String>
114 template <
typename SkuT = Aws::String>
116 m_skuHasBeenSet =
true;
117 m_sku = std::forward<SkuT>(value);
119 template <
typename SkuT = Aws::String>
121 SetSku(std::forward<SkuT>(value));
132 template <
typename MemoryT = Aws::String>
134 m_memoryHasBeenSet =
true;
135 m_memory = std::forward<MemoryT>(value);
137 template <
typename MemoryT = Aws::String>
150 template <
typename NetworkPerformanceT = Aws::String>
152 m_networkPerformanceHasBeenSet =
true;
153 m_networkPerformance = std::forward<NetworkPerformanceT>(value);
155 template <
typename NetworkPerformanceT = Aws::String>
169 template <
typename StorageT = Aws::String>
171 m_storageHasBeenSet =
true;
172 m_storage = std::forward<StorageT>(value);
174 template <
typename StorageT = Aws::String>
187 template <
typename VcpuT = Aws::String>
189 m_vcpuHasBeenSet =
true;
190 m_vcpu = std::forward<VcpuT>(value);
192 template <
typename VcpuT = Aws::String>
194 SetVcpu(std::forward<VcpuT>(value));
216 bool m_hourlyOnDemandRateHasBeenSet =
false;
217 bool m_instanceTypeHasBeenSet =
false;
218 bool m_platformHasBeenSet =
false;
219 bool m_regionHasBeenSet =
false;
220 bool m_skuHasBeenSet =
false;
221 bool m_memoryHasBeenSet =
false;
222 bool m_networkPerformanceHasBeenSet =
false;
223 bool m_storageHasBeenSet =
false;
224 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