module Stratosphere.QuickSight.Template.RadarChartConfigurationProperty ( module Exports, RadarChartConfigurationProperty(..), mkRadarChartConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.Template.AxisDisplayOptionsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.ChartAxisLabelOptionsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.LegendOptionsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.RadarChartFieldWellsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.RadarChartSeriesSettingsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.RadarChartSortConfigurationProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.VisualInteractionOptionsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Template.VisualPaletteProperty as Exports import Stratosphere.ResourceProperties import Stratosphere.Value data RadarChartConfigurationProperty = -- | See: RadarChartConfigurationProperty {haddock_workaround_ :: (), -- | See: alternateBandColorsVisibility :: (Prelude.Maybe JSON.Object), -- | See: alternateBandEvenColor :: (Prelude.Maybe (Value Prelude.Text)), -- | See: alternateBandOddColor :: (Prelude.Maybe (Value Prelude.Text)), -- | See: axesRangeScale :: (Prelude.Maybe (Value Prelude.Text)), -- | See: baseSeriesSettings :: (Prelude.Maybe RadarChartSeriesSettingsProperty), -- | See: categoryAxis :: (Prelude.Maybe AxisDisplayOptionsProperty), -- | See: categoryLabelOptions :: (Prelude.Maybe ChartAxisLabelOptionsProperty), -- | See: colorAxis :: (Prelude.Maybe AxisDisplayOptionsProperty), -- | See: colorLabelOptions :: (Prelude.Maybe ChartAxisLabelOptionsProperty), -- | See: fieldWells :: (Prelude.Maybe RadarChartFieldWellsProperty), -- | See: interactions :: (Prelude.Maybe VisualInteractionOptionsProperty), -- | See: legend :: (Prelude.Maybe LegendOptionsProperty), -- | See: shape :: (Prelude.Maybe (Value Prelude.Text)), -- | See: sortConfiguration :: (Prelude.Maybe RadarChartSortConfigurationProperty), -- | See: startAngle :: (Prelude.Maybe (Value Prelude.Double)), -- | See: visualPalette :: (Prelude.Maybe VisualPaletteProperty)} deriving stock (Prelude.Eq, Prelude.Show) mkRadarChartConfigurationProperty :: RadarChartConfigurationProperty mkRadarChartConfigurationProperty = RadarChartConfigurationProperty {haddock_workaround_ = (), alternateBandColorsVisibility = Prelude.Nothing, alternateBandEvenColor = Prelude.Nothing, alternateBandOddColor = Prelude.Nothing, axesRangeScale = Prelude.Nothing, baseSeriesSettings = Prelude.Nothing, categoryAxis = Prelude.Nothing, categoryLabelOptions = Prelude.Nothing, colorAxis = Prelude.Nothing, colorLabelOptions = Prelude.Nothing, fieldWells = Prelude.Nothing, interactions = Prelude.Nothing, legend = Prelude.Nothing, shape = Prelude.Nothing, sortConfiguration = Prelude.Nothing, startAngle = Prelude.Nothing, visualPalette = Prelude.Nothing} instance ToResourceProperties RadarChartConfigurationProperty where toResourceProperties RadarChartConfigurationProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Template.RadarChartConfiguration", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "AlternateBandColorsVisibility" Prelude.<$> alternateBandColorsVisibility, (JSON..=) "AlternateBandEvenColor" Prelude.<$> alternateBandEvenColor, (JSON..=) "AlternateBandOddColor" Prelude.<$> alternateBandOddColor, (JSON..=) "AxesRangeScale" Prelude.<$> axesRangeScale, (JSON..=) "BaseSeriesSettings" Prelude.<$> baseSeriesSettings, (JSON..=) "CategoryAxis" Prelude.<$> categoryAxis, (JSON..=) "CategoryLabelOptions" Prelude.<$> categoryLabelOptions, (JSON..=) "ColorAxis" Prelude.<$> colorAxis, (JSON..=) "ColorLabelOptions" Prelude.<$> colorLabelOptions, (JSON..=) "FieldWells" Prelude.<$> fieldWells, (JSON..=) "Interactions" Prelude.<$> interactions, (JSON..=) "Legend" Prelude.<$> legend, (JSON..=) "Shape" Prelude.<$> shape, (JSON..=) "SortConfiguration" Prelude.<$> sortConfiguration, (JSON..=) "StartAngle" Prelude.<$> startAngle, (JSON..=) "VisualPalette" Prelude.<$> visualPalette])} instance JSON.ToJSON RadarChartConfigurationProperty where toJSON RadarChartConfigurationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "AlternateBandColorsVisibility" Prelude.<$> alternateBandColorsVisibility, (JSON..=) "AlternateBandEvenColor" Prelude.<$> alternateBandEvenColor, (JSON..=) "AlternateBandOddColor" Prelude.<$> alternateBandOddColor, (JSON..=) "AxesRangeScale" Prelude.<$> axesRangeScale, (JSON..=) "BaseSeriesSettings" Prelude.<$> baseSeriesSettings, (JSON..=) "CategoryAxis" Prelude.<$> categoryAxis, (JSON..=) "CategoryLabelOptions" Prelude.<$> categoryLabelOptions, (JSON..=) "ColorAxis" Prelude.<$> colorAxis, (JSON..=) "ColorLabelOptions" Prelude.<$> colorLabelOptions, (JSON..=) "FieldWells" Prelude.<$> fieldWells, (JSON..=) "Interactions" Prelude.<$> interactions, (JSON..=) "Legend" Prelude.<$> legend, (JSON..=) "Shape" Prelude.<$> shape, (JSON..=) "SortConfiguration" Prelude.<$> sortConfiguration, (JSON..=) "StartAngle" Prelude.<$> startAngle, (JSON..=) "VisualPalette" Prelude.<$> visualPalette])) instance Property "AlternateBandColorsVisibility" RadarChartConfigurationProperty where type PropertyType "AlternateBandColorsVisibility" RadarChartConfigurationProperty = JSON.Object set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {alternateBandColorsVisibility = Prelude.pure newValue, ..} instance Property "AlternateBandEvenColor" RadarChartConfigurationProperty where type PropertyType "AlternateBandEvenColor" RadarChartConfigurationProperty = Value Prelude.Text set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {alternateBandEvenColor = Prelude.pure newValue, ..} instance Property "AlternateBandOddColor" RadarChartConfigurationProperty where type PropertyType "AlternateBandOddColor" RadarChartConfigurationProperty = Value Prelude.Text set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {alternateBandOddColor = Prelude.pure newValue, ..} instance Property "AxesRangeScale" RadarChartConfigurationProperty where type PropertyType "AxesRangeScale" RadarChartConfigurationProperty = Value Prelude.Text set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {axesRangeScale = Prelude.pure newValue, ..} instance Property "BaseSeriesSettings" RadarChartConfigurationProperty where type PropertyType "BaseSeriesSettings" RadarChartConfigurationProperty = RadarChartSeriesSettingsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {baseSeriesSettings = Prelude.pure newValue, ..} instance Property "CategoryAxis" RadarChartConfigurationProperty where type PropertyType "CategoryAxis" RadarChartConfigurationProperty = AxisDisplayOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {categoryAxis = Prelude.pure newValue, ..} instance Property "CategoryLabelOptions" RadarChartConfigurationProperty where type PropertyType "CategoryLabelOptions" RadarChartConfigurationProperty = ChartAxisLabelOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {categoryLabelOptions = Prelude.pure newValue, ..} instance Property "ColorAxis" RadarChartConfigurationProperty where type PropertyType "ColorAxis" RadarChartConfigurationProperty = AxisDisplayOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {colorAxis = Prelude.pure newValue, ..} instance Property "ColorLabelOptions" RadarChartConfigurationProperty where type PropertyType "ColorLabelOptions" RadarChartConfigurationProperty = ChartAxisLabelOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {colorLabelOptions = Prelude.pure newValue, ..} instance Property "FieldWells" RadarChartConfigurationProperty where type PropertyType "FieldWells" RadarChartConfigurationProperty = RadarChartFieldWellsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {fieldWells = Prelude.pure newValue, ..} instance Property "Interactions" RadarChartConfigurationProperty where type PropertyType "Interactions" RadarChartConfigurationProperty = VisualInteractionOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {interactions = Prelude.pure newValue, ..} instance Property "Legend" RadarChartConfigurationProperty where type PropertyType "Legend" RadarChartConfigurationProperty = LegendOptionsProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {legend = Prelude.pure newValue, ..} instance Property "Shape" RadarChartConfigurationProperty where type PropertyType "Shape" RadarChartConfigurationProperty = Value Prelude.Text set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {shape = Prelude.pure newValue, ..} instance Property "SortConfiguration" RadarChartConfigurationProperty where type PropertyType "SortConfiguration" RadarChartConfigurationProperty = RadarChartSortConfigurationProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {sortConfiguration = Prelude.pure newValue, ..} instance Property "StartAngle" RadarChartConfigurationProperty where type PropertyType "StartAngle" RadarChartConfigurationProperty = Value Prelude.Double set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {startAngle = Prelude.pure newValue, ..} instance Property "VisualPalette" RadarChartConfigurationProperty where type PropertyType "VisualPalette" RadarChartConfigurationProperty = VisualPaletteProperty set newValue RadarChartConfigurationProperty {..} = RadarChartConfigurationProperty {visualPalette = Prelude.pure newValue, ..}