module Stratosphere.QuickSight.Analysis.HeatMapSortConfigurationProperty ( module Exports, HeatMapSortConfigurationProperty(..), mkHeatMapSortConfigurationProperty ) where import qualified Data.Aeson as JSON import qualified Stratosphere.Prelude as Prelude import Stratosphere.Property import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.FieldSortOptionsProperty as Exports import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.ItemsLimitConfigurationProperty as Exports import Stratosphere.ResourceProperties data HeatMapSortConfigurationProperty = -- | See: HeatMapSortConfigurationProperty {haddock_workaround_ :: (), -- | See: heatMapColumnItemsLimitConfiguration :: (Prelude.Maybe ItemsLimitConfigurationProperty), -- | See: heatMapColumnSort :: (Prelude.Maybe [FieldSortOptionsProperty]), -- | See: heatMapRowItemsLimitConfiguration :: (Prelude.Maybe ItemsLimitConfigurationProperty), -- | See: heatMapRowSort :: (Prelude.Maybe [FieldSortOptionsProperty])} deriving stock (Prelude.Eq, Prelude.Show) mkHeatMapSortConfigurationProperty :: HeatMapSortConfigurationProperty mkHeatMapSortConfigurationProperty = HeatMapSortConfigurationProperty {haddock_workaround_ = (), heatMapColumnItemsLimitConfiguration = Prelude.Nothing, heatMapColumnSort = Prelude.Nothing, heatMapRowItemsLimitConfiguration = Prelude.Nothing, heatMapRowSort = Prelude.Nothing} instance ToResourceProperties HeatMapSortConfigurationProperty where toResourceProperties HeatMapSortConfigurationProperty {..} = ResourceProperties {awsType = "AWS::QuickSight::Analysis.HeatMapSortConfiguration", supportsTags = Prelude.False, properties = Prelude.fromList (Prelude.catMaybes [(JSON..=) "HeatMapColumnItemsLimitConfiguration" Prelude.<$> heatMapColumnItemsLimitConfiguration, (JSON..=) "HeatMapColumnSort" Prelude.<$> heatMapColumnSort, (JSON..=) "HeatMapRowItemsLimitConfiguration" Prelude.<$> heatMapRowItemsLimitConfiguration, (JSON..=) "HeatMapRowSort" Prelude.<$> heatMapRowSort])} instance JSON.ToJSON HeatMapSortConfigurationProperty where toJSON HeatMapSortConfigurationProperty {..} = JSON.object (Prelude.fromList (Prelude.catMaybes [(JSON..=) "HeatMapColumnItemsLimitConfiguration" Prelude.<$> heatMapColumnItemsLimitConfiguration, (JSON..=) "HeatMapColumnSort" Prelude.<$> heatMapColumnSort, (JSON..=) "HeatMapRowItemsLimitConfiguration" Prelude.<$> heatMapRowItemsLimitConfiguration, (JSON..=) "HeatMapRowSort" Prelude.<$> heatMapRowSort])) instance Property "HeatMapColumnItemsLimitConfiguration" HeatMapSortConfigurationProperty where type PropertyType "HeatMapColumnItemsLimitConfiguration" HeatMapSortConfigurationProperty = ItemsLimitConfigurationProperty set newValue HeatMapSortConfigurationProperty {..} = HeatMapSortConfigurationProperty {heatMapColumnItemsLimitConfiguration = Prelude.pure newValue, ..} instance Property "HeatMapColumnSort" HeatMapSortConfigurationProperty where type PropertyType "HeatMapColumnSort" HeatMapSortConfigurationProperty = [FieldSortOptionsProperty] set newValue HeatMapSortConfigurationProperty {..} = HeatMapSortConfigurationProperty {heatMapColumnSort = Prelude.pure newValue, ..} instance Property "HeatMapRowItemsLimitConfiguration" HeatMapSortConfigurationProperty where type PropertyType "HeatMapRowItemsLimitConfiguration" HeatMapSortConfigurationProperty = ItemsLimitConfigurationProperty set newValue HeatMapSortConfigurationProperty {..} = HeatMapSortConfigurationProperty {heatMapRowItemsLimitConfiguration = Prelude.pure newValue, ..} instance Property "HeatMapRowSort" HeatMapSortConfigurationProperty where type PropertyType "HeatMapRowSort" HeatMapSortConfigurationProperty = [FieldSortOptionsProperty] set newValue HeatMapSortConfigurationProperty {..} = HeatMapSortConfigurationProperty {heatMapRowSort = Prelude.pure newValue, ..}