AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleBasedMatchingResponse.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/model/RuleBasedMatchingStatus.h>
10#include <aws/customer-profiles/model/AttributeTypesSelector.h>
11#include <aws/customer-profiles/model/ConflictResolution.h>
12#include <aws/customer-profiles/model/ExportingConfig.h>
13#include <aws/customer-profiles/model/MatchingRule.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse();
41 AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline bool GetEnabled() const{ return m_enabled; }
52 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
53 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
54 inline RuleBasedMatchingResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
56
58
62 inline const Aws::Vector<MatchingRule>& GetMatchingRules() const{ return m_matchingRules; }
63 inline bool MatchingRulesHasBeenSet() const { return m_matchingRulesHasBeenSet; }
64 inline void SetMatchingRules(const Aws::Vector<MatchingRule>& value) { m_matchingRulesHasBeenSet = true; m_matchingRules = value; }
65 inline void SetMatchingRules(Aws::Vector<MatchingRule>&& value) { m_matchingRulesHasBeenSet = true; m_matchingRules = std::move(value); }
68 inline RuleBasedMatchingResponse& AddMatchingRules(const MatchingRule& value) { m_matchingRulesHasBeenSet = true; m_matchingRules.push_back(value); return *this; }
69 inline RuleBasedMatchingResponse& AddMatchingRules(MatchingRule&& value) { m_matchingRulesHasBeenSet = true; m_matchingRules.push_back(std::move(value)); return *this; }
71
73
84 inline const RuleBasedMatchingStatus& GetStatus() const{ return m_status; }
85 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
86 inline void SetStatus(const RuleBasedMatchingStatus& value) { m_statusHasBeenSet = true; m_status = value; }
87 inline void SetStatus(RuleBasedMatchingStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
88 inline RuleBasedMatchingResponse& WithStatus(const RuleBasedMatchingStatus& value) { SetStatus(value); return *this;}
89 inline RuleBasedMatchingResponse& WithStatus(RuleBasedMatchingStatus&& value) { SetStatus(std::move(value)); return *this;}
91
93
98 inline int GetMaxAllowedRuleLevelForMerging() const{ return m_maxAllowedRuleLevelForMerging; }
99 inline bool MaxAllowedRuleLevelForMergingHasBeenSet() const { return m_maxAllowedRuleLevelForMergingHasBeenSet; }
100 inline void SetMaxAllowedRuleLevelForMerging(int value) { m_maxAllowedRuleLevelForMergingHasBeenSet = true; m_maxAllowedRuleLevelForMerging = value; }
103
105
108 inline int GetMaxAllowedRuleLevelForMatching() const{ return m_maxAllowedRuleLevelForMatching; }
109 inline bool MaxAllowedRuleLevelForMatchingHasBeenSet() const { return m_maxAllowedRuleLevelForMatchingHasBeenSet; }
110 inline void SetMaxAllowedRuleLevelForMatching(int value) { m_maxAllowedRuleLevelForMatchingHasBeenSet = true; m_maxAllowedRuleLevelForMatching = value; }
113
115
119 inline const AttributeTypesSelector& GetAttributeTypesSelector() const{ return m_attributeTypesSelector; }
120 inline bool AttributeTypesSelectorHasBeenSet() const { return m_attributeTypesSelectorHasBeenSet; }
121 inline void SetAttributeTypesSelector(const AttributeTypesSelector& value) { m_attributeTypesSelectorHasBeenSet = true; m_attributeTypesSelector = value; }
122 inline void SetAttributeTypesSelector(AttributeTypesSelector&& value) { m_attributeTypesSelectorHasBeenSet = true; m_attributeTypesSelector = std::move(value); }
126
128
129 inline const ConflictResolution& GetConflictResolution() const{ return m_conflictResolution; }
130 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
131 inline void SetConflictResolution(const ConflictResolution& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = value; }
132 inline void SetConflictResolution(ConflictResolution&& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = std::move(value); }
136
138
139 inline const ExportingConfig& GetExportingConfig() const{ return m_exportingConfig; }
140 inline bool ExportingConfigHasBeenSet() const { return m_exportingConfigHasBeenSet; }
141 inline void SetExportingConfig(const ExportingConfig& value) { m_exportingConfigHasBeenSet = true; m_exportingConfig = value; }
142 inline void SetExportingConfig(ExportingConfig&& value) { m_exportingConfigHasBeenSet = true; m_exportingConfig = std::move(value); }
144 inline RuleBasedMatchingResponse& WithExportingConfig(ExportingConfig&& value) { SetExportingConfig(std::move(value)); return *this;}
146 private:
147
148 bool m_enabled;
149 bool m_enabledHasBeenSet = false;
150
151 Aws::Vector<MatchingRule> m_matchingRules;
152 bool m_matchingRulesHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 int m_maxAllowedRuleLevelForMerging;
158 bool m_maxAllowedRuleLevelForMergingHasBeenSet = false;
159
160 int m_maxAllowedRuleLevelForMatching;
161 bool m_maxAllowedRuleLevelForMatchingHasBeenSet = false;
162
163 AttributeTypesSelector m_attributeTypesSelector;
164 bool m_attributeTypesSelectorHasBeenSet = false;
165
166 ConflictResolution m_conflictResolution;
167 bool m_conflictResolutionHasBeenSet = false;
168
169 ExportingConfig m_exportingConfig;
170 bool m_exportingConfigHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace CustomerProfiles
175} // namespace Aws
RuleBasedMatchingResponse & AddMatchingRules(const MatchingRule &value)
RuleBasedMatchingResponse & WithStatus(RuleBasedMatchingStatus &&value)
void SetMatchingRules(const Aws::Vector< MatchingRule > &value)
void SetMatchingRules(Aws::Vector< MatchingRule > &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
RuleBasedMatchingResponse & WithExportingConfig(const ExportingConfig &value)
RuleBasedMatchingResponse & WithExportingConfig(ExportingConfig &&value)
RuleBasedMatchingResponse & AddMatchingRules(MatchingRule &&value)
const Aws::Vector< MatchingRule > & GetMatchingRules() const
RuleBasedMatchingResponse & WithMatchingRules(const Aws::Vector< MatchingRule > &value)
RuleBasedMatchingResponse & WithMaxAllowedRuleLevelForMatching(int value)
RuleBasedMatchingResponse & WithAttributeTypesSelector(AttributeTypesSelector &&value)
RuleBasedMatchingResponse & WithAttributeTypesSelector(const AttributeTypesSelector &value)
AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API RuleBasedMatchingResponse(Aws::Utils::Json::JsonView jsonValue)
RuleBasedMatchingResponse & WithMaxAllowedRuleLevelForMerging(int value)
RuleBasedMatchingResponse & WithConflictResolution(const ConflictResolution &value)
void SetAttributeTypesSelector(const AttributeTypesSelector &value)
RuleBasedMatchingResponse & WithMatchingRules(Aws::Vector< MatchingRule > &&value)
RuleBasedMatchingResponse & WithConflictResolution(ConflictResolution &&value)
RuleBasedMatchingResponse & WithStatus(const RuleBasedMatchingStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue