module Stratosphere.QuickSight.Template.VisualTitleLabelOptionsProperty ( module Exports, VisualTitleLabelOptionsProperty(..), mkVisualTitleLabelOptionsProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.Template.ShortFormatTextProperty as Exports import Stratosphere.ResourceProperties data VisualTitleLabelOptionsProperty = -- | See: VisualTitleLabelOptionsProperty {haddock_workaround_ :: (), -- | See: formatText :: (Prelude.Maybe ShortFormatTextProperty), -- | See: visibility :: (Prelude.Maybe JSON.Object)} deriving stock (Prelude.Eq, Prelude.Show) mkVisualTitleLabelOptionsProperty :: VisualTitleLabelOptionsProperty mkVisualTitleLabelOptionsProperty = VisualTitleLabelOptionsProperty {haddock_workaround_ = (), formatText = Prelude.Nothing, visibility = Prelude.Nothing} instance ToResourceProperties VisualTitleLabelOptionsProperty where toResourceProperties VisualTitleLabelOptionsProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Template.VisualTitleLabelOptions", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "FormatText" Prelude.<$> formatText, (JSON..=) "Visibility" Prelude.<$> visibility])} instance JSON.ToJSON VisualTitleLabelOptionsProperty where toJSON VisualTitleLabelOptionsProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "FormatText" Prelude.<$> formatText, (JSON..=) "Visibility" Prelude.<$> visibility])) instance Property "FormatText" VisualTitleLabelOptionsProperty where type PropertyType "FormatText" VisualTitleLabelOptionsProperty = ShortFormatTextProperty set newValue VisualTitleLabelOptionsProperty {..} = VisualTitleLabelOptionsProperty {formatText = Prelude.pure newValue, ..} instance Property "Visibility" VisualTitleLabelOptionsProperty where type PropertyType "Visibility" VisualTitleLabelOptionsProperty = JSON.Object set newValue VisualTitleLabelOptionsProperty {..} = VisualTitleLabelOptionsProperty {visibility = Prelude.pure newValue, ..}