AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NamespaceRuleBasedProperties.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/AttributeMatchingModel.h>
10#include <aws/entityresolution/model/Rule.h>
11#include <aws/entityresolution/model/IdMappingWorkflowRuleDefinitionType.h>
12#include <aws/entityresolution/model/RecordMatchingModel.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
38 {
39 public:
40 AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties() = default;
41 AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
51 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
52 template<typename RulesT = Aws::Vector<Rule>>
53 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
54 template<typename RulesT = Aws::Vector<Rule>>
55 NamespaceRuleBasedProperties& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
56 template<typename RulesT = Rule>
57 NamespaceRuleBasedProperties& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
59
61
65 inline const Aws::Vector<IdMappingWorkflowRuleDefinitionType>& GetRuleDefinitionTypes() const { return m_ruleDefinitionTypes; }
66 inline bool RuleDefinitionTypesHasBeenSet() const { return m_ruleDefinitionTypesHasBeenSet; }
67 template<typename RuleDefinitionTypesT = Aws::Vector<IdMappingWorkflowRuleDefinitionType>>
68 void SetRuleDefinitionTypes(RuleDefinitionTypesT&& value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes = std::forward<RuleDefinitionTypesT>(value); }
69 template<typename RuleDefinitionTypesT = Aws::Vector<IdMappingWorkflowRuleDefinitionType>>
70 NamespaceRuleBasedProperties& WithRuleDefinitionTypes(RuleDefinitionTypesT&& value) { SetRuleDefinitionTypes(std::forward<RuleDefinitionTypesT>(value)); return *this;}
71 inline NamespaceRuleBasedProperties& AddRuleDefinitionTypes(IdMappingWorkflowRuleDefinitionType value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes.push_back(value); return *this; }
73
75
89 inline AttributeMatchingModel GetAttributeMatchingModel() const { return m_attributeMatchingModel; }
90 inline bool AttributeMatchingModelHasBeenSet() const { return m_attributeMatchingModelHasBeenSet; }
91 inline void SetAttributeMatchingModel(AttributeMatchingModel value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = value; }
94
96
103 inline const Aws::Vector<RecordMatchingModel>& GetRecordMatchingModels() const { return m_recordMatchingModels; }
104 inline bool RecordMatchingModelsHasBeenSet() const { return m_recordMatchingModelsHasBeenSet; }
105 template<typename RecordMatchingModelsT = Aws::Vector<RecordMatchingModel>>
106 void SetRecordMatchingModels(RecordMatchingModelsT&& value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels = std::forward<RecordMatchingModelsT>(value); }
107 template<typename RecordMatchingModelsT = Aws::Vector<RecordMatchingModel>>
108 NamespaceRuleBasedProperties& WithRecordMatchingModels(RecordMatchingModelsT&& value) { SetRecordMatchingModels(std::forward<RecordMatchingModelsT>(value)); return *this;}
109 inline NamespaceRuleBasedProperties& AddRecordMatchingModels(RecordMatchingModel value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels.push_back(value); return *this; }
111 private:
112
113 Aws::Vector<Rule> m_rules;
114 bool m_rulesHasBeenSet = false;
115
117 bool m_ruleDefinitionTypesHasBeenSet = false;
118
120 bool m_attributeMatchingModelHasBeenSet = false;
121
122 Aws::Vector<RecordMatchingModel> m_recordMatchingModels;
123 bool m_recordMatchingModelsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace EntityResolution
128} // namespace Aws
NamespaceRuleBasedProperties & AddRecordMatchingModels(RecordMatchingModel value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< IdMappingWorkflowRuleDefinitionType > & GetRuleDefinitionTypes() const
NamespaceRuleBasedProperties & WithRecordMatchingModels(RecordMatchingModelsT &&value)
NamespaceRuleBasedProperties & AddRuleDefinitionTypes(IdMappingWorkflowRuleDefinitionType value)
const Aws::Vector< RecordMatchingModel > & GetRecordMatchingModels() const
AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties()=default
AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
NamespaceRuleBasedProperties & WithRuleDefinitionTypes(RuleDefinitionTypesT &&value)
NamespaceRuleBasedProperties & WithAttributeMatchingModel(AttributeMatchingModel value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue