/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

The Match group object.

See Also:

AWS * API Reference

*/ class MatchItem { public: AWS_CUSTOMERPROFILES_API MatchItem(); AWS_CUSTOMERPROFILES_API MatchItem(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API MatchItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifiers for this group of profiles that match.

*/ inline const Aws::String& GetMatchId() const{ return m_matchId; } /** *

The unique identifiers for this group of profiles that match.

*/ inline bool MatchIdHasBeenSet() const { return m_matchIdHasBeenSet; } /** *

The unique identifiers for this group of profiles that match.

*/ inline void SetMatchId(const Aws::String& value) { m_matchIdHasBeenSet = true; m_matchId = value; } /** *

The unique identifiers for this group of profiles that match.

*/ inline void SetMatchId(Aws::String&& value) { m_matchIdHasBeenSet = true; m_matchId = std::move(value); } /** *

The unique identifiers for this group of profiles that match.

*/ inline void SetMatchId(const char* value) { m_matchIdHasBeenSet = true; m_matchId.assign(value); } /** *

The unique identifiers for this group of profiles that match.

*/ inline MatchItem& WithMatchId(const Aws::String& value) { SetMatchId(value); return *this;} /** *

The unique identifiers for this group of profiles that match.

*/ inline MatchItem& WithMatchId(Aws::String&& value) { SetMatchId(std::move(value)); return *this;} /** *

The unique identifiers for this group of profiles that match.

*/ inline MatchItem& WithMatchId(const char* value) { SetMatchId(value); return *this;} /** *

A list of identifiers for profiles that match.

*/ inline const Aws::Vector& GetProfileIds() const{ return m_profileIds; } /** *

A list of identifiers for profiles that match.

*/ inline bool ProfileIdsHasBeenSet() const { return m_profileIdsHasBeenSet; } /** *

A list of identifiers for profiles that match.

*/ inline void SetProfileIds(const Aws::Vector& value) { m_profileIdsHasBeenSet = true; m_profileIds = value; } /** *

A list of identifiers for profiles that match.

*/ inline void SetProfileIds(Aws::Vector&& value) { m_profileIdsHasBeenSet = true; m_profileIds = std::move(value); } /** *

A list of identifiers for profiles that match.

*/ inline MatchItem& WithProfileIds(const Aws::Vector& value) { SetProfileIds(value); return *this;} /** *

A list of identifiers for profiles that match.

*/ inline MatchItem& WithProfileIds(Aws::Vector&& value) { SetProfileIds(std::move(value)); return *this;} /** *

A list of identifiers for profiles that match.

*/ inline MatchItem& AddProfileIds(const Aws::String& value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(value); return *this; } /** *

A list of identifiers for profiles that match.

*/ inline MatchItem& AddProfileIds(Aws::String&& value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(std::move(value)); return *this; } /** *

A list of identifiers for profiles that match.

*/ inline MatchItem& AddProfileIds(const char* value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(value); return *this; } /** *

A number between 0 and 1, where a higher score means higher similarity. * Examining match confidence scores lets you distinguish between groups of similar * records in which the system is highly confident (which you may decide to merge), * groups of similar records about which the system is uncertain (which you may * decide to have reviewed by a human), and groups of similar records that the * system deems to be unlikely (which you may decide to reject). Given confidence * scores vary as per the data input, it should not be used an absolute measure of * matching quality.

*/ inline double GetConfidenceScore() const{ return m_confidenceScore; } /** *

A number between 0 and 1, where a higher score means higher similarity. * Examining match confidence scores lets you distinguish between groups of similar * records in which the system is highly confident (which you may decide to merge), * groups of similar records about which the system is uncertain (which you may * decide to have reviewed by a human), and groups of similar records that the * system deems to be unlikely (which you may decide to reject). Given confidence * scores vary as per the data input, it should not be used an absolute measure of * matching quality.

*/ inline bool ConfidenceScoreHasBeenSet() const { return m_confidenceScoreHasBeenSet; } /** *

A number between 0 and 1, where a higher score means higher similarity. * Examining match confidence scores lets you distinguish between groups of similar * records in which the system is highly confident (which you may decide to merge), * groups of similar records about which the system is uncertain (which you may * decide to have reviewed by a human), and groups of similar records that the * system deems to be unlikely (which you may decide to reject). Given confidence * scores vary as per the data input, it should not be used an absolute measure of * matching quality.

*/ inline void SetConfidenceScore(double value) { m_confidenceScoreHasBeenSet = true; m_confidenceScore = value; } /** *

A number between 0 and 1, where a higher score means higher similarity. * Examining match confidence scores lets you distinguish between groups of similar * records in which the system is highly confident (which you may decide to merge), * groups of similar records about which the system is uncertain (which you may * decide to have reviewed by a human), and groups of similar records that the * system deems to be unlikely (which you may decide to reject). Given confidence * scores vary as per the data input, it should not be used an absolute measure of * matching quality.

*/ inline MatchItem& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;} private: Aws::String m_matchId; bool m_matchIdHasBeenSet = false; Aws::Vector m_profileIds; bool m_profileIdsHasBeenSet = false; double m_confidenceScore; bool m_confidenceScoreHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws