module Stratosphere.QuickSight.Dashboard.DecimalPlacesConfigurationProperty ( DecimalPlacesConfigurationProperty(..), mkDecimalPlacesConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data DecimalPlacesConfigurationProperty = -- | See: DecimalPlacesConfigurationProperty {haddock_workaround_ :: (), -- | See: decimalPlaces :: (Value Prelude.Double)} deriving stock (Prelude.Eq, Prelude.Show) mkDecimalPlacesConfigurationProperty :: Value Prelude.Double -> DecimalPlacesConfigurationProperty mkDecimalPlacesConfigurationProperty decimalPlaces = DecimalPlacesConfigurationProperty {haddock_workaround_ = (), decimalPlaces = decimalPlaces} instance ToResourceProperties DecimalPlacesConfigurationProperty where toResourceProperties DecimalPlacesConfigurationProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Dashboard.DecimalPlacesConfiguration", supportsTags = Prelude.False, properties = ["DecimalPlaces" JSON..= decimalPlaces]} instance JSON.ToJSON DecimalPlacesConfigurationProperty where toJSON DecimalPlacesConfigurationProperty {..} = JSON.object ["DecimalPlaces" JSON..= decimalPlaces] instance Property "DecimalPlaces" DecimalPlacesConfigurationProperty where type PropertyType "DecimalPlaces" DecimalPlacesConfigurationProperty = Value Prelude.Double set newValue DecimalPlacesConfigurationProperty {..} = DecimalPlacesConfigurationProperty {decimalPlaces = newValue, ..}