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>
13#include <aws/customer-profiles/model/RuleBasedMatchingStatus.h>
24namespace CustomerProfiles {
48 m_enabledHasBeenSet =
true;
64 template <
typename MatchingRulesT = Aws::Vector<MatchingRule>>
66 m_matchingRulesHasBeenSet =
true;
67 m_matchingRules = std::forward<MatchingRulesT>(value);
69 template <
typename MatchingRulesT = Aws::Vector<MatchingRule>>
74 template <
typename MatchingRulesT = MatchingRule>
76 m_matchingRulesHasBeenSet =
true;
77 m_matchingRules.emplace_back(std::forward<MatchingRulesT>(value));
97 m_statusHasBeenSet =
true;
115 m_maxAllowedRuleLevelForMergingHasBeenSet =
true;
116 m_maxAllowedRuleLevelForMerging = value;
131 m_maxAllowedRuleLevelForMatchingHasBeenSet =
true;
132 m_maxAllowedRuleLevelForMatching = value;
147 template <
typename AttributeTypesSelectorT = AttributeTypesSelector>
149 m_attributeTypesSelectorHasBeenSet =
true;
150 m_attributeTypesSelector = std::forward<AttributeTypesSelectorT>(value);
152 template <
typename AttributeTypesSelectorT = AttributeTypesSelector>
163 template <
typename ConflictResolutionT = ConflictResolution>
165 m_conflictResolutionHasBeenSet =
true;
166 m_conflictResolution = std::forward<ConflictResolutionT>(value);
168 template <
typename ConflictResolutionT = ConflictResolution>
179 template <
typename ExportingConfigT = ExportingConfig>
181 m_exportingConfigHasBeenSet =
true;
182 m_exportingConfig = std::forward<ExportingConfigT>(value);
184 template <
typename ExportingConfigT = ExportingConfig>
191 bool m_enabled{
false};
197 int m_maxAllowedRuleLevelForMerging{0};
199 int m_maxAllowedRuleLevelForMatching{0};
201 AttributeTypesSelector m_attributeTypesSelector;
203 ConflictResolution m_conflictResolution;
205 ExportingConfig m_exportingConfig;
206 bool m_enabledHasBeenSet =
false;
207 bool m_matchingRulesHasBeenSet =
false;
208 bool m_statusHasBeenSet =
false;
209 bool m_maxAllowedRuleLevelForMergingHasBeenSet =
false;
210 bool m_maxAllowedRuleLevelForMatchingHasBeenSet =
false;
211 bool m_attributeTypesSelectorHasBeenSet =
false;
212 bool m_conflictResolutionHasBeenSet =
false;
213 bool m_exportingConfigHasBeenSet =
false;
void SetMatchingRules(MatchingRulesT &&value)
RuleBasedMatchingResponse & WithConflictResolution(ConflictResolutionT &&value)
RuleBasedMatchingResponse & WithStatus(RuleBasedMatchingStatus value)
bool StatusHasBeenSet() const
const AttributeTypesSelector & GetAttributeTypesSelector() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributeTypesSelectorHasBeenSet() const
bool ExportingConfigHasBeenSet() const
bool MatchingRulesHasBeenSet() const
RuleBasedMatchingResponse & WithEnabled(bool value)
const Aws::Vector< MatchingRule > & GetMatchingRules() const
AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse()=default
RuleBasedMatchingResponse & WithMaxAllowedRuleLevelForMatching(int value)
RuleBasedMatchingResponse & WithMatchingRules(MatchingRulesT &&value)
int GetMaxAllowedRuleLevelForMatching() const
bool EnabledHasBeenSet() const
const ExportingConfig & GetExportingConfig() const
AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleBasedMatchingResponse & WithAttributeTypesSelector(AttributeTypesSelectorT &&value)
void SetMaxAllowedRuleLevelForMerging(int value)
void SetConflictResolution(ConflictResolutionT &&value)
AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse(Aws::Utils::Json::JsonView jsonValue)
const ConflictResolution & GetConflictResolution() const
void SetMaxAllowedRuleLevelForMatching(int value)
void SetStatus(RuleBasedMatchingStatus value)
RuleBasedMatchingResponse & WithMaxAllowedRuleLevelForMerging(int value)
bool ConflictResolutionHasBeenSet() const
RuleBasedMatchingStatus GetStatus() const
bool MaxAllowedRuleLevelForMatchingHasBeenSet() const
int GetMaxAllowedRuleLevelForMerging() const
bool MaxAllowedRuleLevelForMergingHasBeenSet() const
RuleBasedMatchingResponse & WithExportingConfig(ExportingConfigT &&value)
void SetExportingConfig(ExportingConfigT &&value)
void SetEnabled(bool value)
RuleBasedMatchingResponse & AddMatchingRules(MatchingRulesT &&value)
void SetAttributeTypesSelector(AttributeTypesSelectorT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue