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