AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
ResolutionTechniques.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/model/ProviderProperties.h>
9#include <aws/entityresolution/model/ResolutionType.h>
10#include <aws/entityresolution/model/RuleBasedProperties.h>
11#include <aws/entityresolution/model/RuleConditionProperties.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EntityResolution {
23namespace Model {
24
32 public:
33 AWS_ENTITYRESOLUTION_API ResolutionTechniques() = default;
34 AWS_ENTITYRESOLUTION_API ResolutionTechniques(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENTITYRESOLUTION_API ResolutionTechniques& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline ResolutionType GetResolutionType() const { return m_resolutionType; }
47 inline bool ResolutionTypeHasBeenSet() const { return m_resolutionTypeHasBeenSet; }
48 inline void SetResolutionType(ResolutionType value) {
49 m_resolutionTypeHasBeenSet = true;
50 m_resolutionType = value;
51 }
53 SetResolutionType(value);
54 return *this;
55 }
57
59
63 inline const RuleBasedProperties& GetRuleBasedProperties() const { return m_ruleBasedProperties; }
64 inline bool RuleBasedPropertiesHasBeenSet() const { return m_ruleBasedPropertiesHasBeenSet; }
65 template <typename RuleBasedPropertiesT = RuleBasedProperties>
66 void SetRuleBasedProperties(RuleBasedPropertiesT&& value) {
67 m_ruleBasedPropertiesHasBeenSet = true;
68 m_ruleBasedProperties = std::forward<RuleBasedPropertiesT>(value);
69 }
70 template <typename RuleBasedPropertiesT = RuleBasedProperties>
71 ResolutionTechniques& WithRuleBasedProperties(RuleBasedPropertiesT&& value) {
72 SetRuleBasedProperties(std::forward<RuleBasedPropertiesT>(value));
73 return *this;
74 }
76
78
81 inline const RuleConditionProperties& GetRuleConditionProperties() const { return m_ruleConditionProperties; }
82 inline bool RuleConditionPropertiesHasBeenSet() const { return m_ruleConditionPropertiesHasBeenSet; }
83 template <typename RuleConditionPropertiesT = RuleConditionProperties>
84 void SetRuleConditionProperties(RuleConditionPropertiesT&& value) {
85 m_ruleConditionPropertiesHasBeenSet = true;
86 m_ruleConditionProperties = std::forward<RuleConditionPropertiesT>(value);
87 }
88 template <typename RuleConditionPropertiesT = RuleConditionProperties>
89 ResolutionTechniques& WithRuleConditionProperties(RuleConditionPropertiesT&& value) {
90 SetRuleConditionProperties(std::forward<RuleConditionPropertiesT>(value));
91 return *this;
92 }
94
96
101 inline bool GetEnableRealTimeMatching() const { return m_enableRealTimeMatching; }
102 inline bool EnableRealTimeMatchingHasBeenSet() const { return m_enableRealTimeMatchingHasBeenSet; }
103 inline void SetEnableRealTimeMatching(bool value) {
104 m_enableRealTimeMatchingHasBeenSet = true;
105 m_enableRealTimeMatching = value;
106 }
109 return *this;
110 }
112
114
117 inline const ProviderProperties& GetProviderProperties() const { return m_providerProperties; }
118 inline bool ProviderPropertiesHasBeenSet() const { return m_providerPropertiesHasBeenSet; }
119 template <typename ProviderPropertiesT = ProviderProperties>
120 void SetProviderProperties(ProviderPropertiesT&& value) {
121 m_providerPropertiesHasBeenSet = true;
122 m_providerProperties = std::forward<ProviderPropertiesT>(value);
123 }
124 template <typename ProviderPropertiesT = ProviderProperties>
125 ResolutionTechniques& WithProviderProperties(ProviderPropertiesT&& value) {
126 SetProviderProperties(std::forward<ProviderPropertiesT>(value));
127 return *this;
128 }
130 private:
131 ResolutionType m_resolutionType{ResolutionType::NOT_SET};
132
133 RuleBasedProperties m_ruleBasedProperties;
134
135 RuleConditionProperties m_ruleConditionProperties;
136
137 bool m_enableRealTimeMatching{false};
138
139 ProviderProperties m_providerProperties;
140 bool m_resolutionTypeHasBeenSet = false;
141 bool m_ruleBasedPropertiesHasBeenSet = false;
142 bool m_ruleConditionPropertiesHasBeenSet = false;
143 bool m_enableRealTimeMatchingHasBeenSet = false;
144 bool m_providerPropertiesHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace EntityResolution
149} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
const RuleConditionProperties & GetRuleConditionProperties() const
void SetProviderProperties(ProviderPropertiesT &&value)
void SetRuleBasedProperties(RuleBasedPropertiesT &&value)
ResolutionTechniques & WithRuleConditionProperties(RuleConditionPropertiesT &&value)
const ProviderProperties & GetProviderProperties() const
ResolutionTechniques & WithRuleBasedProperties(RuleBasedPropertiesT &&value)
const RuleBasedProperties & GetRuleBasedProperties() const
ResolutionTechniques & WithResolutionType(ResolutionType value)
ResolutionTechniques & WithProviderProperties(ProviderPropertiesT &&value)
void SetRuleConditionProperties(RuleConditionPropertiesT &&value)
AWS_ENTITYRESOLUTION_API ResolutionTechniques & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API ResolutionTechniques(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API ResolutionTechniques()=default
ResolutionTechniques & WithEnableRealTimeMatching(bool value)
Aws::Utils::Json::JsonValue JsonValue