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