7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.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>
23namespace CustomerProfiles {
46 m_enabledHasBeenSet =
true;
62 template <
typename MatchingRulesT = Aws::Vector<MatchingRule>>
64 m_matchingRulesHasBeenSet =
true;
65 m_matchingRules = std::forward<MatchingRulesT>(value);
67 template <
typename MatchingRulesT = Aws::Vector<MatchingRule>>
72 template <
typename MatchingRulesT = MatchingRule>
74 m_matchingRulesHasBeenSet =
true;
75 m_matchingRules.emplace_back(std::forward<MatchingRulesT>(value));
89 m_maxAllowedRuleLevelForMergingHasBeenSet =
true;
90 m_maxAllowedRuleLevelForMerging = value;
105 m_maxAllowedRuleLevelForMatchingHasBeenSet =
true;
106 m_maxAllowedRuleLevelForMatching = value;
121 template <
typename AttributeTypesSelectorT = AttributeTypesSelector>
123 m_attributeTypesSelectorHasBeenSet =
true;
124 m_attributeTypesSelector = std::forward<AttributeTypesSelectorT>(value);
126 template <
typename AttributeTypesSelectorT = AttributeTypesSelector>
137 template <
typename ConflictResolutionT = ConflictResolution>
139 m_conflictResolutionHasBeenSet =
true;
140 m_conflictResolution = std::forward<ConflictResolutionT>(value);
142 template <
typename ConflictResolutionT = ConflictResolution>
153 template <
typename ExportingConfigT = ExportingConfig>
155 m_exportingConfigHasBeenSet =
true;
156 m_exportingConfig = std::forward<ExportingConfigT>(value);
158 template <
typename ExportingConfigT = ExportingConfig>
165 bool m_enabled{
false};
169 int m_maxAllowedRuleLevelForMerging{0};
171 int m_maxAllowedRuleLevelForMatching{0};
173 AttributeTypesSelector m_attributeTypesSelector;
175 ConflictResolution m_conflictResolution;
177 ExportingConfig m_exportingConfig;
178 bool m_enabledHasBeenSet =
false;
179 bool m_matchingRulesHasBeenSet =
false;
180 bool m_maxAllowedRuleLevelForMergingHasBeenSet =
false;
181 bool m_maxAllowedRuleLevelForMatchingHasBeenSet =
false;
182 bool m_attributeTypesSelectorHasBeenSet =
false;
183 bool m_conflictResolutionHasBeenSet =
false;
184 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