7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/Ec2InstanceConfiguration.h>
9#include <aws/cost-optimization-hub/model/ResourceCostCalculation.h>
22namespace CostOptimizationHub
68 bool m_configurationHasBeenSet =
false;
71 bool m_costCalculationHasBeenSet =
false;
bool ConfigurationHasBeenSet() const
const ResourceCostCalculation & GetCostCalculation() const
void SetConfiguration(const Ec2InstanceConfiguration &value)
AWS_COSTOPTIMIZATIONHUB_API Ec2Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
Ec2Instance & WithConfiguration(const Ec2InstanceConfiguration &value)
void SetConfiguration(Ec2InstanceConfiguration &&value)
AWS_COSTOPTIMIZATIONHUB_API Ec2Instance()
bool CostCalculationHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCostCalculation(const ResourceCostCalculation &value)
void SetCostCalculation(ResourceCostCalculation &&value)
const Ec2InstanceConfiguration & GetConfiguration() const
Ec2Instance & WithConfiguration(Ec2InstanceConfiguration &&value)
AWS_COSTOPTIMIZATIONHUB_API Ec2Instance(Aws::Utils::Json::JsonView jsonValue)
Ec2Instance & WithCostCalculation(ResourceCostCalculation &&value)
Ec2Instance & WithCostCalculation(const ResourceCostCalculation &value)
Aws::Utils::Json::JsonValue JsonValue