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