AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdMappingRuleBasedProperties.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/model/AttributeMatchingModel.h>
9#include <aws/entityresolution/model/RecordMatchingModel.h>
10#include <aws/entityresolution/model/IdMappingWorkflowRuleDefinitionType.h>
11#include <aws/core/utils/memory/stl/AWSVector.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();
40 AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
60 inline const AttributeMatchingModel& GetAttributeMatchingModel() const{ return m_attributeMatchingModel; }
61 inline bool AttributeMatchingModelHasBeenSet() const { return m_attributeMatchingModelHasBeenSet; }
62 inline void SetAttributeMatchingModel(const AttributeMatchingModel& value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = value; }
63 inline void SetAttributeMatchingModel(AttributeMatchingModel&& value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = std::move(value); }
67
69
76 inline const RecordMatchingModel& GetRecordMatchingModel() const{ return m_recordMatchingModel; }
77 inline bool RecordMatchingModelHasBeenSet() const { return m_recordMatchingModelHasBeenSet; }
78 inline void SetRecordMatchingModel(const RecordMatchingModel& value) { m_recordMatchingModelHasBeenSet = true; m_recordMatchingModel = value; }
79 inline void SetRecordMatchingModel(RecordMatchingModel&& value) { m_recordMatchingModelHasBeenSet = true; m_recordMatchingModel = std::move(value); }
83
85
90 inline const IdMappingWorkflowRuleDefinitionType& GetRuleDefinitionType() const{ return m_ruleDefinitionType; }
91 inline bool RuleDefinitionTypeHasBeenSet() const { return m_ruleDefinitionTypeHasBeenSet; }
92 inline void SetRuleDefinitionType(const IdMappingWorkflowRuleDefinitionType& value) { m_ruleDefinitionTypeHasBeenSet = true; m_ruleDefinitionType = value; }
93 inline void SetRuleDefinitionType(IdMappingWorkflowRuleDefinitionType&& value) { m_ruleDefinitionTypeHasBeenSet = true; m_ruleDefinitionType = std::move(value); }
97
99
102 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
103 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
104 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
105 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
106 inline IdMappingRuleBasedProperties& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
107 inline IdMappingRuleBasedProperties& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
108 inline IdMappingRuleBasedProperties& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
109 inline IdMappingRuleBasedProperties& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
111 private:
112
113 AttributeMatchingModel m_attributeMatchingModel;
114 bool m_attributeMatchingModelHasBeenSet = false;
115
116 RecordMatchingModel m_recordMatchingModel;
117 bool m_recordMatchingModelHasBeenSet = false;
118
119 IdMappingWorkflowRuleDefinitionType m_ruleDefinitionType;
120 bool m_ruleDefinitionTypeHasBeenSet = false;
121
122 Aws::Vector<Rule> m_rules;
123 bool m_rulesHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace EntityResolution
128} // namespace Aws
IdMappingRuleBasedProperties & AddRules(const Rule &value)
AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue)
void SetRuleDefinitionType(IdMappingWorkflowRuleDefinitionType &&value)
void SetRuleDefinitionType(const IdMappingWorkflowRuleDefinitionType &value)
IdMappingRuleBasedProperties & WithRecordMatchingModel(const RecordMatchingModel &value)
IdMappingRuleBasedProperties & WithRecordMatchingModel(RecordMatchingModel &&value)
IdMappingRuleBasedProperties & WithRuleDefinitionType(IdMappingWorkflowRuleDefinitionType &&value)
IdMappingRuleBasedProperties & WithRules(Aws::Vector< Rule > &&value)
IdMappingRuleBasedProperties & WithAttributeMatchingModel(AttributeMatchingModel &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
IdMappingRuleBasedProperties & WithAttributeMatchingModel(const AttributeMatchingModel &value)
IdMappingRuleBasedProperties & WithRules(const Aws::Vector< Rule > &value)
IdMappingRuleBasedProperties & WithRuleDefinitionType(const IdMappingWorkflowRuleDefinitionType &value)
const IdMappingWorkflowRuleDefinitionType & GetRuleDefinitionType() const
AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue