AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
IdMappingRuleBasedProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9#include <aws/entityresolution/model/AttributeMatchingModel.h>
10#include <aws/entityresolution/model/IdMappingWorkflowRuleDefinitionType.h>
11#include <aws/entityresolution/model/RecordMatchingModel.h>
12#include <aws/entityresolution/model/Rule.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EntityResolution {
24namespace Model {
25
33 public:
34 AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties() = default;
35 AWS_ENTITYRESOLUTION_API IdMappingRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
44 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
45 template <typename RulesT = Aws::Vector<Rule>>
46 void SetRules(RulesT&& value) {
47 m_rulesHasBeenSet = true;
48 m_rules = std::forward<RulesT>(value);
49 }
50 template <typename RulesT = Aws::Vector<Rule>>
52 SetRules(std::forward<RulesT>(value));
53 return *this;
54 }
55 template <typename RulesT = Rule>
57 m_rulesHasBeenSet = true;
58 m_rules.emplace_back(std::forward<RulesT>(value));
59 return *this;
60 }
62
64
69 inline IdMappingWorkflowRuleDefinitionType GetRuleDefinitionType() const { return m_ruleDefinitionType; }
70 inline bool RuleDefinitionTypeHasBeenSet() const { return m_ruleDefinitionTypeHasBeenSet; }
72 m_ruleDefinitionTypeHasBeenSet = true;
73 m_ruleDefinitionType = value;
74 }
77 return *this;
78 }
80
82
96 inline AttributeMatchingModel GetAttributeMatchingModel() const { return m_attributeMatchingModel; }
97 inline bool AttributeMatchingModelHasBeenSet() const { return m_attributeMatchingModelHasBeenSet; }
99 m_attributeMatchingModelHasBeenSet = true;
100 m_attributeMatchingModel = value;
101 }
104 return *this;
105 }
107
109
116 inline RecordMatchingModel GetRecordMatchingModel() const { return m_recordMatchingModel; }
117 inline bool RecordMatchingModelHasBeenSet() const { return m_recordMatchingModelHasBeenSet; }
119 m_recordMatchingModelHasBeenSet = true;
120 m_recordMatchingModel = value;
121 }
124 return *this;
125 }
127 private:
128 Aws::Vector<Rule> m_rules;
129
131
133
135 bool m_rulesHasBeenSet = false;
136 bool m_ruleDefinitionTypeHasBeenSet = false;
137 bool m_attributeMatchingModelHasBeenSet = false;
138 bool m_recordMatchingModelHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace EntityResolution
143} // 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