module Stratosphere.QuickSight.Dashboard.ReferenceLineLabelConfigurationProperty (
module Exports, ReferenceLineLabelConfigurationProperty(..),
mkReferenceLineLabelConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.FontConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.ReferenceLineCustomLabelConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Dashboard.ReferenceLineValueLabelConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data ReferenceLineLabelConfigurationProperty
=
ReferenceLineLabelConfigurationProperty {ReferenceLineLabelConfigurationProperty -> ()
haddock_workaround_ :: (),
ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
customLabelConfiguration :: (Prelude.Maybe ReferenceLineCustomLabelConfigurationProperty),
ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontColor :: (Prelude.Maybe (Value Prelude.Text)),
ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
fontConfiguration :: (Prelude.Maybe FontConfigurationProperty),
ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
horizontalPosition :: (Prelude.Maybe (Value Prelude.Text)),
ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
valueLabelConfiguration :: (Prelude.Maybe ReferenceLineValueLabelConfigurationProperty),
ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
verticalPosition :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool
(ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool)
-> (ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool)
-> Eq ReferenceLineLabelConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool
== :: ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool
$c/= :: ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool
/= :: ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty -> Bool
Prelude.Eq, Int -> ReferenceLineLabelConfigurationProperty -> ShowS
[ReferenceLineLabelConfigurationProperty] -> ShowS
ReferenceLineLabelConfigurationProperty -> String
(Int -> ReferenceLineLabelConfigurationProperty -> ShowS)
-> (ReferenceLineLabelConfigurationProperty -> String)
-> ([ReferenceLineLabelConfigurationProperty] -> ShowS)
-> Show ReferenceLineLabelConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ReferenceLineLabelConfigurationProperty -> ShowS
showsPrec :: Int -> ReferenceLineLabelConfigurationProperty -> ShowS
$cshow :: ReferenceLineLabelConfigurationProperty -> String
show :: ReferenceLineLabelConfigurationProperty -> String
$cshowList :: [ReferenceLineLabelConfigurationProperty] -> ShowS
showList :: [ReferenceLineLabelConfigurationProperty] -> ShowS
Prelude.Show)
mkReferenceLineLabelConfigurationProperty ::
ReferenceLineLabelConfigurationProperty
mkReferenceLineLabelConfigurationProperty :: ReferenceLineLabelConfigurationProperty
mkReferenceLineLabelConfigurationProperty
= ReferenceLineLabelConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
customLabelConfiguration = Maybe ReferenceLineCustomLabelConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
fontColor :: Maybe (Value Text)
fontColor = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, fontConfiguration :: Maybe FontConfigurationProperty
fontConfiguration = Maybe FontConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
horizontalPosition :: Maybe (Value Text)
horizontalPosition = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
valueLabelConfiguration = Maybe ReferenceLineValueLabelConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
verticalPosition :: Maybe (Value Text)
verticalPosition = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ReferenceLineLabelConfigurationProperty where
toResourceProperties :: ReferenceLineLabelConfigurationProperty -> ResourceProperties
toResourceProperties ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Dashboard.ReferenceLineLabelConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> ReferenceLineCustomLabelConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomLabelConfiguration"
(ReferenceLineCustomLabelConfigurationProperty -> (Key, Value))
-> Maybe ReferenceLineCustomLabelConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReferenceLineCustomLabelConfigurationProperty
customLabelConfiguration,
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
"FontColor" (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)
fontColor,
Key -> FontConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FontConfiguration" (FontConfigurationProperty -> (Key, Value))
-> Maybe FontConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FontConfigurationProperty
fontConfiguration,
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
"HorizontalPosition" (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)
horizontalPosition,
Key -> ReferenceLineValueLabelConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueLabelConfiguration"
(ReferenceLineValueLabelConfigurationProperty -> (Key, Value))
-> Maybe ReferenceLineValueLabelConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReferenceLineValueLabelConfigurationProperty
valueLabelConfiguration,
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
"VerticalPosition" (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)
verticalPosition])}
instance JSON.ToJSON ReferenceLineLabelConfigurationProperty where
toJSON :: ReferenceLineLabelConfigurationProperty -> Value
toJSON ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key
-> ReferenceLineCustomLabelConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomLabelConfiguration"
(ReferenceLineCustomLabelConfigurationProperty -> (Key, Value))
-> Maybe ReferenceLineCustomLabelConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReferenceLineCustomLabelConfigurationProperty
customLabelConfiguration,
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
"FontColor" (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)
fontColor,
Key -> FontConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FontConfiguration" (FontConfigurationProperty -> (Key, Value))
-> Maybe FontConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FontConfigurationProperty
fontConfiguration,
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
"HorizontalPosition" (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)
horizontalPosition,
Key -> ReferenceLineValueLabelConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ValueLabelConfiguration"
(ReferenceLineValueLabelConfigurationProperty -> (Key, Value))
-> Maybe ReferenceLineValueLabelConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ReferenceLineValueLabelConfigurationProperty
valueLabelConfiguration,
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
"VerticalPosition" (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)
verticalPosition]))
instance Property "CustomLabelConfiguration" ReferenceLineLabelConfigurationProperty where
type PropertyType "CustomLabelConfiguration" ReferenceLineLabelConfigurationProperty = ReferenceLineCustomLabelConfigurationProperty
set :: PropertyType
"CustomLabelConfiguration" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType
"CustomLabelConfiguration" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
customLabelConfiguration = ReferenceLineCustomLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"CustomLabelConfiguration" ReferenceLineLabelConfigurationProperty
ReferenceLineCustomLabelConfigurationProperty
newValue, Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ()
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
haddock_workaround_ :: ()
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
instance Property "FontColor" ReferenceLineLabelConfigurationProperty where
type PropertyType "FontColor" ReferenceLineLabelConfigurationProperty = Value Prelude.Text
set :: PropertyType "FontColor" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType "FontColor" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{fontColor :: Maybe (Value Text)
fontColor = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FontColor" ReferenceLineLabelConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
instance Property "FontConfiguration" ReferenceLineLabelConfigurationProperty where
type PropertyType "FontConfiguration" ReferenceLineLabelConfigurationProperty = FontConfigurationProperty
set :: PropertyType
"FontConfiguration" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType
"FontConfiguration" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{fontConfiguration :: Maybe FontConfigurationProperty
fontConfiguration = FontConfigurationProperty -> Maybe FontConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"FontConfiguration" ReferenceLineLabelConfigurationProperty
FontConfigurationProperty
newValue, Maybe (Value Text)
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
instance Property "HorizontalPosition" ReferenceLineLabelConfigurationProperty where
type PropertyType "HorizontalPosition" ReferenceLineLabelConfigurationProperty = Value Prelude.Text
set :: PropertyType
"HorizontalPosition" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType
"HorizontalPosition" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{horizontalPosition :: Maybe (Value Text)
horizontalPosition = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"HorizontalPosition" ReferenceLineLabelConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
instance Property "ValueLabelConfiguration" ReferenceLineLabelConfigurationProperty where
type PropertyType "ValueLabelConfiguration" ReferenceLineLabelConfigurationProperty = ReferenceLineValueLabelConfigurationProperty
set :: PropertyType
"ValueLabelConfiguration" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType
"ValueLabelConfiguration" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
valueLabelConfiguration = ReferenceLineValueLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ValueLabelConfiguration" ReferenceLineLabelConfigurationProperty
ReferenceLineValueLabelConfigurationProperty
newValue, Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
()
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
verticalPosition :: Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
verticalPosition :: Maybe (Value Text)
..}
instance Property "VerticalPosition" ReferenceLineLabelConfigurationProperty where
type PropertyType "VerticalPosition" ReferenceLineLabelConfigurationProperty = Value Prelude.Text
set :: PropertyType
"VerticalPosition" ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
-> ReferenceLineLabelConfigurationProperty
set PropertyType
"VerticalPosition" ReferenceLineLabelConfigurationProperty
newValue ReferenceLineLabelConfigurationProperty {Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ReferenceLineLabelConfigurationProperty -> ()
customLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
fontConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe FontConfigurationProperty
horizontalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
valueLabelConfiguration :: ReferenceLineLabelConfigurationProperty
-> Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: ReferenceLineLabelConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
verticalPosition :: Maybe (Value Text)
..}
= ReferenceLineLabelConfigurationProperty
{verticalPosition :: Maybe (Value Text)
verticalPosition = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"VerticalPosition" ReferenceLineLabelConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe FontConfigurationProperty
Maybe ReferenceLineCustomLabelConfigurationProperty
Maybe ReferenceLineValueLabelConfigurationProperty
()
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
haddock_workaround_ :: ()
customLabelConfiguration :: Maybe ReferenceLineCustomLabelConfigurationProperty
fontColor :: Maybe (Value Text)
fontConfiguration :: Maybe FontConfigurationProperty
horizontalPosition :: Maybe (Value Text)
valueLabelConfiguration :: Maybe ReferenceLineValueLabelConfigurationProperty
..}