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