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