AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NamespaceRuleBasedProperties.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/model/AttributeMatchingModel.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/model/RecordMatchingModel.h>
11#include <aws/entityresolution/model/IdMappingWorkflowRuleDefinitionType.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
38 {
39 public:
40 AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties();
41 AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
61 inline const AttributeMatchingModel& GetAttributeMatchingModel() const{ return m_attributeMatchingModel; }
62 inline bool AttributeMatchingModelHasBeenSet() const { return m_attributeMatchingModelHasBeenSet; }
63 inline void SetAttributeMatchingModel(const AttributeMatchingModel& value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = value; }
64 inline void SetAttributeMatchingModel(AttributeMatchingModel&& value) { m_attributeMatchingModelHasBeenSet = true; m_attributeMatchingModel = std::move(value); }
68
70
77 inline const Aws::Vector<RecordMatchingModel>& GetRecordMatchingModels() const{ return m_recordMatchingModels; }
78 inline bool RecordMatchingModelsHasBeenSet() const { return m_recordMatchingModelsHasBeenSet; }
79 inline void SetRecordMatchingModels(const Aws::Vector<RecordMatchingModel>& value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels = value; }
80 inline void SetRecordMatchingModels(Aws::Vector<RecordMatchingModel>&& value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels = std::move(value); }
83 inline NamespaceRuleBasedProperties& AddRecordMatchingModels(const RecordMatchingModel& value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels.push_back(value); return *this; }
84 inline NamespaceRuleBasedProperties& AddRecordMatchingModels(RecordMatchingModel&& value) { m_recordMatchingModelsHasBeenSet = true; m_recordMatchingModels.push_back(std::move(value)); return *this; }
86
88
92 inline const Aws::Vector<IdMappingWorkflowRuleDefinitionType>& GetRuleDefinitionTypes() const{ return m_ruleDefinitionTypes; }
93 inline bool RuleDefinitionTypesHasBeenSet() const { return m_ruleDefinitionTypesHasBeenSet; }
94 inline void SetRuleDefinitionTypes(const Aws::Vector<IdMappingWorkflowRuleDefinitionType>& value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes = value; }
95 inline void SetRuleDefinitionTypes(Aws::Vector<IdMappingWorkflowRuleDefinitionType>&& value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes = std::move(value); }
98 inline NamespaceRuleBasedProperties& AddRuleDefinitionTypes(const IdMappingWorkflowRuleDefinitionType& value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes.push_back(value); return *this; }
99 inline NamespaceRuleBasedProperties& AddRuleDefinitionTypes(IdMappingWorkflowRuleDefinitionType&& value) { m_ruleDefinitionTypesHasBeenSet = true; m_ruleDefinitionTypes.push_back(std::move(value)); return *this; }
101
103
106 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
107 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
108 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
109 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
110 inline NamespaceRuleBasedProperties& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
111 inline NamespaceRuleBasedProperties& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
112 inline NamespaceRuleBasedProperties& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
113 inline NamespaceRuleBasedProperties& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
115 private:
116
117 AttributeMatchingModel m_attributeMatchingModel;
118 bool m_attributeMatchingModelHasBeenSet = false;
119
120 Aws::Vector<RecordMatchingModel> m_recordMatchingModels;
121 bool m_recordMatchingModelsHasBeenSet = false;
122
124 bool m_ruleDefinitionTypesHasBeenSet = false;
125
126 Aws::Vector<Rule> m_rules;
127 bool m_rulesHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace EntityResolution
132} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
NamespaceRuleBasedProperties & AddRuleDefinitionTypes(IdMappingWorkflowRuleDefinitionType &&value)
const Aws::Vector< IdMappingWorkflowRuleDefinitionType > & GetRuleDefinitionTypes() const
NamespaceRuleBasedProperties & AddRecordMatchingModels(const RecordMatchingModel &value)
NamespaceRuleBasedProperties & WithRuleDefinitionTypes(const Aws::Vector< IdMappingWorkflowRuleDefinitionType > &value)
const Aws::Vector< RecordMatchingModel > & GetRecordMatchingModels() const
NamespaceRuleBasedProperties & WithAttributeMatchingModel(const AttributeMatchingModel &value)
NamespaceRuleBasedProperties & WithRecordMatchingModels(const Aws::Vector< RecordMatchingModel > &value)
AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties(Aws::Utils::Json::JsonView jsonValue)
NamespaceRuleBasedProperties & AddRecordMatchingModels(RecordMatchingModel &&value)
NamespaceRuleBasedProperties & WithRecordMatchingModels(Aws::Vector< RecordMatchingModel > &&value)
NamespaceRuleBasedProperties & WithRules(Aws::Vector< Rule > &&value)
NamespaceRuleBasedProperties & WithRules(const Aws::Vector< Rule > &value)
AWS_ENTITYRESOLUTION_API NamespaceRuleBasedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
NamespaceRuleBasedProperties & WithAttributeMatchingModel(AttributeMatchingModel &&value)
void SetRecordMatchingModels(const Aws::Vector< RecordMatchingModel > &value)
void SetRuleDefinitionTypes(Aws::Vector< IdMappingWorkflowRuleDefinitionType > &&value)
NamespaceRuleBasedProperties & AddRuleDefinitionTypes(const IdMappingWorkflowRuleDefinitionType &value)
void SetRecordMatchingModels(Aws::Vector< RecordMatchingModel > &&value)
void SetRuleDefinitionTypes(const Aws::Vector< IdMappingWorkflowRuleDefinitionType > &value)
NamespaceRuleBasedProperties & WithRuleDefinitionTypes(Aws::Vector< IdMappingWorkflowRuleDefinitionType > &&value)
NamespaceRuleBasedProperties & AddRules(const Rule &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue