module Stratosphere.Pinpoint.InAppTemplate.DefaultButtonConfigurationProperty (
        DefaultButtonConfigurationProperty(..),
        mkDefaultButtonConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DefaultButtonConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html>
    DefaultButtonConfigurationProperty {DefaultButtonConfigurationProperty -> ()
haddock_workaround_ :: (),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-backgroundcolor>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Text)
backgroundColor :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-borderradius>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Integer)
borderRadius :: (Prelude.Maybe (Value Prelude.Integer)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-buttonaction>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Text)
buttonAction :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-link>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-text>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: (Prelude.Maybe (Value Prelude.Text)),
                                        -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html#cfn-pinpoint-inapptemplate-defaultbuttonconfiguration-textcolor>
                                        DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty -> Bool
(DefaultButtonConfigurationProperty
 -> DefaultButtonConfigurationProperty -> Bool)
-> (DefaultButtonConfigurationProperty
    -> DefaultButtonConfigurationProperty -> Bool)
-> Eq DefaultButtonConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty -> Bool
== :: DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty -> Bool
$c/= :: DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty -> Bool
/= :: DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty -> Bool
Prelude.Eq, Int -> DefaultButtonConfigurationProperty -> ShowS
[DefaultButtonConfigurationProperty] -> ShowS
DefaultButtonConfigurationProperty -> String
(Int -> DefaultButtonConfigurationProperty -> ShowS)
-> (DefaultButtonConfigurationProperty -> String)
-> ([DefaultButtonConfigurationProperty] -> ShowS)
-> Show DefaultButtonConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DefaultButtonConfigurationProperty -> ShowS
showsPrec :: Int -> DefaultButtonConfigurationProperty -> ShowS
$cshow :: DefaultButtonConfigurationProperty -> String
show :: DefaultButtonConfigurationProperty -> String
$cshowList :: [DefaultButtonConfigurationProperty] -> ShowS
showList :: [DefaultButtonConfigurationProperty] -> ShowS
Prelude.Show)
mkDefaultButtonConfigurationProperty ::
  DefaultButtonConfigurationProperty
mkDefaultButtonConfigurationProperty :: DefaultButtonConfigurationProperty
mkDefaultButtonConfigurationProperty
  = DefaultButtonConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), backgroundColor :: Maybe (Value Text)
backgroundColor = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       borderRadius :: Maybe (Value Integer)
borderRadius = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing, buttonAction :: Maybe (Value Text)
buttonAction = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       link :: Maybe (Value Text)
link = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, text :: Maybe (Value Text)
text = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       textColor :: Maybe (Value Text)
textColor = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DefaultButtonConfigurationProperty where
  toResourceProperties :: DefaultButtonConfigurationProperty -> ResourceProperties
toResourceProperties DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pinpoint::InAppTemplate.DefaultButtonConfiguration",
         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 -> 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
"BackgroundColor" (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)
backgroundColor,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BorderRadius" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
borderRadius,
                            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
"ButtonAction" (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)
buttonAction,
                            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
"Link" (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)
link,
                            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
"Text" (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)
text,
                            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
"TextColor" (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)
textColor])}
instance JSON.ToJSON DefaultButtonConfigurationProperty where
  toJSON :: DefaultButtonConfigurationProperty -> Value
toJSON DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: 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 -> 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
"BackgroundColor" (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)
backgroundColor,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BorderRadius" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
borderRadius,
               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
"ButtonAction" (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)
buttonAction,
               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
"Link" (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)
link,
               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
"Text" (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)
text,
               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
"TextColor" (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)
textColor]))
instance Property "BackgroundColor" DefaultButtonConfigurationProperty where
  type PropertyType "BackgroundColor" DefaultButtonConfigurationProperty = Value Prelude.Text
  set :: PropertyType "BackgroundColor" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "BackgroundColor" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {backgroundColor :: Maybe (Value Text)
backgroundColor = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BackgroundColor" DefaultButtonConfigurationProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
haddock_workaround_ :: ()
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
instance Property "BorderRadius" DefaultButtonConfigurationProperty where
  type PropertyType "BorderRadius" DefaultButtonConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "BorderRadius" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "BorderRadius" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {borderRadius :: Maybe (Value Integer)
borderRadius = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BorderRadius" DefaultButtonConfigurationProperty
Value Integer
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
instance Property "ButtonAction" DefaultButtonConfigurationProperty where
  type PropertyType "ButtonAction" DefaultButtonConfigurationProperty = Value Prelude.Text
  set :: PropertyType "ButtonAction" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "ButtonAction" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {buttonAction :: Maybe (Value Text)
buttonAction = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ButtonAction" DefaultButtonConfigurationProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
instance Property "Link" DefaultButtonConfigurationProperty where
  type PropertyType "Link" DefaultButtonConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Link" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "Link" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {link :: Maybe (Value Text)
link = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Link" DefaultButtonConfigurationProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
instance Property "Text" DefaultButtonConfigurationProperty where
  type PropertyType "Text" DefaultButtonConfigurationProperty = Value Prelude.Text
  set :: PropertyType "Text" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "Text" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {text :: Maybe (Value Text)
text = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Text" DefaultButtonConfigurationProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
textColor :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
instance Property "TextColor" DefaultButtonConfigurationProperty where
  type PropertyType "TextColor" DefaultButtonConfigurationProperty = Value Prelude.Text
  set :: PropertyType "TextColor" DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
-> DefaultButtonConfigurationProperty
set PropertyType "TextColor" DefaultButtonConfigurationProperty
newValue DefaultButtonConfigurationProperty {Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: DefaultButtonConfigurationProperty -> ()
backgroundColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
borderRadius :: DefaultButtonConfigurationProperty -> Maybe (Value Integer)
buttonAction :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
link :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
text :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
textColor :: DefaultButtonConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
textColor :: Maybe (Value Text)
..}
    = DefaultButtonConfigurationProperty
        {textColor :: Maybe (Value Text)
textColor = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TextColor" DefaultButtonConfigurationProperty
Value Text
newValue, Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
haddock_workaround_ :: ()
backgroundColor :: Maybe (Value Text)
borderRadius :: Maybe (Value Integer)
buttonAction :: Maybe (Value Text)
link :: Maybe (Value Text)
text :: Maybe (Value Text)
..}