module Stratosphere.QuickSight.Topic.CustomInstructionsProperty (
CustomInstructionsProperty(..), mkCustomInstructionsProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data CustomInstructionsProperty
=
CustomInstructionsProperty {CustomInstructionsProperty -> ()
haddock_workaround_ :: (),
CustomInstructionsProperty -> Value Text
customInstructionsString :: (Value Prelude.Text)}
deriving stock (CustomInstructionsProperty -> CustomInstructionsProperty -> Bool
(CustomInstructionsProperty -> CustomInstructionsProperty -> Bool)
-> (CustomInstructionsProperty
-> CustomInstructionsProperty -> Bool)
-> Eq CustomInstructionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: CustomInstructionsProperty -> CustomInstructionsProperty -> Bool
== :: CustomInstructionsProperty -> CustomInstructionsProperty -> Bool
$c/= :: CustomInstructionsProperty -> CustomInstructionsProperty -> Bool
/= :: CustomInstructionsProperty -> CustomInstructionsProperty -> Bool
Prelude.Eq, Int -> CustomInstructionsProperty -> ShowS
[CustomInstructionsProperty] -> ShowS
CustomInstructionsProperty -> String
(Int -> CustomInstructionsProperty -> ShowS)
-> (CustomInstructionsProperty -> String)
-> ([CustomInstructionsProperty] -> ShowS)
-> Show CustomInstructionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> CustomInstructionsProperty -> ShowS
showsPrec :: Int -> CustomInstructionsProperty -> ShowS
$cshow :: CustomInstructionsProperty -> String
show :: CustomInstructionsProperty -> String
$cshowList :: [CustomInstructionsProperty] -> ShowS
showList :: [CustomInstructionsProperty] -> ShowS
Prelude.Show)
mkCustomInstructionsProperty ::
Value Prelude.Text -> CustomInstructionsProperty
mkCustomInstructionsProperty :: Value Text -> CustomInstructionsProperty
mkCustomInstructionsProperty Value Text
customInstructionsString
= CustomInstructionsProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (),
customInstructionsString :: Value Text
customInstructionsString = Value Text
customInstructionsString}
instance ToResourceProperties CustomInstructionsProperty where
toResourceProperties :: CustomInstructionsProperty -> ResourceProperties
toResourceProperties CustomInstructionsProperty {()
Value Text
haddock_workaround_ :: CustomInstructionsProperty -> ()
customInstructionsString :: CustomInstructionsProperty -> Value Text
haddock_workaround_ :: ()
customInstructionsString :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Topic.CustomInstructions",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"CustomInstructionsString"
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
customInstructionsString]}
instance JSON.ToJSON CustomInstructionsProperty where
toJSON :: CustomInstructionsProperty -> Value
toJSON CustomInstructionsProperty {()
Value Text
haddock_workaround_ :: CustomInstructionsProperty -> ()
customInstructionsString :: CustomInstructionsProperty -> Value Text
haddock_workaround_ :: ()
customInstructionsString :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"CustomInstructionsString" 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
customInstructionsString]
instance Property "CustomInstructionsString" CustomInstructionsProperty where
type PropertyType "CustomInstructionsString" CustomInstructionsProperty = Value Prelude.Text
set :: PropertyType "CustomInstructionsString" CustomInstructionsProperty
-> CustomInstructionsProperty -> CustomInstructionsProperty
set PropertyType "CustomInstructionsString" CustomInstructionsProperty
newValue CustomInstructionsProperty {()
Value Text
haddock_workaround_ :: CustomInstructionsProperty -> ()
customInstructionsString :: CustomInstructionsProperty -> Value Text
haddock_workaround_ :: ()
customInstructionsString :: Value Text
..}
= CustomInstructionsProperty
{customInstructionsString :: Value Text
customInstructionsString = PropertyType "CustomInstructionsString" CustomInstructionsProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}