module Stratosphere.QuickSight.Template.BarChartVisualProperty (
        module Exports, BarChartVisualProperty(..),
        mkBarChartVisualProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.BarChartConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.ColumnHierarchyProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.VisualCustomActionProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.VisualSubtitleLabelOptionsProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.VisualTitleLabelOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data BarChartVisualProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html>
    BarChartVisualProperty {BarChartVisualProperty -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-actions>
                            BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
actions :: (Prelude.Maybe [VisualCustomActionProperty]),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-chartconfiguration>
                            BarChartVisualProperty -> Maybe BarChartConfigurationProperty
chartConfiguration :: (Prelude.Maybe BarChartConfigurationProperty),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-columnhierarchies>
                            BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
columnHierarchies :: (Prelude.Maybe [ColumnHierarchyProperty]),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-subtitle>
                            BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
subtitle :: (Prelude.Maybe VisualSubtitleLabelOptionsProperty),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-title>
                            BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
title :: (Prelude.Maybe VisualTitleLabelOptionsProperty),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-visualcontentalttext>
                            BarChartVisualProperty -> Maybe (Value Text)
visualContentAltText :: (Prelude.Maybe (Value Prelude.Text)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-barchartvisual.html#cfn-quicksight-template-barchartvisual-visualid>
                            BarChartVisualProperty -> Value Text
visualId :: (Value Prelude.Text)}
  deriving stock (BarChartVisualProperty -> BarChartVisualProperty -> Bool
(BarChartVisualProperty -> BarChartVisualProperty -> Bool)
-> (BarChartVisualProperty -> BarChartVisualProperty -> Bool)
-> Eq BarChartVisualProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: BarChartVisualProperty -> BarChartVisualProperty -> Bool
== :: BarChartVisualProperty -> BarChartVisualProperty -> Bool
$c/= :: BarChartVisualProperty -> BarChartVisualProperty -> Bool
/= :: BarChartVisualProperty -> BarChartVisualProperty -> Bool
Prelude.Eq, Int -> BarChartVisualProperty -> ShowS
[BarChartVisualProperty] -> ShowS
BarChartVisualProperty -> String
(Int -> BarChartVisualProperty -> ShowS)
-> (BarChartVisualProperty -> String)
-> ([BarChartVisualProperty] -> ShowS)
-> Show BarChartVisualProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> BarChartVisualProperty -> ShowS
showsPrec :: Int -> BarChartVisualProperty -> ShowS
$cshow :: BarChartVisualProperty -> String
show :: BarChartVisualProperty -> String
$cshowList :: [BarChartVisualProperty] -> ShowS
showList :: [BarChartVisualProperty] -> ShowS
Prelude.Show)
mkBarChartVisualProperty ::
  Value Prelude.Text -> BarChartVisualProperty
mkBarChartVisualProperty :: Value Text -> BarChartVisualProperty
mkBarChartVisualProperty Value Text
visualId
  = BarChartVisualProperty
      {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 BarChartConfigurationProperty
chartConfiguration = Maybe BarChartConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       columnHierarchies :: Maybe [ColumnHierarchyProperty]
columnHierarchies = Maybe [ColumnHierarchyProperty]
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 BarChartVisualProperty where
  toResourceProperties :: BarChartVisualProperty -> ResourceProperties
toResourceProperties BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Template.BarChartVisual",
         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 -> BarChartConfigurationProperty -> (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" (BarChartConfigurationProperty -> (Key, Value))
-> Maybe BarChartConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BarChartConfigurationProperty
chartConfiguration,
                               Key -> [ColumnHierarchyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColumnHierarchies" ([ColumnHierarchyProperty] -> (Key, Value))
-> Maybe [ColumnHierarchyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ColumnHierarchyProperty]
columnHierarchies,
                               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 BarChartVisualProperty where
  toJSON :: BarChartVisualProperty -> Value
toJSON BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
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 -> BarChartConfigurationProperty -> (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" (BarChartConfigurationProperty -> (Key, Value))
-> Maybe BarChartConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BarChartConfigurationProperty
chartConfiguration,
                  Key -> [ColumnHierarchyProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ColumnHierarchies" ([ColumnHierarchyProperty] -> (Key, Value))
-> Maybe [ColumnHierarchyProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ColumnHierarchyProperty]
columnHierarchies,
                  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" BarChartVisualProperty where
  type PropertyType "Actions" BarChartVisualProperty = [VisualCustomActionProperty]
  set :: PropertyType "Actions" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "Actions" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty {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" BarChartVisualProperty
newValue, Maybe [ColumnHierarchyProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "ChartConfiguration" BarChartVisualProperty where
  type PropertyType "ChartConfiguration" BarChartVisualProperty = BarChartConfigurationProperty
  set :: PropertyType "ChartConfiguration" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "ChartConfiguration" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty
        {chartConfiguration :: Maybe BarChartConfigurationProperty
chartConfiguration = BarChartConfigurationProperty
-> Maybe BarChartConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ChartConfiguration" BarChartVisualProperty
BarChartConfigurationProperty
newValue, Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "ColumnHierarchies" BarChartVisualProperty where
  type PropertyType "ColumnHierarchies" BarChartVisualProperty = [ColumnHierarchyProperty]
  set :: PropertyType "ColumnHierarchies" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "ColumnHierarchies" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty
        {columnHierarchies :: Maybe [ColumnHierarchyProperty]
columnHierarchies = [ColumnHierarchyProperty] -> Maybe [ColumnHierarchyProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ColumnHierarchyProperty]
PropertyType "ColumnHierarchies" BarChartVisualProperty
newValue, Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "Subtitle" BarChartVisualProperty where
  type PropertyType "Subtitle" BarChartVisualProperty = VisualSubtitleLabelOptionsProperty
  set :: PropertyType "Subtitle" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "Subtitle" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty {subtitle :: Maybe VisualSubtitleLabelOptionsProperty
subtitle = VisualSubtitleLabelOptionsProperty
-> Maybe VisualSubtitleLabelOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Subtitle" BarChartVisualProperty
VisualSubtitleLabelOptionsProperty
newValue, Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "Title" BarChartVisualProperty where
  type PropertyType "Title" BarChartVisualProperty = VisualTitleLabelOptionsProperty
  set :: PropertyType "Title" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "Title" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty {title :: Maybe VisualTitleLabelOptionsProperty
title = VisualTitleLabelOptionsProperty
-> Maybe VisualTitleLabelOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Title" BarChartVisualProperty
VisualTitleLabelOptionsProperty
newValue, Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
instance Property "VisualContentAltText" BarChartVisualProperty where
  type PropertyType "VisualContentAltText" BarChartVisualProperty = Value Prelude.Text
  set :: PropertyType "VisualContentAltText" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "VisualContentAltText" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty
        {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" BarChartVisualProperty
Value Text
newValue, Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualId :: Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualId :: Value Text
..}
instance Property "VisualId" BarChartVisualProperty where
  type PropertyType "VisualId" BarChartVisualProperty = Value Prelude.Text
  set :: PropertyType "VisualId" BarChartVisualProperty
-> BarChartVisualProperty -> BarChartVisualProperty
set PropertyType "VisualId" BarChartVisualProperty
newValue BarChartVisualProperty {Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
Value Text
haddock_workaround_ :: BarChartVisualProperty -> ()
actions :: BarChartVisualProperty -> Maybe [VisualCustomActionProperty]
chartConfiguration :: BarChartVisualProperty -> Maybe BarChartConfigurationProperty
columnHierarchies :: BarChartVisualProperty -> Maybe [ColumnHierarchyProperty]
subtitle :: BarChartVisualProperty -> Maybe VisualSubtitleLabelOptionsProperty
title :: BarChartVisualProperty -> Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: BarChartVisualProperty -> Maybe (Value Text)
visualId :: BarChartVisualProperty -> Value Text
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
visualId :: Value Text
..}
    = BarChartVisualProperty {visualId :: Value Text
visualId = PropertyType "VisualId" BarChartVisualProperty
Value Text
newValue, Maybe [ColumnHierarchyProperty]
Maybe [VisualCustomActionProperty]
Maybe (Value Text)
Maybe BarChartConfigurationProperty
Maybe VisualSubtitleLabelOptionsProperty
Maybe VisualTitleLabelOptionsProperty
()
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
haddock_workaround_ :: ()
actions :: Maybe [VisualCustomActionProperty]
chartConfiguration :: Maybe BarChartConfigurationProperty
columnHierarchies :: Maybe [ColumnHierarchyProperty]
subtitle :: Maybe VisualSubtitleLabelOptionsProperty
title :: Maybe VisualTitleLabelOptionsProperty
visualContentAltText :: Maybe (Value Text)
..}