content: module Stratosphere.AutoScaling.AutoScalingGroup.BaselinePerformanceFactorsRequestProperty (
          module Exports, BaselinePerformanceFactorsRequestProperty(..),
          mkBaselinePerformanceFactorsRequestProperty
      ) where
  import qualified Data.Aeson as JSON
  import qualified Stratosphere.Prelude as Prelude
  import Stratosphere.Property
  import {-# SOURCE #-} Stratosphere.AutoScaling.AutoScalingGroup.CpuPerformanceFactorRequestProperty as Exports
  import Stratosphere.ResourceProperties
  data BaselinePerformanceFactorsRequestProperty
    = BaselinePerformanceFactorsRequestProperty {cpu :: (Prelude.Maybe CpuPerformanceFactorRequestProperty)}
    deriving stock (Prelude.Eq, Prelude.Show)
  mkBaselinePerformanceFactorsRequestProperty ::
    BaselinePerformanceFactorsRequestProperty
  mkBaselinePerformanceFactorsRequestProperty
    = BaselinePerformanceFactorsRequestProperty {cpu = Prelude.Nothing}
  instance ToResourceProperties BaselinePerformanceFactorsRequestProperty where
    toResourceProperties BaselinePerformanceFactorsRequestProperty {..}
      = ResourceProperties
          {awsType = "AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest",
           supportsTags = Prelude.False,
           properties = Prelude.fromList
                          (Prelude.catMaybes [(JSON..=) "Cpu" Prelude.<$> cpu])}
  instance JSON.ToJSON BaselinePerformanceFactorsRequestProperty where
    toJSON BaselinePerformanceFactorsRequestProperty {..}
      = JSON.object
          (Prelude.fromList
             (Prelude.catMaybes [(JSON..=) "Cpu" Prelude.<$> cpu]))
  instance Property "Cpu" BaselinePerformanceFactorsRequestProperty where
    type PropertyType "Cpu" BaselinePerformanceFactorsRequestProperty = CpuPerformanceFactorRequestProperty
    set newValue BaselinePerformanceFactorsRequestProperty {}
      = BaselinePerformanceFactorsRequestProperty
          {cpu = Prelude.pure newValue, ..}