AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetAutoMergingPreviewRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/ConflictResolution.h>
11#include <aws/customer-profiles/model/Consolidation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CustomerProfiles {
17namespace Model {
18
22 public:
23 AWS_CUSTOMERPROFILES_API GetAutoMergingPreviewRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GetAutoMergingPreview"; }
30
31 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainName() const { return m_domainName; }
38 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
55 inline const Consolidation& GetConsolidation() const { return m_consolidation; }
56 inline bool ConsolidationHasBeenSet() const { return m_consolidationHasBeenSet; }
57 template <typename ConsolidationT = Consolidation>
58 void SetConsolidation(ConsolidationT&& value) {
59 m_consolidationHasBeenSet = true;
60 m_consolidation = std::forward<ConsolidationT>(value);
61 }
62 template <typename ConsolidationT = Consolidation>
64 SetConsolidation(std::forward<ConsolidationT>(value));
65 return *this;
66 }
68
70
74 inline const ConflictResolution& GetConflictResolution() const { return m_conflictResolution; }
75 inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; }
76 template <typename ConflictResolutionT = ConflictResolution>
77 void SetConflictResolution(ConflictResolutionT&& value) {
78 m_conflictResolutionHasBeenSet = true;
79 m_conflictResolution = std::forward<ConflictResolutionT>(value);
80 }
81 template <typename ConflictResolutionT = ConflictResolution>
83 SetConflictResolution(std::forward<ConflictResolutionT>(value));
84 return *this;
85 }
87
89
93 inline double GetMinAllowedConfidenceScoreForMerging() const { return m_minAllowedConfidenceScoreForMerging; }
94 inline bool MinAllowedConfidenceScoreForMergingHasBeenSet() const { return m_minAllowedConfidenceScoreForMergingHasBeenSet; }
95 inline void SetMinAllowedConfidenceScoreForMerging(double value) {
96 m_minAllowedConfidenceScoreForMergingHasBeenSet = true;
97 m_minAllowedConfidenceScoreForMerging = value;
98 }
101 return *this;
102 }
104 private:
105 Aws::String m_domainName;
106
107 Consolidation m_consolidation;
108
109 ConflictResolution m_conflictResolution;
110
111 double m_minAllowedConfidenceScoreForMerging{0.0};
112 bool m_domainNameHasBeenSet = false;
113 bool m_consolidationHasBeenSet = false;
114 bool m_conflictResolutionHasBeenSet = false;
115 bool m_minAllowedConfidenceScoreForMergingHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace CustomerProfiles
120} // 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