AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleBasedProperties.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/model/AttributeMatchingModel.h>
9#include <aws/entityresolution/model/MatchPurpose.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/entityresolution/model/Rule.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace EntityResolution
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_ENTITYRESOLUTION_API RuleBasedProperties();
40 AWS_ENTITYRESOLUTION_API RuleBasedProperties(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ENTITYRESOLUTION_API RuleBasedProperties& operator=(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
75 inline const MatchPurpose& GetMatchPurpose() const{ return m_matchPurpose; }
76 inline bool MatchPurposeHasBeenSet() const { return m_matchPurposeHasBeenSet; }
77 inline void SetMatchPurpose(const MatchPurpose& value) { m_matchPurposeHasBeenSet = true; m_matchPurpose = value; }
78 inline void SetMatchPurpose(MatchPurpose&& value) { m_matchPurposeHasBeenSet = true; m_matchPurpose = std::move(value); }
79 inline RuleBasedProperties& WithMatchPurpose(const MatchPurpose& value) { SetMatchPurpose(value); return *this;}
80 inline RuleBasedProperties& WithMatchPurpose(MatchPurpose&& value) { SetMatchPurpose(std::move(value)); return *this;}
82
84
88 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
89 inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
90 inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
91 inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
92 inline RuleBasedProperties& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
93 inline RuleBasedProperties& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
94 inline RuleBasedProperties& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
95 inline RuleBasedProperties& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
97 private:
98
99 AttributeMatchingModel m_attributeMatchingModel;
100 bool m_attributeMatchingModelHasBeenSet = false;
101
102 MatchPurpose m_matchPurpose;
103 bool m_matchPurposeHasBeenSet = false;
104
105 Aws::Vector<Rule> m_rules;
106 bool m_rulesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace EntityResolution
111} // namespace Aws
RuleBasedProperties & WithAttributeMatchingModel(AttributeMatchingModel &&value)
RuleBasedProperties & WithRules(const Aws::Vector< Rule > &value)
RuleBasedProperties & WithMatchPurpose(MatchPurpose &&value)
RuleBasedProperties & WithRules(Aws::Vector< Rule > &&value)
RuleBasedProperties & WithMatchPurpose(const MatchPurpose &value)
AWS_ENTITYRESOLUTION_API RuleBasedProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const AttributeMatchingModel & GetAttributeMatchingModel() const
void SetAttributeMatchingModel(AttributeMatchingModel &&value)
void SetRules(const Aws::Vector< Rule > &value)
RuleBasedProperties & AddRules(const Rule &value)
RuleBasedProperties & WithAttributeMatchingModel(const AttributeMatchingModel &value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributeMatchingModel(const AttributeMatchingModel &value)
AWS_ENTITYRESOLUTION_API RuleBasedProperties(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue