/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on the Amazon EC2 Resource.See Also:
AWS
* API Reference
The hourly public On-Demand rate for the instance type.
*/ inline const Aws::String& GetHourlyOnDemandRate() const{ return m_hourlyOnDemandRate; } /** *The hourly public On-Demand rate for the instance type.
*/ inline bool HourlyOnDemandRateHasBeenSet() const { return m_hourlyOnDemandRateHasBeenSet; } /** *The hourly public On-Demand rate for the instance type.
*/ inline void SetHourlyOnDemandRate(const Aws::String& value) { m_hourlyOnDemandRateHasBeenSet = true; m_hourlyOnDemandRate = value; } /** *The hourly public On-Demand rate for the instance type.
*/ inline void SetHourlyOnDemandRate(Aws::String&& value) { m_hourlyOnDemandRateHasBeenSet = true; m_hourlyOnDemandRate = std::move(value); } /** *The hourly public On-Demand rate for the instance type.
*/ inline void SetHourlyOnDemandRate(const char* value) { m_hourlyOnDemandRateHasBeenSet = true; m_hourlyOnDemandRate.assign(value); } /** *The hourly public On-Demand rate for the instance type.
*/ inline EC2ResourceDetails& WithHourlyOnDemandRate(const Aws::String& value) { SetHourlyOnDemandRate(value); return *this;} /** *The hourly public On-Demand rate for the instance type.
*/ inline EC2ResourceDetails& WithHourlyOnDemandRate(Aws::String&& value) { SetHourlyOnDemandRate(std::move(value)); return *this;} /** *The hourly public On-Demand rate for the instance type.
*/ inline EC2ResourceDetails& WithHourlyOnDemandRate(const char* value) { SetHourlyOnDemandRate(value); return *this;} /** *The type of Amazon Web Services instance.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The type of Amazon Web Services instance.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The type of Amazon Web Services instance.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The type of Amazon Web Services instance.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The type of Amazon Web Services instance.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The type of Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The type of Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The type of Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline const Aws::String& GetPlatform() const{ return m_platform; } /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); } /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline EC2ResourceDetails& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;} /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline EC2ResourceDetails& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;} /** *The platform of the Amazon Web Services instance. The platform is the * specific combination of operating system, license model, and software on an * instance.
*/ inline EC2ResourceDetails& WithPlatform(const char* value) { SetPlatform(value); return *this;} /** *The Amazon Web Services Region of the instance.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region of the instance.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Amazon Web Services Region of the instance.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Amazon Web Services Region of the instance.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Amazon Web Services Region of the instance.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Amazon Web Services Region of the instance.
*/ inline EC2ResourceDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region of the instance.
*/ inline EC2ResourceDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region of the instance.
*/ inline EC2ResourceDetails& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The SKU of the product.
*/ inline const Aws::String& GetSku() const{ return m_sku; } /** *The SKU of the product.
*/ inline bool SkuHasBeenSet() const { return m_skuHasBeenSet; } /** *The SKU of the product.
*/ inline void SetSku(const Aws::String& value) { m_skuHasBeenSet = true; m_sku = value; } /** *The SKU of the product.
*/ inline void SetSku(Aws::String&& value) { m_skuHasBeenSet = true; m_sku = std::move(value); } /** *The SKU of the product.
*/ inline void SetSku(const char* value) { m_skuHasBeenSet = true; m_sku.assign(value); } /** *The SKU of the product.
*/ inline EC2ResourceDetails& WithSku(const Aws::String& value) { SetSku(value); return *this;} /** *The SKU of the product.
*/ inline EC2ResourceDetails& WithSku(Aws::String&& value) { SetSku(std::move(value)); return *this;} /** *The SKU of the product.
*/ inline EC2ResourceDetails& WithSku(const char* value) { SetSku(value); return *this;} /** *The memory capacity of the Amazon Web Services instance.
*/ inline const Aws::String& GetMemory() const{ return m_memory; } /** *The memory capacity of the Amazon Web Services instance.
*/ inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; } /** *The memory capacity of the Amazon Web Services instance.
*/ inline void SetMemory(const Aws::String& value) { m_memoryHasBeenSet = true; m_memory = value; } /** *The memory capacity of the Amazon Web Services instance.
*/ inline void SetMemory(Aws::String&& value) { m_memoryHasBeenSet = true; m_memory = std::move(value); } /** *The memory capacity of the Amazon Web Services instance.
*/ inline void SetMemory(const char* value) { m_memoryHasBeenSet = true; m_memory.assign(value); } /** *The memory capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithMemory(const Aws::String& value) { SetMemory(value); return *this;} /** *The memory capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithMemory(Aws::String&& value) { SetMemory(std::move(value)); return *this;} /** *The memory capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithMemory(const char* value) { SetMemory(value); return *this;} /** *The network performance capacity of the Amazon Web Services instance.
*/ inline const Aws::String& GetNetworkPerformance() const{ return m_networkPerformance; } /** *The network performance capacity of the Amazon Web Services instance.
*/ inline bool NetworkPerformanceHasBeenSet() const { return m_networkPerformanceHasBeenSet; } /** *The network performance capacity of the Amazon Web Services instance.
*/ inline void SetNetworkPerformance(const Aws::String& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = value; } /** *The network performance capacity of the Amazon Web Services instance.
*/ inline void SetNetworkPerformance(Aws::String&& value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance = std::move(value); } /** *The network performance capacity of the Amazon Web Services instance.
*/ inline void SetNetworkPerformance(const char* value) { m_networkPerformanceHasBeenSet = true; m_networkPerformance.assign(value); } /** *The network performance capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithNetworkPerformance(const Aws::String& value) { SetNetworkPerformance(value); return *this;} /** *The network performance capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithNetworkPerformance(Aws::String&& value) { SetNetworkPerformance(std::move(value)); return *this;} /** *The network performance capacity of the Amazon Web Services instance.
*/ inline EC2ResourceDetails& WithNetworkPerformance(const char* value) { SetNetworkPerformance(value); return *this;} /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline const Aws::String& GetStorage() const{ return m_storage; } /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; } /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline void SetStorage(const Aws::String& value) { m_storageHasBeenSet = true; m_storage = value; } /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline void SetStorage(Aws::String&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); } /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline void SetStorage(const char* value) { m_storageHasBeenSet = true; m_storage.assign(value); } /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline EC2ResourceDetails& WithStorage(const Aws::String& value) { SetStorage(value); return *this;} /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline EC2ResourceDetails& WithStorage(Aws::String&& value) { SetStorage(std::move(value)); return *this;} /** *The disk storage of the Amazon Web Services instance. This doesn't include * EBS storage.
*/ inline EC2ResourceDetails& WithStorage(const char* value) { SetStorage(value); return *this;} /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline const Aws::String& GetVcpu() const{ return m_vcpu; } /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline bool VcpuHasBeenSet() const { return m_vcpuHasBeenSet; } /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline void SetVcpu(const Aws::String& value) { m_vcpuHasBeenSet = true; m_vcpu = value; } /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline void SetVcpu(Aws::String&& value) { m_vcpuHasBeenSet = true; m_vcpu = std::move(value); } /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline void SetVcpu(const char* value) { m_vcpuHasBeenSet = true; m_vcpu.assign(value); } /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline EC2ResourceDetails& WithVcpu(const Aws::String& value) { SetVcpu(value); return *this;} /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline EC2ResourceDetails& WithVcpu(Aws::String&& value) { SetVcpu(std::move(value)); return *this;} /** *The number of VCPU cores in the Amazon Web Services instance type.
*/ inline EC2ResourceDetails& WithVcpu(const char* value) { SetVcpu(value); return *this;} private: Aws::String m_hourlyOnDemandRate; bool m_hourlyOnDemandRateHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_platform; bool m_platformHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_sku; bool m_skuHasBeenSet = false; Aws::String m_memory; bool m_memoryHasBeenSet = false; Aws::String m_networkPerformance; bool m_networkPerformanceHasBeenSet = false; Aws::String m_storage; bool m_storageHasBeenSet = false; Aws::String m_vcpu; bool m_vcpuHasBeenSet = false; }; } // namespace Model } // namespace CostExplorer } // namespace Aws