7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/model/AttributeTypesSelector.h>
10#include <aws/customer-profiles/model/ConflictResolution.h>
11#include <aws/customer-profiles/model/ExportingConfig.h>
12#include <aws/customer-profiles/model/MatchingRule.h>
25namespace CustomerProfiles
51 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
62 template<
typename MatchingRulesT = Aws::Vector<MatchingRule>>
63 void SetMatchingRules(MatchingRulesT&& value) { m_matchingRulesHasBeenSet =
true; m_matchingRules = std::forward<MatchingRulesT>(value); }
64 template<
typename MatchingRulesT = Aws::Vector<MatchingRule>>
66 template<
typename MatchingRulesT = MatchingRule>
99 template<
typename AttributeTypesSelectorT = AttributeTypesSelector>
100 void SetAttributeTypesSelector(AttributeTypesSelectorT&& value) { m_attributeTypesSelectorHasBeenSet =
true; m_attributeTypesSelector = std::forward<AttributeTypesSelectorT>(value); }
101 template<
typename AttributeTypesSelectorT = AttributeTypesSelector>
109 template<
typename ConflictResolutionT = ConflictResolution>
110 void SetConflictResolution(ConflictResolutionT&& value) { m_conflictResolutionHasBeenSet =
true; m_conflictResolution = std::forward<ConflictResolutionT>(value); }
111 template<
typename ConflictResolutionT = ConflictResolution>
119 template<
typename ExportingConfigT = ExportingConfig>
120 void SetExportingConfig(ExportingConfigT&& value) { m_exportingConfigHasBeenSet =
true; m_exportingConfig = std::forward<ExportingConfigT>(value); }
121 template<
typename ExportingConfigT = ExportingConfig>
126 bool m_enabled{
false};
127 bool m_enabledHasBeenSet =
false;
130 bool m_matchingRulesHasBeenSet =
false;
132 int m_maxAllowedRuleLevelForMerging{0};
133 bool m_maxAllowedRuleLevelForMergingHasBeenSet =
false;
135 int m_maxAllowedRuleLevelForMatching{0};
136 bool m_maxAllowedRuleLevelForMatchingHasBeenSet =
false;
138 AttributeTypesSelector m_attributeTypesSelector;
139 bool m_attributeTypesSelectorHasBeenSet =
false;
141 ConflictResolution m_conflictResolution;
142 bool m_conflictResolutionHasBeenSet =
false;
144 ExportingConfig m_exportingConfig;
145 bool m_exportingConfigHasBeenSet =
false;
RuleBasedMatchingRequest & WithExportingConfig(ExportingConfigT &&value)
bool ConflictResolutionHasBeenSet() const
bool EnabledHasBeenSet() const
const AttributeTypesSelector & GetAttributeTypesSelector() const
RuleBasedMatchingRequest & WithMatchingRules(MatchingRulesT &&value)
RuleBasedMatchingRequest & WithMaxAllowedRuleLevelForMatching(int value)
const ExportingConfig & GetExportingConfig() const
RuleBasedMatchingRequest & WithMaxAllowedRuleLevelForMerging(int value)
bool MatchingRulesHasBeenSet() const
bool MaxAllowedRuleLevelForMatchingHasBeenSet() const
RuleBasedMatchingRequest & AddMatchingRules(MatchingRulesT &&value)
bool MaxAllowedRuleLevelForMergingHasBeenSet() const
AWS_CUSTOMERPROFILES_API RuleBasedMatchingRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleBasedMatchingRequest & WithAttributeTypesSelector(AttributeTypesSelectorT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
int GetMaxAllowedRuleLevelForMerging() const
int GetMaxAllowedRuleLevelForMatching() const
void SetExportingConfig(ExportingConfigT &&value)
bool ExportingConfigHasBeenSet() const
void SetMaxAllowedRuleLevelForMatching(int value)
void SetAttributeTypesSelector(AttributeTypesSelectorT &&value)
bool AttributeTypesSelectorHasBeenSet() const
RuleBasedMatchingRequest & WithConflictResolution(ConflictResolutionT &&value)
AWS_CUSTOMERPROFILES_API RuleBasedMatchingRequest(Aws::Utils::Json::JsonView jsonValue)
RuleBasedMatchingRequest & WithEnabled(bool value)
void SetConflictResolution(ConflictResolutionT &&value)
void SetEnabled(bool value)
const ConflictResolution & GetConflictResolution() const
const Aws::Vector< MatchingRule > & GetMatchingRules() const
void SetMaxAllowedRuleLevelForMerging(int value)
void SetMatchingRules(MatchingRulesT &&value)
AWS_CUSTOMERPROFILES_API RuleBasedMatchingRequest()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue