7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/Ec2AutoScalingGroupConfiguration.h>
9#include <aws/cost-optimization-hub/model/ResourceCostCalculation.h>
20namespace CostOptimizationHub {
42 template <
typename ConfigurationT = Ec2AutoScalingGroupConfiguration>
44 m_configurationHasBeenSet =
true;
45 m_configuration = std::forward<ConfigurationT>(value);
47 template <
typename ConfigurationT = Ec2AutoScalingGroupConfiguration>
60 template <
typename CostCalculationT = ResourceCostCalculation>
62 m_costCalculationHasBeenSet =
true;
63 m_costCalculation = std::forward<CostCalculationT>(value);
65 template <
typename CostCalculationT = ResourceCostCalculation>
75 bool m_configurationHasBeenSet =
false;
76 bool m_costCalculationHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API Ec2AutoScalingGroup()=default
Ec2AutoScalingGroup & WithConfiguration(ConfigurationT &&value)
AWS_COSTOPTIMIZATIONHUB_API Ec2AutoScalingGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Ec2AutoScalingGroup(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceCostCalculation & GetCostCalculation() const
void SetConfiguration(ConfigurationT &&value)
const Ec2AutoScalingGroupConfiguration & GetConfiguration() const
void SetCostCalculation(CostCalculationT &&value)
Ec2AutoScalingGroup & WithCostCalculation(CostCalculationT &&value)
bool CostCalculationHasBeenSet() const
bool ConfigurationHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue