module Stratosphere.CustomerProfiles.Integration (
        module Exports, Integration(..), mkIntegration
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Integration.FlowDefinitionProperty as Exports
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Integration.ObjectTypeMappingProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Integration
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html>
    Integration {Integration -> ()
haddock_workaround_ :: (),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-domainname>
                 Integration -> Value Text
domainName :: (Value Prelude.Text),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-eventtriggernames>
                 Integration -> Maybe (ValueList Text)
eventTriggerNames :: (Prelude.Maybe (ValueList Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-flowdefinition>
                 Integration -> Maybe FlowDefinitionProperty
flowDefinition :: (Prelude.Maybe FlowDefinitionProperty),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-objecttypename>
                 Integration -> Maybe (Value Text)
objectTypeName :: (Prelude.Maybe (Value Prelude.Text)),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-objecttypenames>
                 Integration -> Maybe [ObjectTypeMappingProperty]
objectTypeNames :: (Prelude.Maybe [ObjectTypeMappingProperty]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-tags>
                 Integration -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                 -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-integration.html#cfn-customerprofiles-integration-uri>
                 Integration -> Maybe (Value Text)
uri :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (Integration -> Integration -> Bool
(Integration -> Integration -> Bool)
-> (Integration -> Integration -> Bool) -> Eq Integration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Integration -> Integration -> Bool
== :: Integration -> Integration -> Bool
$c/= :: Integration -> Integration -> Bool
/= :: Integration -> Integration -> Bool
Prelude.Eq, Int -> Integration -> ShowS
[Integration] -> ShowS
Integration -> String
(Int -> Integration -> ShowS)
-> (Integration -> String)
-> ([Integration] -> ShowS)
-> Show Integration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Integration -> ShowS
showsPrec :: Int -> Integration -> ShowS
$cshow :: Integration -> String
show :: Integration -> String
$cshowList :: [Integration] -> ShowS
showList :: [Integration] -> ShowS
Prelude.Show)
mkIntegration :: Value Prelude.Text -> Integration
mkIntegration :: Value Text -> Integration
mkIntegration Value Text
domainName
  = Integration
      {haddock_workaround_ :: ()
haddock_workaround_ = (), domainName :: Value Text
domainName = Value Text
domainName,
       eventTriggerNames :: Maybe (ValueList Text)
eventTriggerNames = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
       flowDefinition :: Maybe FlowDefinitionProperty
flowDefinition = Maybe FlowDefinitionProperty
forall a. Maybe a
Prelude.Nothing, objectTypeName :: Maybe (Value Text)
objectTypeName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       objectTypeNames :: Maybe [ObjectTypeMappingProperty]
objectTypeNames = Maybe [ObjectTypeMappingProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       uri :: Maybe (Value Text)
uri = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Integration where
  toResourceProperties :: Integration -> ResourceProperties
toResourceProperties Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CustomerProfiles::Integration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"DomainName" 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
domainName]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EventTriggerNames" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
eventTriggerNames,
                               Key -> FlowDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FlowDefinition" (FlowDefinitionProperty -> (Key, Value))
-> Maybe FlowDefinitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FlowDefinitionProperty
flowDefinition,
                               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..=) Key
"ObjectTypeName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
objectTypeName,
                               Key -> [ObjectTypeMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ObjectTypeNames" ([ObjectTypeMappingProperty] -> (Key, Value))
-> Maybe [ObjectTypeMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ObjectTypeMappingProperty]
objectTypeNames,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               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..=) Key
"Uri" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
uri]))}
instance JSON.ToJSON Integration where
  toJSON :: Integration -> Value
toJSON Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"DomainName" 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
domainName]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"EventTriggerNames" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
eventTriggerNames,
                  Key -> FlowDefinitionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FlowDefinition" (FlowDefinitionProperty -> (Key, Value))
-> Maybe FlowDefinitionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FlowDefinitionProperty
flowDefinition,
                  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..=) Key
"ObjectTypeName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
objectTypeName,
                  Key -> [ObjectTypeMappingProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ObjectTypeNames" ([ObjectTypeMappingProperty] -> (Key, Value))
-> Maybe [ObjectTypeMappingProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [ObjectTypeMappingProperty]
objectTypeNames,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  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..=) Key
"Uri" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
uri])))
instance Property "DomainName" Integration where
  type PropertyType "DomainName" Integration = Value Prelude.Text
  set :: PropertyType "DomainName" Integration -> Integration -> Integration
set PropertyType "DomainName" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {domainName :: Value Text
domainName = PropertyType "DomainName" Integration
Value Text
newValue, Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
haddock_workaround_ :: ()
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
instance Property "EventTriggerNames" Integration where
  type PropertyType "EventTriggerNames" Integration = ValueList Prelude.Text
  set :: PropertyType "EventTriggerNames" Integration
-> Integration -> Integration
set PropertyType "EventTriggerNames" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {eventTriggerNames :: Maybe (ValueList Text)
eventTriggerNames = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "EventTriggerNames" Integration
ValueList Text
newValue, Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
instance Property "FlowDefinition" Integration where
  type PropertyType "FlowDefinition" Integration = FlowDefinitionProperty
  set :: PropertyType "FlowDefinition" Integration
-> Integration -> Integration
set PropertyType "FlowDefinition" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {flowDefinition :: Maybe FlowDefinitionProperty
flowDefinition = FlowDefinitionProperty -> Maybe FlowDefinitionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FlowDefinition" Integration
FlowDefinitionProperty
newValue, Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
instance Property "ObjectTypeName" Integration where
  type PropertyType "ObjectTypeName" Integration = Value Prelude.Text
  set :: PropertyType "ObjectTypeName" Integration
-> Integration -> Integration
set PropertyType "ObjectTypeName" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {objectTypeName :: Maybe (Value Text)
objectTypeName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ObjectTypeName" Integration
Value Text
newValue, Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
instance Property "ObjectTypeNames" Integration where
  type PropertyType "ObjectTypeNames" Integration = [ObjectTypeMappingProperty]
  set :: PropertyType "ObjectTypeNames" Integration
-> Integration -> Integration
set PropertyType "ObjectTypeNames" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {objectTypeNames :: Maybe [ObjectTypeMappingProperty]
objectTypeNames = [ObjectTypeMappingProperty] -> Maybe [ObjectTypeMappingProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [ObjectTypeMappingProperty]
PropertyType "ObjectTypeNames" Integration
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
instance Property "Tags" Integration where
  type PropertyType "Tags" Integration = [Tag]
  set :: PropertyType "Tags" Integration -> Integration -> Integration
set PropertyType "Tags" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Integration
newValue, Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
uri :: Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
uri :: Maybe (Value Text)
..}
instance Property "Uri" Integration where
  type PropertyType "Uri" Integration = Value Prelude.Text
  set :: PropertyType "Uri" Integration -> Integration -> Integration
set PropertyType "Uri" Integration
newValue Integration {Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: Integration -> ()
domainName :: Integration -> Value Text
eventTriggerNames :: Integration -> Maybe (ValueList Text)
flowDefinition :: Integration -> Maybe FlowDefinitionProperty
objectTypeName :: Integration -> Maybe (Value Text)
objectTypeNames :: Integration -> Maybe [ObjectTypeMappingProperty]
tags :: Integration -> Maybe [Tag]
uri :: Integration -> Maybe (Value Text)
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
uri :: Maybe (Value Text)
..}
    = Integration {uri :: Maybe (Value Text)
uri = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Uri" Integration
Value Text
newValue, Maybe [Tag]
Maybe [ObjectTypeMappingProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe FlowDefinitionProperty
()
Value Text
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
domainName :: Value Text
eventTriggerNames :: Maybe (ValueList Text)
flowDefinition :: Maybe FlowDefinitionProperty
objectTypeName :: Maybe (Value Text)
objectTypeNames :: Maybe [ObjectTypeMappingProperty]
tags :: Maybe [Tag]
..}