/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class GetSimilarProfilesResult { public: AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult(); AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

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

Set of profileIds that belong to the same matching group.

*/ inline GetSimilarProfilesResult& AddProfileIds(const char* value) { m_profileIds.push_back(value); return *this; } /** *

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

The string matchId that the similar profiles belong to.

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

Specify the type of matching to get similar profiles for.

*/ inline const MatchType& GetMatchType() const{ return m_matchType; } /** *

Specify the type of matching to get similar profiles for.

*/ inline void SetMatchType(const MatchType& value) { m_matchType = value; } /** *

Specify the type of matching to get similar profiles for.

*/ inline void SetMatchType(MatchType&& value) { m_matchType = std::move(value); } /** *

Specify the type of matching to get similar profiles for.

*/ inline GetSimilarProfilesResult& WithMatchType(const MatchType& value) { SetMatchType(value); return *this;} /** *

Specify the type of matching to get similar profiles for.

*/ inline GetSimilarProfilesResult& WithMatchType(MatchType&& value) { SetMatchType(std::move(value)); return *this;} /** *

The integer rule level that the profiles matched on.

*/ inline int GetRuleLevel() const{ return m_ruleLevel; } /** *

The integer rule level that the profiles matched on.

*/ inline void SetRuleLevel(int value) { m_ruleLevel = value; } /** *

The integer rule level that the profiles matched on.

*/ inline GetSimilarProfilesResult& WithRuleLevel(int value) { SetRuleLevel(value); return *this;} /** *

It only has value when the MatchType is * ML_BASED_MATCHING.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 as an absolute measure of matching quality.

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

It only has value when the MatchType is * ML_BASED_MATCHING.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 as an absolute measure of matching quality.

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

It only has value when the MatchType is * ML_BASED_MATCHING.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 as an absolute measure of matching quality.

*/ inline GetSimilarProfilesResult& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;} /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline GetSimilarProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline GetSimilarProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token from the previous GetSimilarProfiles API * call.

*/ inline GetSimilarProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetSimilarProfilesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetSimilarProfilesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetSimilarProfilesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_profileIds; Aws::String m_matchId; MatchType m_matchType; int m_ruleLevel; double m_confidenceScore; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws