/** * 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 Rekognition { namespace Model { /** *

Contains metadata for a UserID matched with a given face.

See * Also:

AWS * API Reference

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

A provided ID for the UserID. Unique within the collection.

*/ inline const Aws::String& GetUserId() const{ return m_userId; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** *

A provided ID for the UserID. Unique within the collection.

*/ inline MatchedUser& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

A provided ID for the UserID. Unique within the collection.

*/ inline MatchedUser& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** *

A provided ID for the UserID. Unique within the collection.

*/ inline MatchedUser& WithUserId(const char* value) { SetUserId(value); return *this;} /** *

The status of the user matched to a provided FaceID.

*/ inline const UserStatus& GetUserStatus() const{ return m_userStatus; } /** *

The status of the user matched to a provided FaceID.

*/ inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; } /** *

The status of the user matched to a provided FaceID.

*/ inline void SetUserStatus(const UserStatus& value) { m_userStatusHasBeenSet = true; m_userStatus = value; } /** *

The status of the user matched to a provided FaceID.

*/ inline void SetUserStatus(UserStatus&& value) { m_userStatusHasBeenSet = true; m_userStatus = std::move(value); } /** *

The status of the user matched to a provided FaceID.

*/ inline MatchedUser& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;} /** *

The status of the user matched to a provided FaceID.

*/ inline MatchedUser& WithUserStatus(UserStatus&& value) { SetUserStatus(std::move(value)); return *this;} private: Aws::String m_userId; bool m_userIdHasBeenSet = false; UserStatus m_userStatus; bool m_userStatusHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws