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