AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetAutoMergingPreviewRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/Consolidation.h>
11#include <aws/customer-profiles/model/ConflictResolution.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CustomerProfiles
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CUSTOMERPROFILES_API GetAutoMergingPreviewRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetAutoMergingPreview"; }
33
34 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDomainName() const { return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 template<typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
45 template<typename DomainNameT = Aws::String>
46 GetAutoMergingPreviewRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
48
50
53 inline const Consolidation& GetConsolidation() const { return m_consolidation; }
54 inline bool ConsolidationHasBeenSet() const { return m_consolidationHasBeenSet; }
55 template<typename ConsolidationT = Consolidation>
56 void SetConsolidation(ConsolidationT&& value) { m_consolidationHasBeenSet = true; m_consolidation = std::forward<ConsolidationT>(value); }
57 template<typename ConsolidationT = Consolidation>
58 GetAutoMergingPreviewRequest& WithConsolidation(ConsolidationT&& value) { SetConsolidation(std::forward<ConsolidationT>(value)); return *this;}
60
62
66 inline const ConflictResolution& GetConflictResolution() const { return m_conflictResolution; }
67 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
68 template<typename ConflictResolutionT = ConflictResolution>
69 void SetConflictResolution(ConflictResolutionT&& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = std::forward<ConflictResolutionT>(value); }
70 template<typename ConflictResolutionT = ConflictResolution>
71 GetAutoMergingPreviewRequest& WithConflictResolution(ConflictResolutionT&& value) { SetConflictResolution(std::forward<ConflictResolutionT>(value)); return *this;}
73
75
79 inline double GetMinAllowedConfidenceScoreForMerging() const { return m_minAllowedConfidenceScoreForMerging; }
80 inline bool MinAllowedConfidenceScoreForMergingHasBeenSet() const { return m_minAllowedConfidenceScoreForMergingHasBeenSet; }
81 inline void SetMinAllowedConfidenceScoreForMerging(double value) { m_minAllowedConfidenceScoreForMergingHasBeenSet = true; m_minAllowedConfidenceScoreForMerging = value; }
84 private:
85
86 Aws::String m_domainName;
87 bool m_domainNameHasBeenSet = false;
88
89 Consolidation m_consolidation;
90 bool m_consolidationHasBeenSet = false;
91
92 ConflictResolution m_conflictResolution;
93 bool m_conflictResolutionHasBeenSet = false;
94
95 double m_minAllowedConfidenceScoreForMerging{0.0};
96 bool m_minAllowedConfidenceScoreForMergingHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CustomerProfiles
101} // namespace Aws
GetAutoMergingPreviewRequest & WithMinAllowedConfidenceScoreForMerging(double value)
GetAutoMergingPreviewRequest & WithConflictResolution(ConflictResolutionT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
GetAutoMergingPreviewRequest & WithConsolidation(ConsolidationT &&value)
AWS_CUSTOMERPROFILES_API GetAutoMergingPreviewRequest()=default
GetAutoMergingPreviewRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String