/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace CustomerProfiles { namespace Model { /** */ class GetAutoMergingPreviewRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API GetAutoMergingPreviewRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetAutoMergingPreview"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The unique name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline GetAutoMergingPreviewRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline GetAutoMergingPreviewRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline GetAutoMergingPreviewRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

A list of matching attributes that represent matching criteria.

*/ inline const Consolidation& GetConsolidation() const{ return m_consolidation; } /** *

A list of matching attributes that represent matching criteria.

*/ inline bool ConsolidationHasBeenSet() const { return m_consolidationHasBeenSet; } /** *

A list of matching attributes that represent matching criteria.

*/ inline void SetConsolidation(const Consolidation& value) { m_consolidationHasBeenSet = true; m_consolidation = value; } /** *

A list of matching attributes that represent matching criteria.

*/ inline void SetConsolidation(Consolidation&& value) { m_consolidationHasBeenSet = true; m_consolidation = std::move(value); } /** *

A list of matching attributes that represent matching criteria.

*/ inline GetAutoMergingPreviewRequest& WithConsolidation(const Consolidation& value) { SetConsolidation(value); return *this;} /** *

A list of matching attributes that represent matching criteria.

*/ inline GetAutoMergingPreviewRequest& WithConsolidation(Consolidation&& value) { SetConsolidation(std::move(value)); return *this;} /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline const ConflictResolution& GetConflictResolution() const{ return m_conflictResolution; } /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline bool ConflictResolutionHasBeenSet() const { return m_conflictResolutionHasBeenSet; } /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline void SetConflictResolution(const ConflictResolution& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = value; } /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline void SetConflictResolution(ConflictResolution&& value) { m_conflictResolutionHasBeenSet = true; m_conflictResolution = std::move(value); } /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline GetAutoMergingPreviewRequest& WithConflictResolution(const ConflictResolution& value) { SetConflictResolution(value); return *this;} /** *

How the auto-merging process should resolve conflicts between different * profiles.

*/ inline GetAutoMergingPreviewRequest& WithConflictResolution(ConflictResolution&& value) { SetConflictResolution(std::move(value)); return *this;} /** *

Minimum confidence score required for profiles within a matching group to be * merged during the auto-merge process.

*/ inline double GetMinAllowedConfidenceScoreForMerging() const{ return m_minAllowedConfidenceScoreForMerging; } /** *

Minimum confidence score required for profiles within a matching group to be * merged during the auto-merge process.

*/ inline bool MinAllowedConfidenceScoreForMergingHasBeenSet() const { return m_minAllowedConfidenceScoreForMergingHasBeenSet; } /** *

Minimum confidence score required for profiles within a matching group to be * merged during the auto-merge process.

*/ inline void SetMinAllowedConfidenceScoreForMerging(double value) { m_minAllowedConfidenceScoreForMergingHasBeenSet = true; m_minAllowedConfidenceScoreForMerging = value; } /** *

Minimum confidence score required for profiles within a matching group to be * merged during the auto-merge process.

*/ inline GetAutoMergingPreviewRequest& WithMinAllowedConfidenceScoreForMerging(double value) { SetMinAllowedConfidenceScoreForMerging(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Consolidation m_consolidation; bool m_consolidationHasBeenSet = false; ConflictResolution m_conflictResolution; bool m_conflictResolutionHasBeenSet = false; double m_minAllowedConfidenceScoreForMerging; bool m_minAllowedConfidenceScoreForMergingHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws