module Stratosphere.QuickSight.Analysis.SetParameterValueConfigurationProperty (
module Exports, SetParameterValueConfigurationProperty(..),
mkSetParameterValueConfigurationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Analysis.DestinationParameterValueConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SetParameterValueConfigurationProperty
=
SetParameterValueConfigurationProperty {SetParameterValueConfigurationProperty -> ()
haddock_workaround_ :: (),
SetParameterValueConfigurationProperty -> Value Text
destinationParameterName :: (Value Prelude.Text),
SetParameterValueConfigurationProperty
-> DestinationParameterValueConfigurationProperty
value :: DestinationParameterValueConfigurationProperty}
deriving stock (SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool
(SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool)
-> (SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool)
-> Eq SetParameterValueConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool
== :: SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool
$c/= :: SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool
/= :: SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty -> Bool
Prelude.Eq, Int -> SetParameterValueConfigurationProperty -> ShowS
[SetParameterValueConfigurationProperty] -> ShowS
SetParameterValueConfigurationProperty -> String
(Int -> SetParameterValueConfigurationProperty -> ShowS)
-> (SetParameterValueConfigurationProperty -> String)
-> ([SetParameterValueConfigurationProperty] -> ShowS)
-> Show SetParameterValueConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SetParameterValueConfigurationProperty -> ShowS
showsPrec :: Int -> SetParameterValueConfigurationProperty -> ShowS
$cshow :: SetParameterValueConfigurationProperty -> String
show :: SetParameterValueConfigurationProperty -> String
$cshowList :: [SetParameterValueConfigurationProperty] -> ShowS
showList :: [SetParameterValueConfigurationProperty] -> ShowS
Prelude.Show)
mkSetParameterValueConfigurationProperty ::
Value Prelude.Text
-> DestinationParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
mkSetParameterValueConfigurationProperty :: Value Text
-> DestinationParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
mkSetParameterValueConfigurationProperty
Value Text
destinationParameterName
DestinationParameterValueConfigurationProperty
value
= SetParameterValueConfigurationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
destinationParameterName :: Value Text
destinationParameterName = Value Text
destinationParameterName, value :: DestinationParameterValueConfigurationProperty
value = DestinationParameterValueConfigurationProperty
value}
instance ToResourceProperties SetParameterValueConfigurationProperty where
toResourceProperties :: SetParameterValueConfigurationProperty -> ResourceProperties
toResourceProperties SetParameterValueConfigurationProperty {()
Value Text
DestinationParameterValueConfigurationProperty
haddock_workaround_ :: SetParameterValueConfigurationProperty -> ()
destinationParameterName :: SetParameterValueConfigurationProperty -> Value Text
value :: SetParameterValueConfigurationProperty
-> DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
destinationParameterName :: Value Text
value :: DestinationParameterValueConfigurationProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Analysis.SetParameterValueConfiguration",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"DestinationParameterName"
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
destinationParameterName,
Key
"Value" Key
-> DestinationParameterValueConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationParameterValueConfigurationProperty
value]}
instance JSON.ToJSON SetParameterValueConfigurationProperty where
toJSON :: SetParameterValueConfigurationProperty -> Value
toJSON SetParameterValueConfigurationProperty {()
Value Text
DestinationParameterValueConfigurationProperty
haddock_workaround_ :: SetParameterValueConfigurationProperty -> ()
destinationParameterName :: SetParameterValueConfigurationProperty -> Value Text
value :: SetParameterValueConfigurationProperty
-> DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
destinationParameterName :: Value Text
value :: DestinationParameterValueConfigurationProperty
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"DestinationParameterName" 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
destinationParameterName,
Key
"Value" Key
-> DestinationParameterValueConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationParameterValueConfigurationProperty
value]
instance Property "DestinationParameterName" SetParameterValueConfigurationProperty where
type PropertyType "DestinationParameterName" SetParameterValueConfigurationProperty = Value Prelude.Text
set :: PropertyType
"DestinationParameterName" SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
set PropertyType
"DestinationParameterName" SetParameterValueConfigurationProperty
newValue SetParameterValueConfigurationProperty {()
Value Text
DestinationParameterValueConfigurationProperty
haddock_workaround_ :: SetParameterValueConfigurationProperty -> ()
destinationParameterName :: SetParameterValueConfigurationProperty -> Value Text
value :: SetParameterValueConfigurationProperty
-> DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
destinationParameterName :: Value Text
value :: DestinationParameterValueConfigurationProperty
..}
= SetParameterValueConfigurationProperty
{destinationParameterName :: Value Text
destinationParameterName = PropertyType
"DestinationParameterName" SetParameterValueConfigurationProperty
Value Text
newValue, ()
DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
value :: DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
value :: DestinationParameterValueConfigurationProperty
..}
instance Property "Value" SetParameterValueConfigurationProperty where
type PropertyType "Value" SetParameterValueConfigurationProperty = DestinationParameterValueConfigurationProperty
set :: PropertyType "Value" SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
-> SetParameterValueConfigurationProperty
set PropertyType "Value" SetParameterValueConfigurationProperty
newValue SetParameterValueConfigurationProperty {()
Value Text
DestinationParameterValueConfigurationProperty
haddock_workaround_ :: SetParameterValueConfigurationProperty -> ()
destinationParameterName :: SetParameterValueConfigurationProperty -> Value Text
value :: SetParameterValueConfigurationProperty
-> DestinationParameterValueConfigurationProperty
haddock_workaround_ :: ()
destinationParameterName :: Value Text
value :: DestinationParameterValueConfigurationProperty
..}
= SetParameterValueConfigurationProperty {value :: DestinationParameterValueConfigurationProperty
value = PropertyType "Value" SetParameterValueConfigurationProperty
DestinationParameterValueConfigurationProperty
newValue, ()
Value Text
haddock_workaround_ :: ()
destinationParameterName :: Value Text
haddock_workaround_ :: ()
destinationParameterName :: Value Text
..}