module Stratosphere.CustomerProfiles.Domain.RuleBasedMatchingProperty (
        module Exports, RuleBasedMatchingProperty(..),
        mkRuleBasedMatchingProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.AttributeTypesSelectorProperty as Exports
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.ConflictResolutionProperty as Exports
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.ExportingConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.CustomerProfiles.Domain.MatchingRuleProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RuleBasedMatchingProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html>
    RuleBasedMatchingProperty {RuleBasedMatchingProperty -> ()
haddock_workaround_ :: (),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-attributetypesselector>
                               RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
attributeTypesSelector :: (Prelude.Maybe AttributeTypesSelectorProperty),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-conflictresolution>
                               RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
conflictResolution :: (Prelude.Maybe ConflictResolutionProperty),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-enabled>
                               RuleBasedMatchingProperty -> Value Bool
enabled :: (Value Prelude.Bool),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-exportingconfig>
                               RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
exportingConfig :: (Prelude.Maybe ExportingConfigProperty),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-matchingrules>
                               RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
matchingRules :: (Prelude.Maybe [MatchingRuleProperty]),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-maxallowedrulelevelformatching>
                               RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMatching :: (Prelude.Maybe (Value Prelude.Integer)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-maxallowedrulelevelformerging>
                               RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: (Prelude.Maybe (Value Prelude.Integer)),
                               -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-domain-rulebasedmatching.html#cfn-customerprofiles-domain-rulebasedmatching-status>
                               RuleBasedMatchingProperty -> Maybe (Value Text)
status :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool
(RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool)
-> (RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool)
-> Eq RuleBasedMatchingProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool
== :: RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool
$c/= :: RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool
/= :: RuleBasedMatchingProperty -> RuleBasedMatchingProperty -> Bool
Prelude.Eq, Int -> RuleBasedMatchingProperty -> ShowS
[RuleBasedMatchingProperty] -> ShowS
RuleBasedMatchingProperty -> String
(Int -> RuleBasedMatchingProperty -> ShowS)
-> (RuleBasedMatchingProperty -> String)
-> ([RuleBasedMatchingProperty] -> ShowS)
-> Show RuleBasedMatchingProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RuleBasedMatchingProperty -> ShowS
showsPrec :: Int -> RuleBasedMatchingProperty -> ShowS
$cshow :: RuleBasedMatchingProperty -> String
show :: RuleBasedMatchingProperty -> String
$cshowList :: [RuleBasedMatchingProperty] -> ShowS
showList :: [RuleBasedMatchingProperty] -> ShowS
Prelude.Show)
mkRuleBasedMatchingProperty ::
  Value Prelude.Bool -> RuleBasedMatchingProperty
mkRuleBasedMatchingProperty :: Value Bool -> RuleBasedMatchingProperty
mkRuleBasedMatchingProperty Value Bool
enabled
  = RuleBasedMatchingProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), enabled :: Value Bool
enabled = Value Bool
enabled,
       attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
attributeTypesSelector = Maybe AttributeTypesSelectorProperty
forall a. Maybe a
Prelude.Nothing,
       conflictResolution :: Maybe ConflictResolutionProperty
conflictResolution = Maybe ConflictResolutionProperty
forall a. Maybe a
Prelude.Nothing,
       exportingConfig :: Maybe ExportingConfigProperty
exportingConfig = Maybe ExportingConfigProperty
forall a. Maybe a
Prelude.Nothing, matchingRules :: Maybe [MatchingRuleProperty]
matchingRules = Maybe [MatchingRuleProperty]
forall a. Maybe a
Prelude.Nothing,
       maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMatching = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       status :: Maybe (Value Text)
status = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RuleBasedMatchingProperty where
  toResourceProperties :: RuleBasedMatchingProperty -> ResourceProperties
toResourceProperties RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::CustomerProfiles::Domain.RuleBasedMatching",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         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
"Enabled" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
enabled]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> AttributeTypesSelectorProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AttributeTypesSelector"
                                 (AttributeTypesSelectorProperty -> (Key, Value))
-> Maybe AttributeTypesSelectorProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AttributeTypesSelectorProperty
attributeTypesSelector,
                               Key -> ConflictResolutionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConflictResolution" (ConflictResolutionProperty -> (Key, Value))
-> Maybe ConflictResolutionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConflictResolutionProperty
conflictResolution,
                               Key -> ExportingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExportingConfig" (ExportingConfigProperty -> (Key, Value))
-> Maybe ExportingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExportingConfigProperty
exportingConfig,
                               Key -> [MatchingRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchingRules" ([MatchingRuleProperty] -> (Key, Value))
-> Maybe [MatchingRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MatchingRuleProperty]
matchingRules,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxAllowedRuleLevelForMatching"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxAllowedRuleLevelForMatching,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxAllowedRuleLevelForMerging"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxAllowedRuleLevelForMerging,
                               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
"Status" (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)
status]))}
instance JSON.ToJSON RuleBasedMatchingProperty where
  toJSON :: RuleBasedMatchingProperty -> Value
toJSON RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: 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
"Enabled" Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Bool
enabled]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> AttributeTypesSelectorProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AttributeTypesSelector"
                    (AttributeTypesSelectorProperty -> (Key, Value))
-> Maybe AttributeTypesSelectorProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AttributeTypesSelectorProperty
attributeTypesSelector,
                  Key -> ConflictResolutionProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConflictResolution" (ConflictResolutionProperty -> (Key, Value))
-> Maybe ConflictResolutionProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ConflictResolutionProperty
conflictResolution,
                  Key -> ExportingConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ExportingConfig" (ExportingConfigProperty -> (Key, Value))
-> Maybe ExportingConfigProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ExportingConfigProperty
exportingConfig,
                  Key -> [MatchingRuleProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MatchingRules" ([MatchingRuleProperty] -> (Key, Value))
-> Maybe [MatchingRuleProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MatchingRuleProperty]
matchingRules,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxAllowedRuleLevelForMatching"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxAllowedRuleLevelForMatching,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MaxAllowedRuleLevelForMerging"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
maxAllowedRuleLevelForMerging,
                  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
"Status" (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)
status])))
instance Property "AttributeTypesSelector" RuleBasedMatchingProperty where
  type PropertyType "AttributeTypesSelector" RuleBasedMatchingProperty = AttributeTypesSelectorProperty
  set :: PropertyType "AttributeTypesSelector" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "AttributeTypesSelector" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
attributeTypesSelector = AttributeTypesSelectorProperty
-> Maybe AttributeTypesSelectorProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AttributeTypesSelector" RuleBasedMatchingProperty
AttributeTypesSelectorProperty
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "ConflictResolution" RuleBasedMatchingProperty where
  type PropertyType "ConflictResolution" RuleBasedMatchingProperty = ConflictResolutionProperty
  set :: PropertyType "ConflictResolution" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "ConflictResolution" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {conflictResolution :: Maybe ConflictResolutionProperty
conflictResolution = ConflictResolutionProperty -> Maybe ConflictResolutionProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConflictResolution" RuleBasedMatchingProperty
ConflictResolutionProperty
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "Enabled" RuleBasedMatchingProperty where
  type PropertyType "Enabled" RuleBasedMatchingProperty = Value Prelude.Bool
  set :: PropertyType "Enabled" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "Enabled" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty {enabled :: Value Bool
enabled = PropertyType "Enabled" RuleBasedMatchingProperty
Value Bool
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "ExportingConfig" RuleBasedMatchingProperty where
  type PropertyType "ExportingConfig" RuleBasedMatchingProperty = ExportingConfigProperty
  set :: PropertyType "ExportingConfig" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "ExportingConfig" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {exportingConfig :: Maybe ExportingConfigProperty
exportingConfig = ExportingConfigProperty -> Maybe ExportingConfigProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ExportingConfig" RuleBasedMatchingProperty
ExportingConfigProperty
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "MatchingRules" RuleBasedMatchingProperty where
  type PropertyType "MatchingRules" RuleBasedMatchingProperty = [MatchingRuleProperty]
  set :: PropertyType "MatchingRules" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "MatchingRules" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {matchingRules :: Maybe [MatchingRuleProperty]
matchingRules = [MatchingRuleProperty] -> Maybe [MatchingRuleProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MatchingRuleProperty]
PropertyType "MatchingRules" RuleBasedMatchingProperty
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "MaxAllowedRuleLevelForMatching" RuleBasedMatchingProperty where
  type PropertyType "MaxAllowedRuleLevelForMatching" RuleBasedMatchingProperty = Value Prelude.Integer
  set :: PropertyType
  "MaxAllowedRuleLevelForMatching" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType
  "MaxAllowedRuleLevelForMatching" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMatching = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MaxAllowedRuleLevelForMatching" RuleBasedMatchingProperty
Value Integer
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "MaxAllowedRuleLevelForMerging" RuleBasedMatchingProperty where
  type PropertyType "MaxAllowedRuleLevelForMerging" RuleBasedMatchingProperty = Value Prelude.Integer
  set :: PropertyType
  "MaxAllowedRuleLevelForMerging" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType
  "MaxAllowedRuleLevelForMerging" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty
        {maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "MaxAllowedRuleLevelForMerging" RuleBasedMatchingProperty
Value Integer
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
status :: Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
instance Property "Status" RuleBasedMatchingProperty where
  type PropertyType "Status" RuleBasedMatchingProperty = Value Prelude.Text
  set :: PropertyType "Status" RuleBasedMatchingProperty
-> RuleBasedMatchingProperty -> RuleBasedMatchingProperty
set PropertyType "Status" RuleBasedMatchingProperty
newValue RuleBasedMatchingProperty {Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe (Value Text)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: RuleBasedMatchingProperty -> ()
attributeTypesSelector :: RuleBasedMatchingProperty -> Maybe AttributeTypesSelectorProperty
conflictResolution :: RuleBasedMatchingProperty -> Maybe ConflictResolutionProperty
enabled :: RuleBasedMatchingProperty -> Value Bool
exportingConfig :: RuleBasedMatchingProperty -> Maybe ExportingConfigProperty
matchingRules :: RuleBasedMatchingProperty -> Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: RuleBasedMatchingProperty -> Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: RuleBasedMatchingProperty -> Maybe (Value Integer)
status :: RuleBasedMatchingProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
status :: Maybe (Value Text)
..}
    = RuleBasedMatchingProperty {status :: Maybe (Value Text)
status = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Status" RuleBasedMatchingProperty
Value Text
newValue, Maybe [MatchingRuleProperty]
Maybe (Value Integer)
Maybe AttributeTypesSelectorProperty
Maybe ConflictResolutionProperty
Maybe ExportingConfigProperty
()
Value Bool
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
haddock_workaround_ :: ()
attributeTypesSelector :: Maybe AttributeTypesSelectorProperty
conflictResolution :: Maybe ConflictResolutionProperty
enabled :: Value Bool
exportingConfig :: Maybe ExportingConfigProperty
matchingRules :: Maybe [MatchingRuleProperty]
maxAllowedRuleLevelForMatching :: Maybe (Value Integer)
maxAllowedRuleLevelForMerging :: Maybe (Value Integer)
..}