AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IdMappingRuleBasedProperties.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/model/IdMappingWorkflowRuleDefinitionType.h>
10#include <aws/entityresolution/model/AttributeMatchingModel.h>
11#include <aws/entityresolution/model/RecordMatchingModel.h>
12#include <aws/entityresolution/model/Rule.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace EntityResolution
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties() = default;
40 AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
50 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
51 template<typename RulesT = Aws::Vector<Rule>>
52 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
53 template<typename RulesT = Aws::Vector<Rule>>
54 IdMappingRuleBasedProperties& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
55 template<typename RulesT = Rule>
56 IdMappingRuleBasedProperties& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
58
60
65 inline IdMappingWorkflowRuleDefinitionType GetRuleDefinitionType() const { return m_ruleDefinitionType; }
66 inline bool RuleDefinitionTypeHasBeenSet() const { return m_ruleDefinitionTypeHasBeenSet; }
67 inline void SetRuleDefinitionType(IdMappingWorkflowRuleDefinitionType value) { m_ruleDefinitionTypeHasBeenSet = true; m_ruleDefinitionType = value; }
70
72
86 inline AttributeMatchingModel GetAttributeMatchingModel() const { return m_attributeMatchingModel; }
87 inline bool AttributeMatchingModelHasBeenSet() const { return m_attributeMatchingModelHasBeenSet; }
88 inline void SetAttributeMatchingModel(AttributeMatchingModel value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = value; }
91
93
100 inline RecordMatchingModel GetRecordMatchingModel() const { return m_recordMatchingModel; }
101 inline bool RecordMatchingModelHasBeenSet() const { return m_recordMatchingModelHasBeenSet; }
102 inline void SetRecordMatchingModel(RecordMatchingModel value) { m_recordMatchingModelHasBeenSet = true; m_recordMatchingModel = value; }
105 private:
106
107 Aws::Vector<Rule> m_rules;
108 bool m_rulesHasBeenSet = false;
109
111 bool m_ruleDefinitionTypeHasBeenSet = false;
112
114 bool m_attributeMatchingModelHasBeenSet = false;
115
117 bool m_recordMatchingModelHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace EntityResolution
122} // namespace Aws
AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue)
IdMappingWorkflowRuleDefinitionType GetRuleDefinitionType() const
IdMappingRuleBasedProperties & WithRecordMatchingModel(RecordMatchingModel value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
IdMappingRuleBasedProperties & WithAttributeMatchingModel(AttributeMatchingModel value)
void SetRuleDefinitionType(IdMappingWorkflowRuleDefinitionType value)
IdMappingRuleBasedProperties & WithRuleDefinitionType(IdMappingWorkflowRuleDefinitionType value)
AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties()=default
AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue