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