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>
20namespace CostOptimizationHub {
41 template <
typename ConfigurationT = EcsServiceConfiguration>
43 m_configurationHasBeenSet =
true;
44 m_configuration = std::forward<ConfigurationT>(value);
46 template <
typename ConfigurationT = EcsServiceConfiguration>
59 template <
typename CostCalculationT = ResourceCostCalculation>
61 m_costCalculationHasBeenSet =
true;
62 m_costCalculation = std::forward<CostCalculationT>(value);
64 template <
typename CostCalculationT = ResourceCostCalculation>
74 bool m_configurationHasBeenSet =
false;
75 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