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