/** * 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 matching criteria to be used during the auto-merging process. *

See Also:

AWS * API Reference

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

A list of matching criteria.

*/ inline const Aws::Vector>& GetMatchingAttributesList() const{ return m_matchingAttributesList; } /** *

A list of matching criteria.

*/ inline bool MatchingAttributesListHasBeenSet() const { return m_matchingAttributesListHasBeenSet; } /** *

A list of matching criteria.

*/ inline void SetMatchingAttributesList(const Aws::Vector>& value) { m_matchingAttributesListHasBeenSet = true; m_matchingAttributesList = value; } /** *

A list of matching criteria.

*/ inline void SetMatchingAttributesList(Aws::Vector>&& value) { m_matchingAttributesListHasBeenSet = true; m_matchingAttributesList = std::move(value); } /** *

A list of matching criteria.

*/ inline Consolidation& WithMatchingAttributesList(const Aws::Vector>& value) { SetMatchingAttributesList(value); return *this;} /** *

A list of matching criteria.

*/ inline Consolidation& WithMatchingAttributesList(Aws::Vector>&& value) { SetMatchingAttributesList(std::move(value)); return *this;} /** *

A list of matching criteria.

*/ inline Consolidation& AddMatchingAttributesList(const Aws::Vector& value) { m_matchingAttributesListHasBeenSet = true; m_matchingAttributesList.push_back(value); return *this; } /** *

A list of matching criteria.

*/ inline Consolidation& AddMatchingAttributesList(Aws::Vector&& value) { m_matchingAttributesListHasBeenSet = true; m_matchingAttributesList.push_back(std::move(value)); return *this; } private: Aws::Vector> m_matchingAttributesList; bool m_matchingAttributesListHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws