AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
IdMappingTechniques.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/model/IdMappingRuleBasedProperties.h>
9#include <aws/entityresolution/model/IdMappingType.h>
10#include <aws/entityresolution/model/ProviderProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EntityResolution {
22namespace Model {
23
31 public:
32 AWS_ENTITYRESOLUTION_API IdMappingTechniques() = default;
33 AWS_ENTITYRESOLUTION_API IdMappingTechniques(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API IdMappingTechniques& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline IdMappingType GetIdMappingType() const { return m_idMappingType; }
42 inline bool IdMappingTypeHasBeenSet() const { return m_idMappingTypeHasBeenSet; }
43 inline void SetIdMappingType(IdMappingType value) {
44 m_idMappingTypeHasBeenSet = true;
45 m_idMappingType = value;
46 }
48 SetIdMappingType(value);
49 return *this;
50 }
52
54
58 inline const IdMappingRuleBasedProperties& GetRuleBasedProperties() const { return m_ruleBasedProperties; }
59 inline bool RuleBasedPropertiesHasBeenSet() const { return m_ruleBasedPropertiesHasBeenSet; }
60 template <typename RuleBasedPropertiesT = IdMappingRuleBasedProperties>
61 void SetRuleBasedProperties(RuleBasedPropertiesT&& value) {
62 m_ruleBasedPropertiesHasBeenSet = true;
63 m_ruleBasedProperties = std::forward<RuleBasedPropertiesT>(value);
64 }
65 template <typename RuleBasedPropertiesT = IdMappingRuleBasedProperties>
66 IdMappingTechniques& WithRuleBasedProperties(RuleBasedPropertiesT&& value) {
67 SetRuleBasedProperties(std::forward<RuleBasedPropertiesT>(value));
68 return *this;
69 }
71
73
77 inline const ProviderProperties& GetProviderProperties() const { return m_providerProperties; }
78 inline bool ProviderPropertiesHasBeenSet() const { return m_providerPropertiesHasBeenSet; }
79 template <typename ProviderPropertiesT = ProviderProperties>
80 void SetProviderProperties(ProviderPropertiesT&& value) {
81 m_providerPropertiesHasBeenSet = true;
82 m_providerProperties = std::forward<ProviderPropertiesT>(value);
83 }
84 template <typename ProviderPropertiesT = ProviderProperties>
85 IdMappingTechniques& WithProviderProperties(ProviderPropertiesT&& value) {
86 SetProviderProperties(std::forward<ProviderPropertiesT>(value));
87 return *this;
88 }
90 private:
92
93 IdMappingRuleBasedProperties m_ruleBasedProperties;
94
95 ProviderProperties m_providerProperties;
96 bool m_idMappingTypeHasBeenSet = false;
97 bool m_ruleBasedPropertiesHasBeenSet = false;
98 bool m_providerPropertiesHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace EntityResolution
103} // namespace Aws
const IdMappingRuleBasedProperties & GetRuleBasedProperties() const
IdMappingTechniques & WithIdMappingType(IdMappingType value)
IdMappingTechniques & WithRuleBasedProperties(RuleBasedPropertiesT &&value)
void SetProviderProperties(ProviderPropertiesT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API IdMappingTechniques & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleBasedProperties(RuleBasedPropertiesT &&value)
AWS_ENTITYRESOLUTION_API IdMappingTechniques(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API IdMappingTechniques()=default
const ProviderProperties & GetProviderProperties() const
IdMappingTechniques & WithProviderProperties(ProviderPropertiesT &&value)
Aws::Utils::Json::JsonValue JsonValue