module Stratosphere.QuickSight.Analysis.FontWeightProperty ( FontWeightProperty(..), mkFontWeightProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data FontWeightProperty = -- | See: FontWeightProperty {haddock_workaround_ :: (), -- | See: name :: (Prelude.Maybe (Value Prelude.Text))} deriving stock (Prelude.Eq, Prelude.Show) mkFontWeightProperty :: FontWeightProperty mkFontWeightProperty = FontWeightProperty {haddock_workaround_ = (), name = Prelude.Nothing} instance ToResourceProperties FontWeightProperty where toResourceProperties FontWeightProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Analysis.FontWeight", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "Name" Prelude.<$> name])} instance JSON.ToJSON FontWeightProperty where toJSON FontWeightProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "Name" Prelude.<$> name])) instance Property "Name" FontWeightProperty where type PropertyType "Name" FontWeightProperty = Value Prelude.Text set newValue FontWeightProperty {..} = FontWeightProperty {name = Prelude.pure newValue, ..}