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