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