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