module Stratosphere.QuickSight.Dashboard.ThousandSeparatorOptionsProperty ( ThousandSeparatorOptionsProperty(..), mkThousandSeparatorOptionsProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import Stratosphere.ResourceProperties import Stratosphere.Value data ThousandSeparatorOptionsProperty = -- | See: ThousandSeparatorOptionsProperty {haddock_workaround_ :: (), -- | See: groupingStyle :: (Prelude.Maybe (Value Prelude.Text)), -- | See: symbol :: (Prelude.Maybe (Value Prelude.Text)), -- | See: visibility :: (Prelude.Maybe (Value Prelude.Text))} deriving stock (Prelude.Eq, Prelude.Show) mkThousandSeparatorOptionsProperty :: ThousandSeparatorOptionsProperty mkThousandSeparatorOptionsProperty = ThousandSeparatorOptionsProperty {haddock_workaround_ = (), groupingStyle = Prelude.Nothing, symbol = Prelude.Nothing, visibility = Prelude.Nothing} instance ToResourceProperties ThousandSeparatorOptionsProperty where toResourceProperties ThousandSeparatorOptionsProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Dashboard.ThousandSeparatorOptions", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "GroupingStyle" Prelude.<$> groupingStyle, (JSON..=) "Symbol" Prelude.<$> symbol, (JSON..=) "Visibility" Prelude.<$> visibility])} instance JSON.ToJSON ThousandSeparatorOptionsProperty where toJSON ThousandSeparatorOptionsProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "GroupingStyle" Prelude.<$> groupingStyle, (JSON..=) "Symbol" Prelude.<$> symbol, (JSON..=) "Visibility" Prelude.<$> visibility])) instance Property "GroupingStyle" ThousandSeparatorOptionsProperty where type PropertyType "GroupingStyle" ThousandSeparatorOptionsProperty = Value Prelude.Text set newValue ThousandSeparatorOptionsProperty {..} = ThousandSeparatorOptionsProperty {groupingStyle = Prelude.pure newValue, ..} instance Property "Symbol" ThousandSeparatorOptionsProperty where type PropertyType "Symbol" ThousandSeparatorOptionsProperty = Value Prelude.Text set newValue ThousandSeparatorOptionsProperty {..} = ThousandSeparatorOptionsProperty {symbol = Prelude.pure newValue, ..} instance Property "Visibility" ThousandSeparatorOptionsProperty where type PropertyType "Visibility" ThousandSeparatorOptionsProperty = Value Prelude.Text set newValue ThousandSeparatorOptionsProperty {..} = ThousandSeparatorOptionsProperty {visibility = Prelude.pure newValue, ..}