7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/RdsDbInstanceConfiguration.h>
9#include <aws/cost-optimization-hub/model/ResourceCostCalculation.h>
22namespace CostOptimizationHub
48 template<
typename ConfigurationT = RdsDbInstanceConfiguration>
49 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
50 template<
typename ConfigurationT = RdsDbInstanceConfiguration>
58 template<
typename CostCalculationT = ResourceCostCalculation>
59 void SetCostCalculation(CostCalculationT&& value) { m_costCalculationHasBeenSet =
true; m_costCalculation = std::forward<CostCalculationT>(value); }
60 template<
typename CostCalculationT = ResourceCostCalculation>
66 bool m_configurationHasBeenSet =
false;
69 bool m_costCalculationHasBeenSet =
false;
bool ConfigurationHasBeenSet() const
RdsDbInstance & WithConfiguration(ConfigurationT &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceCostCalculation & GetCostCalculation() const
RdsDbInstance & WithCostCalculation(CostCalculationT &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
const RdsDbInstanceConfiguration & GetConfiguration() const
bool CostCalculationHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance()=default
void SetConfiguration(ConfigurationT &&value)
void SetCostCalculation(CostCalculationT &&value)
Aws::Utils::Json::JsonValue JsonValue