/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class GetMatchesResult { public: AWS_CUSTOMERPROFILES_API GetMatchesResult(); AWS_CUSTOMERPROFILES_API GetMatchesResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API GetMatchesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

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

If there are additional results, this is the token for the next set of * results.

*/ inline GetMatchesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The timestamp this version of Match Result generated.

*/ inline const Aws::Utils::DateTime& GetMatchGenerationDate() const{ return m_matchGenerationDate; } /** *

The timestamp this version of Match Result generated.

*/ inline void SetMatchGenerationDate(const Aws::Utils::DateTime& value) { m_matchGenerationDate = value; } /** *

The timestamp this version of Match Result generated.

*/ inline void SetMatchGenerationDate(Aws::Utils::DateTime&& value) { m_matchGenerationDate = std::move(value); } /** *

The timestamp this version of Match Result generated.

*/ inline GetMatchesResult& WithMatchGenerationDate(const Aws::Utils::DateTime& value) { SetMatchGenerationDate(value); return *this;} /** *

The timestamp this version of Match Result generated.

*/ inline GetMatchesResult& WithMatchGenerationDate(Aws::Utils::DateTime&& value) { SetMatchGenerationDate(std::move(value)); return *this;} /** *

The number of potential matches found.

*/ inline int GetPotentialMatches() const{ return m_potentialMatches; } /** *

The number of potential matches found.

*/ inline void SetPotentialMatches(int value) { m_potentialMatches = value; } /** *

The number of potential matches found.

*/ inline GetMatchesResult& WithPotentialMatches(int value) { SetPotentialMatches(value); return *this;} /** *

The list of matched profiles for this instance.

*/ inline const Aws::Vector& GetMatches() const{ return m_matches; } /** *

The list of matched profiles for this instance.

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

The list of matched profiles for this instance.

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

The list of matched profiles for this instance.

*/ inline GetMatchesResult& WithMatches(const Aws::Vector& value) { SetMatches(value); return *this;} /** *

The list of matched profiles for this instance.

*/ inline GetMatchesResult& WithMatches(Aws::Vector&& value) { SetMatches(std::move(value)); return *this;} /** *

The list of matched profiles for this instance.

*/ inline GetMatchesResult& AddMatches(const MatchItem& value) { m_matches.push_back(value); return *this; } /** *

The list of matched profiles for this instance.

*/ inline GetMatchesResult& AddMatches(MatchItem&& value) { m_matches.push_back(std::move(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 GetMatchesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMatchesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMatchesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Utils::DateTime m_matchGenerationDate; int m_potentialMatches; Aws::Vector m_matches; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws