module Stratosphere.QuickSight.Analysis.PieChartFieldWellsProperty ( module Exports, PieChartFieldWellsProperty(..), mkPieChartFieldWellsProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.PieChartAggregatedFieldWellsProperty as Exports import Stratosphere.ResourceProperties data PieChartFieldWellsProperty = -- | See: PieChartFieldWellsProperty {haddock_workaround_ :: (), -- | See: pieChartAggregatedFieldWells :: (Prelude.Maybe PieChartAggregatedFieldWellsProperty)} deriving stock (Prelude.Eq, Prelude.Show) mkPieChartFieldWellsProperty :: PieChartFieldWellsProperty mkPieChartFieldWellsProperty = PieChartFieldWellsProperty {haddock_workaround_ = (), pieChartAggregatedFieldWells = Prelude.Nothing} instance ToResourceProperties PieChartFieldWellsProperty where toResourceProperties PieChartFieldWellsProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Analysis.PieChartFieldWells", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "PieChartAggregatedFieldWells" Prelude.<$> pieChartAggregatedFieldWells])} instance JSON.ToJSON PieChartFieldWellsProperty where toJSON PieChartFieldWellsProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "PieChartAggregatedFieldWells" Prelude.<$> pieChartAggregatedFieldWells])) instance Property "PieChartAggregatedFieldWells" PieChartFieldWellsProperty where type PropertyType "PieChartAggregatedFieldWells" PieChartFieldWellsProperty = PieChartAggregatedFieldWellsProperty set newValue PieChartFieldWellsProperty {..} = PieChartFieldWellsProperty {pieChartAggregatedFieldWells = Prelude.pure newValue, ..}