AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConsolidation(const Consolidation& value) { m_consolidationHasBeenSet = true; m_consolidation = value; }
61 inline void SetConsolidation(Consolidation&& value) { m_consolidationHasBeenSet = true; m_consolidation = std::move(value); }
62 inline AutoMerging& WithConsolidation(const Consolidation& value) { SetConsolidation(value); return *this;}
63 inline AutoMerging& WithConsolidation(Consolidation&& value) { SetConsolidation(std::move(value)); return *this;}
65
67
73 inline const ConflictResolution& GetConflictResolution() const{ return m_conflictResolution; }
74 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
75 inline void SetConflictResolution(const ConflictResolution& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = value; }
76 inline void SetConflictResolution(ConflictResolution&& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = std::move(value); }
77 inline AutoMerging& WithConflictResolution(const ConflictResolution& value) { SetConflictResolution(value); return *this;}
78 inline AutoMerging& WithConflictResolution(ConflictResolution&& value) { SetConflictResolution(std::move(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;
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;
104 bool m_minAllowedConfidenceScoreForMergingHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CustomerProfiles
109} // namespace Aws
AutoMerging & WithEnabled(bool value)
Definition AutoMerging.h:49
const ConflictResolution & GetConflictResolution() const
Definition AutoMerging.h:73
AutoMerging & WithConflictResolution(ConflictResolution &&value)
Definition AutoMerging.h:78
const Consolidation & GetConsolidation() const
Definition AutoMerging.h:58
AutoMerging & WithConsolidation(const Consolidation &value)
Definition AutoMerging.h:62
AutoMerging & WithConflictResolution(const ConflictResolution &value)
Definition AutoMerging.h:77
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AutoMerging & WithMinAllowedConfidenceScoreForMerging(double value)
Definition AutoMerging.h:90
AWS_CUSTOMERPROFILES_API AutoMerging & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API AutoMerging()
void SetConflictResolution(ConflictResolution &&value)
Definition AutoMerging.h:76
void SetMinAllowedConfidenceScoreForMerging(double value)
Definition AutoMerging.h:89
void SetConsolidation(const Consolidation &value)
Definition AutoMerging.h:60
AutoMerging & WithConsolidation(Consolidation &&value)
Definition AutoMerging.h:63
void SetConflictResolution(const ConflictResolution &value)
Definition AutoMerging.h:75
void SetConsolidation(Consolidation &&value)
Definition AutoMerging.h:61
AWS_CUSTOMERPROFILES_API AutoMerging(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue