AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
99 inline const ProviderProperties& GetProviderProperties() const { return m_providerProperties; }
100 inline bool ProviderPropertiesHasBeenSet() const { return m_providerPropertiesHasBeenSet; }
101 template <typename ProviderPropertiesT = ProviderProperties>
102 void SetProviderProperties(ProviderPropertiesT&& value) {
103 m_providerPropertiesHasBeenSet = true;
104 m_providerProperties = std::forward<ProviderPropertiesT>(value);
105 }
106 template <typename ProviderPropertiesT = ProviderProperties>
107 ResolutionTechniques& WithProviderProperties(ProviderPropertiesT&& value) {
108 SetProviderProperties(std::forward<ProviderPropertiesT>(value));
109 return *this;
110 }
112 private:
113 ResolutionType m_resolutionType{ResolutionType::NOT_SET};
114
115 RuleBasedProperties m_ruleBasedProperties;
116
117 RuleConditionProperties m_ruleConditionProperties;
118
119 ProviderProperties m_providerProperties;
120 bool m_resolutionTypeHasBeenSet = false;
121 bool m_ruleBasedPropertiesHasBeenSet = false;
122 bool m_ruleConditionPropertiesHasBeenSet = false;
123 bool m_providerPropertiesHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace EntityResolution
128} // 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
Aws::Utils::Json::JsonValue JsonValue