module Stratosphere.EC2.EC2Fleet.CpuPerformanceFactorRequestProperty ( module Exports, CpuPerformanceFactorRequestProperty(..), mkCpuPerformanceFactorRequestProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.EC2.EC2Fleet.PerformanceFactorReferenceRequestProperty as Exports import Stratosphere.ResourceProperties data CpuPerformanceFactorRequestProperty = -- | See: CpuPerformanceFactorRequestProperty {haddock_workaround_ :: (), -- | See: references :: (Prelude.Maybe [PerformanceFactorReferenceRequestProperty])} deriving stock (Prelude.Eq, Prelude.Show) mkCpuPerformanceFactorRequestProperty :: CpuPerformanceFactorRequestProperty mkCpuPerformanceFactorRequestProperty = CpuPerformanceFactorRequestProperty {haddock_workaround_ = (), references = Prelude.Nothing} instance ToResourceProperties CpuPerformanceFactorRequestProperty where toResourceProperties CpuPerformanceFactorRequestProperty {..} = ResourceProperties {awsType = "AWS::EC2::EC2Fleet.CpuPerformanceFactorRequest", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "References" Prelude.<$> references])} instance JSON.ToJSON CpuPerformanceFactorRequestProperty where toJSON CpuPerformanceFactorRequestProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "References" Prelude.<$> references])) instance Property "References" CpuPerformanceFactorRequestProperty where type PropertyType "References" CpuPerformanceFactorRequestProperty = [PerformanceFactorReferenceRequestProperty] set newValue CpuPerformanceFactorRequestProperty {..} = CpuPerformanceFactorRequestProperty {references = Prelude.pure newValue, ..}