module Stratosphere.QuickSight.Dashboard.SankeyDiagramVisualProperty (
        module Exports, SankeyDiagramVisualProperty(..),
        mkSankeyDiagramVisualProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.SankeyDiagramChartConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.VisualCustomActionProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.VisualSubtitleLabelOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.VisualTitleLabelOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SankeyDiagramVisualProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html>
    SankeyDiagramVisualProperty {SankeyDiagramVisualProperty -> ()
haddock_workaround_ :: (),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-actions>
                                 SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
actions :: (Prelude.Maybe [VisualCustomActionProperty]),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-chartconfiguration>
                                 SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
chartConfiguration :: (Prelude.Maybe SankeyDiagramChartConfigurationProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-subtitle>
                                 SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
subtitle :: (Prelude.Maybe VisualSubtitleLabelOptionsProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-title>
                                 SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
title :: (Prelude.Maybe VisualTitleLabelOptionsProperty),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-visualcontentalttext>
                                 SankeyDiagramVisualProperty -> Maybe (Value Text)
visualContentAltText :: (Prelude.Maybe (Value Prelude.Text)),
                                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sankeydiagramvisual.html#cfn-quicksight-dashboard-sankeydiagramvisual-visualid>
                                 SankeyDiagramVisualProperty -> Value Text
visualId :: (Value Prelude.Text)}
  deriving stock (SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty -> Bool
(SankeyDiagramVisualProperty
 -> SankeyDiagramVisualProperty -> Bool)
-> (SankeyDiagramVisualProperty
    -> SankeyDiagramVisualProperty -> Bool)
-> Eq SankeyDiagramVisualProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty -> Bool
== :: SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty -> Bool
$c/= :: SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty -> Bool
/= :: SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty -> Bool
Prelude.Eq, Int -> SankeyDiagramVisualProperty -> ShowS
[SankeyDiagramVisualProperty] -> ShowS
SankeyDiagramVisualProperty -> String
(Int -> SankeyDiagramVisualProperty -> ShowS)
-> (SankeyDiagramVisualProperty -> String)
-> ([SankeyDiagramVisualProperty] -> ShowS)
-> Show SankeyDiagramVisualProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SankeyDiagramVisualProperty -> ShowS
showsPrec :: Int -> SankeyDiagramVisualProperty -> ShowS
$cshow :: SankeyDiagramVisualProperty -> String
show :: SankeyDiagramVisualProperty -> String
$cshowList :: [SankeyDiagramVisualProperty] -> ShowS
showList :: [SankeyDiagramVisualProperty] -> ShowS
Prelude.Show)
mkSankeyDiagramVisualProperty ::
  Value Prelude.Text -> SankeyDiagramVisualProperty
mkSankeyDiagramVisualProperty :: Value Text -> SankeyDiagramVisualProperty
mkSankeyDiagramVisualProperty Value Text
visualId
  = SankeyDiagramVisualProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), visualId :: Value Text
visualId = Value Text
visualId,
       actions :: Maybe [VisualCustomActionProperty]
actions = Maybe [VisualCustomActionProperty]
forall a. Maybe a
Prelude.Nothing, chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
chartConfiguration = Maybe SankeyDiagramChartConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       subtitle :: Maybe VisualSubtitleLabelOptionsProperty
subtitle = Maybe VisualSubtitleLabelOptionsProperty
forall a. Maybe a
Prelude.Nothing, title :: Maybe VisualTitleLabelOptionsProperty
title = Maybe VisualTitleLabelOptionsProperty
forall a. Maybe a
Prelude.Nothing,
       visualContentAltText :: Maybe (Value Text)
visualContentAltText = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SankeyDiagramVisualProperty where
  toResourceProperties :: SankeyDiagramVisualProperty -> ResourceProperties
toResourceProperties SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.SankeyDiagramVisual",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"VisualId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
visualId]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> [VisualCustomActionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Actions" ([VisualCustomActionProperty] -> (Key, Value))
-> Maybe [VisualCustomActionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [VisualCustomActionProperty]
actions,
                               Key -> SankeyDiagramChartConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ChartConfiguration" (SankeyDiagramChartConfigurationProperty -> (Key, Value))
-> Maybe SankeyDiagramChartConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SankeyDiagramChartConfigurationProperty
chartConfiguration,
                               Key -> VisualSubtitleLabelOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subtitle" (VisualSubtitleLabelOptionsProperty -> (Key, Value))
-> Maybe VisualSubtitleLabelOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VisualSubtitleLabelOptionsProperty
subtitle,
                               Key -> VisualTitleLabelOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Title" (VisualTitleLabelOptionsProperty -> (Key, Value))
-> Maybe VisualTitleLabelOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VisualTitleLabelOptionsProperty
title,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VisualContentAltText"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
visualContentAltText]))}
instance JSON.ToJSON SankeyDiagramVisualProperty where
  toJSON :: SankeyDiagramVisualProperty -> Value
toJSON SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"VisualId" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
visualId]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> [VisualCustomActionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Actions" ([VisualCustomActionProperty] -> (Key, Value))
-> Maybe [VisualCustomActionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [VisualCustomActionProperty]
actions,
                  Key -> SankeyDiagramChartConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ChartConfiguration" (SankeyDiagramChartConfigurationProperty -> (Key, Value))
-> Maybe SankeyDiagramChartConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SankeyDiagramChartConfigurationProperty
chartConfiguration,
                  Key -> VisualSubtitleLabelOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subtitle" (VisualSubtitleLabelOptionsProperty -> (Key, Value))
-> Maybe VisualSubtitleLabelOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VisualSubtitleLabelOptionsProperty
subtitle,
                  Key -> VisualTitleLabelOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Title" (VisualTitleLabelOptionsProperty -> (Key, Value))
-> Maybe VisualTitleLabelOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe VisualTitleLabelOptionsProperty
title,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VisualContentAltText"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
visualContentAltText])))
instance Property "Actions" SankeyDiagramVisualProperty where
  type PropertyType "Actions" SankeyDiagramVisualProperty = [VisualCustomActionProperty]
  set :: PropertyType "Actions" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "Actions" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty {actions :: Maybe [VisualCustomActionProperty]
actions = [VisualCustomActionProperty] -> Maybe [VisualCustomActionProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [VisualCustomActionProperty]
PropertyType "Actions" SankeyDiagramVisualProperty
newValue, Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "ChartConfiguration" SankeyDiagramVisualProperty where
  type PropertyType "ChartConfiguration" SankeyDiagramVisualProperty = SankeyDiagramChartConfigurationProperty
  set :: PropertyType "ChartConfiguration" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "ChartConfiguration" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty
        {chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
chartConfiguration = SankeyDiagramChartConfigurationProperty
-> Maybe SankeyDiagramChartConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ChartConfiguration" SankeyDiagramVisualProperty
SankeyDiagramChartConfigurationProperty
newValue, Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "Subtitle" SankeyDiagramVisualProperty where
  type PropertyType "Subtitle" SankeyDiagramVisualProperty = VisualSubtitleLabelOptionsProperty
  set :: PropertyType "Subtitle" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "Subtitle" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty
        {subtitle :: Maybe VisualSubtitleLabelOptionsProperty
subtitle = VisualSubtitleLabelOptionsProperty
-> Maybe VisualSubtitleLabelOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Subtitle" SankeyDiagramVisualProperty
VisualSubtitleLabelOptionsProperty
newValue, Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "Title" SankeyDiagramVisualProperty where
  type PropertyType "Title" SankeyDiagramVisualProperty = VisualTitleLabelOptionsProperty
  set :: PropertyType "Title" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "Title" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty {title :: Maybe VisualTitleLabelOptionsProperty
title = VisualTitleLabelOptionsProperty
-> Maybe VisualTitleLabelOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Title" SankeyDiagramVisualProperty
VisualTitleLabelOptionsProperty
newValue, Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "VisualContentAltText" SankeyDiagramVisualProperty where
  type PropertyType "VisualContentAltText" SankeyDiagramVisualProperty = Value Prelude.Text
  set :: PropertyType "VisualContentAltText" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "VisualContentAltText" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty
        {visualContentAltText :: Maybe (Value Text)
visualContentAltText = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "VisualContentAltText" SankeyDiagramVisualProperty
Value Text
newValue, Maybe [VisualCustomActionProperty]
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualId :: Value Text
..}
instance Property "VisualId" SankeyDiagramVisualProperty where
  type PropertyType "VisualId" SankeyDiagramVisualProperty = Value Prelude.Text
  set :: PropertyType "VisualId" SankeyDiagramVisualProperty
-> SankeyDiagramVisualProperty -> SankeyDiagramVisualProperty
set PropertyType "VisualId" SankeyDiagramVisualProperty
newValue SankeyDiagramVisualProperty {Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: SankeyDiagramVisualProperty -> ()
actions :: SankeyDiagramVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: SankeyDiagramVisualProperty
-> Maybe SankeyDiagramChartConfigurationProperty
subtitle :: SankeyDiagramVisualProperty
-> Maybe VisualSubtitleLabelOptionsProperty
title :: SankeyDiagramVisualProperty
-> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: SankeyDiagramVisualProperty -> Maybe (Value Text)
visualId :: SankeyDiagramVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = SankeyDiagramVisualProperty {visualId :: Value Text
visualId = PropertyType "VisualId" SankeyDiagramVisualProperty
Value Text
newValue, Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe SankeyDiagramChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe SankeyDiagramChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
..}