module Stratosphere.QuickSight.Template.PercentageDisplayFormatConfigurationProperty (
        module Exports, PercentageDisplayFormatConfigurationProperty(..),
        mkPercentageDisplayFormatConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Template.DecimalPlacesConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.NegativeValueConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.NullValueFormatConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Template.NumericSeparatorConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data PercentageDisplayFormatConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html>
    PercentageDisplayFormatConfigurationProperty {PercentageDisplayFormatConfigurationProperty -> ()
haddock_workaround_ :: (),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-decimalplacesconfiguration>
                                                  PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
decimalPlacesConfiguration :: (Prelude.Maybe DecimalPlacesConfigurationProperty),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-negativevalueconfiguration>
                                                  PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
negativeValueConfiguration :: (Prelude.Maybe NegativeValueConfigurationProperty),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-nullvalueformatconfiguration>
                                                  PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
nullValueFormatConfiguration :: (Prelude.Maybe NullValueFormatConfigurationProperty),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-prefix>
                                                  PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
prefix :: (Prelude.Maybe (Value Prelude.Text)),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-separatorconfiguration>
                                                  PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
separatorConfiguration :: (Prelude.Maybe NumericSeparatorConfigurationProperty),
                                                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-percentagedisplayformatconfiguration.html#cfn-quicksight-template-percentagedisplayformatconfiguration-suffix>
                                                  PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
suffix :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty -> Bool
(PercentageDisplayFormatConfigurationProperty
 -> PercentageDisplayFormatConfigurationProperty -> Bool)
-> (PercentageDisplayFormatConfigurationProperty
    -> PercentageDisplayFormatConfigurationProperty -> Bool)
-> Eq PercentageDisplayFormatConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty -> Bool
== :: PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty -> Bool
$c/= :: PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty -> Bool
/= :: PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty -> Bool
Prelude.Eq, Int -> PercentageDisplayFormatConfigurationProperty -> ShowS
[PercentageDisplayFormatConfigurationProperty] -> ShowS
PercentageDisplayFormatConfigurationProperty -> String
(Int -> PercentageDisplayFormatConfigurationProperty -> ShowS)
-> (PercentageDisplayFormatConfigurationProperty -> String)
-> ([PercentageDisplayFormatConfigurationProperty] -> ShowS)
-> Show PercentageDisplayFormatConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> PercentageDisplayFormatConfigurationProperty -> ShowS
showsPrec :: Int -> PercentageDisplayFormatConfigurationProperty -> ShowS
$cshow :: PercentageDisplayFormatConfigurationProperty -> String
show :: PercentageDisplayFormatConfigurationProperty -> String
$cshowList :: [PercentageDisplayFormatConfigurationProperty] -> ShowS
showList :: [PercentageDisplayFormatConfigurationProperty] -> ShowS
Prelude.Show)
mkPercentageDisplayFormatConfigurationProperty ::
  PercentageDisplayFormatConfigurationProperty
mkPercentageDisplayFormatConfigurationProperty :: PercentageDisplayFormatConfigurationProperty
mkPercentageDisplayFormatConfigurationProperty
  = PercentageDisplayFormatConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
decimalPlacesConfiguration = Maybe DecimalPlacesConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
negativeValueConfiguration = Maybe NegativeValueConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
nullValueFormatConfiguration = Maybe NullValueFormatConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       prefix :: Maybe (Value Text)
prefix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
separatorConfiguration = Maybe NumericSeparatorConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       suffix :: Maybe (Value Text)
suffix = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties PercentageDisplayFormatConfigurationProperty where
  toResourceProperties :: PercentageDisplayFormatConfigurationProperty -> ResourceProperties
toResourceProperties
    PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::QuickSight::Template.PercentageDisplayFormatConfiguration",
         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 -> DecimalPlacesConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DecimalPlacesConfiguration"
                              (DecimalPlacesConfigurationProperty -> (Key, Value))
-> Maybe DecimalPlacesConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DecimalPlacesConfigurationProperty
decimalPlacesConfiguration,
                            Key -> NegativeValueConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NegativeValueConfiguration"
                              (NegativeValueConfigurationProperty -> (Key, Value))
-> Maybe NegativeValueConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NegativeValueConfigurationProperty
negativeValueConfiguration,
                            Key -> NullValueFormatConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NullValueFormatConfiguration"
                              (NullValueFormatConfigurationProperty -> (Key, Value))
-> Maybe NullValueFormatConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NullValueFormatConfigurationProperty
nullValueFormatConfiguration,
                            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
"Prefix" (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)
prefix,
                            Key -> NumericSeparatorConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SeparatorConfiguration"
                              (NumericSeparatorConfigurationProperty -> (Key, Value))
-> Maybe NumericSeparatorConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NumericSeparatorConfigurationProperty
separatorConfiguration,
                            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
"Suffix" (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)
suffix])}
instance JSON.ToJSON PercentageDisplayFormatConfigurationProperty where
  toJSON :: PercentageDisplayFormatConfigurationProperty -> Value
toJSON PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: 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 -> DecimalPlacesConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DecimalPlacesConfiguration"
                 (DecimalPlacesConfigurationProperty -> (Key, Value))
-> Maybe DecimalPlacesConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DecimalPlacesConfigurationProperty
decimalPlacesConfiguration,
               Key -> NegativeValueConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NegativeValueConfiguration"
                 (NegativeValueConfigurationProperty -> (Key, Value))
-> Maybe NegativeValueConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NegativeValueConfigurationProperty
negativeValueConfiguration,
               Key -> NullValueFormatConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NullValueFormatConfiguration"
                 (NullValueFormatConfigurationProperty -> (Key, Value))
-> Maybe NullValueFormatConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NullValueFormatConfigurationProperty
nullValueFormatConfiguration,
               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
"Prefix" (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)
prefix,
               Key -> NumericSeparatorConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SeparatorConfiguration"
                 (NumericSeparatorConfigurationProperty -> (Key, Value))
-> Maybe NumericSeparatorConfigurationProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NumericSeparatorConfigurationProperty
separatorConfiguration,
               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
"Suffix" (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)
suffix]))
instance Property "DecimalPlacesConfiguration" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "DecimalPlacesConfiguration" PercentageDisplayFormatConfigurationProperty = DecimalPlacesConfigurationProperty
  set :: PropertyType
  "DecimalPlacesConfiguration"
  PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType
  "DecimalPlacesConfiguration"
  PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
decimalPlacesConfiguration = DecimalPlacesConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "DecimalPlacesConfiguration"
  PercentageDisplayFormatConfigurationProperty
DecimalPlacesConfigurationProperty
newValue, Maybe (Value Text)
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: ()
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
haddock_workaround_ :: ()
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
instance Property "NegativeValueConfiguration" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "NegativeValueConfiguration" PercentageDisplayFormatConfigurationProperty = NegativeValueConfigurationProperty
  set :: PropertyType
  "NegativeValueConfiguration"
  PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType
  "NegativeValueConfiguration"
  PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
negativeValueConfiguration = NegativeValueConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "NegativeValueConfiguration"
  PercentageDisplayFormatConfigurationProperty
NegativeValueConfigurationProperty
newValue, Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
instance Property "NullValueFormatConfiguration" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "NullValueFormatConfiguration" PercentageDisplayFormatConfigurationProperty = NullValueFormatConfigurationProperty
  set :: PropertyType
  "NullValueFormatConfiguration"
  PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType
  "NullValueFormatConfiguration"
  PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
nullValueFormatConfiguration = NullValueFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "NullValueFormatConfiguration"
  PercentageDisplayFormatConfigurationProperty
NullValueFormatConfigurationProperty
newValue, Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
instance Property "Prefix" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "Prefix" PercentageDisplayFormatConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Prefix" PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType "Prefix" PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {prefix :: Maybe (Value Text)
prefix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Prefix" PercentageDisplayFormatConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
instance Property "SeparatorConfiguration" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "SeparatorConfiguration" PercentageDisplayFormatConfigurationProperty = NumericSeparatorConfigurationProperty
  set :: PropertyType
  "SeparatorConfiguration"
  PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType
  "SeparatorConfiguration"
  PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
separatorConfiguration = NumericSeparatorConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "SeparatorConfiguration"
  PercentageDisplayFormatConfigurationProperty
NumericSeparatorConfigurationProperty
newValue, Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
()
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
suffix :: Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
suffix :: Maybe (Value Text)
..}
instance Property "Suffix" PercentageDisplayFormatConfigurationProperty where
  type PropertyType "Suffix" PercentageDisplayFormatConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Suffix" PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
-> PercentageDisplayFormatConfigurationProperty
set PropertyType "Suffix" PercentageDisplayFormatConfigurationProperty
newValue PercentageDisplayFormatConfigurationProperty {Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: PercentageDisplayFormatConfigurationProperty -> ()
decimalPlacesConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NullValueFormatConfigurationProperty
prefix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
separatorConfiguration :: PercentageDisplayFormatConfigurationProperty
-> Maybe NumericSeparatorConfigurationProperty
suffix :: PercentageDisplayFormatConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
suffix :: Maybe (Value Text)
..}
    = PercentageDisplayFormatConfigurationProperty
        {suffix :: Maybe (Value Text)
suffix = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Suffix" PercentageDisplayFormatConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe DecimalPlacesConfigurationProperty
Maybe NegativeValueConfigurationProperty
Maybe NullValueFormatConfigurationProperty
Maybe NumericSeparatorConfigurationProperty
()
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
haddock_workaround_ :: ()
decimalPlacesConfiguration :: Maybe DecimalPlacesConfigurationProperty
negativeValueConfiguration :: Maybe NegativeValueConfigurationProperty
nullValueFormatConfiguration :: Maybe NullValueFormatConfigurationProperty
prefix :: Maybe (Value Text)
separatorConfiguration :: Maybe NumericSeparatorConfigurationProperty
..}