AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AutoMerging.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/model/Consolidation.h>
9#include <aws/customer-profiles/model/ConflictResolution.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API AutoMerging() = default;
37 AWS_CUSTOMERPROFILES_API AutoMerging(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API AutoMerging& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline bool GetEnabled() const { return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline AutoMerging& WithEnabled(bool value) { SetEnabled(value); return *this;}
51
53
58 inline const Consolidation& GetConsolidation() const { return m_consolidation; }
59 inline bool ConsolidationHasBeenSet() const { return m_consolidationHasBeenSet; }
60 template<typename ConsolidationT = Consolidation>
61 void SetConsolidation(ConsolidationT&& value) { m_consolidationHasBeenSet = true; m_consolidation = std::forward<ConsolidationT>(value); }
62 template<typename ConsolidationT = Consolidation>
63 AutoMerging& WithConsolidation(ConsolidationT&& value) { SetConsolidation(std::forward<ConsolidationT>(value)); return *this;}
65
67
73 inline const ConflictResolution& GetConflictResolution() const { return m_conflictResolution; }
74 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
75 template<typename ConflictResolutionT = ConflictResolution>
76 void SetConflictResolution(ConflictResolutionT&& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = std::forward<ConflictResolutionT>(value); }
77 template<typename ConflictResolutionT = ConflictResolution>
78 AutoMerging& WithConflictResolution(ConflictResolutionT&& value) { SetConflictResolution(std::forward<ConflictResolutionT>(value)); return *this;}
80
82
87 inline double GetMinAllowedConfidenceScoreForMerging() const { return m_minAllowedConfidenceScoreForMerging; }
88 inline bool MinAllowedConfidenceScoreForMergingHasBeenSet() const { return m_minAllowedConfidenceScoreForMergingHasBeenSet; }
89 inline void SetMinAllowedConfidenceScoreForMerging(double value) { m_minAllowedConfidenceScoreForMergingHasBeenSet = true; m_minAllowedConfidenceScoreForMerging = value; }
92 private:
93
94 bool m_enabled{false};
95 bool m_enabledHasBeenSet = false;
96
97 Consolidation m_consolidation;
98 bool m_consolidationHasBeenSet = false;
99
100 ConflictResolution m_conflictResolution;
101 bool m_conflictResolutionHasBeenSet = false;
102
103 double m_minAllowedConfidenceScoreForMerging{0.0};
104 bool m_minAllowedConfidenceScoreForMergingHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CustomerProfiles
109} // namespace Aws
AutoMerging & WithEnabled(bool value)
Definition AutoMerging.h:49
void SetConflictResolution(ConflictResolutionT &&value)
Definition AutoMerging.h:76
AutoMerging & WithConflictResolution(ConflictResolutionT &&value)
Definition AutoMerging.h:78
const ConflictResolution & GetConflictResolution() const
Definition AutoMerging.h:73
const Consolidation & GetConsolidation() const
Definition AutoMerging.h:58
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API AutoMerging()=default
AutoMerging & WithMinAllowedConfidenceScoreForMerging(double value)
Definition AutoMerging.h:90
AWS_CUSTOMERPROFILES_API AutoMerging & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMinAllowedConfidenceScoreForMerging(double value)
Definition AutoMerging.h:89
void SetConsolidation(ConsolidationT &&value)
Definition AutoMerging.h:61
AutoMerging & WithConsolidation(ConsolidationT &&value)
Definition AutoMerging.h:63
AWS_CUSTOMERPROFILES_API AutoMerging(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue