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

Contains metadata about a User searched for within a * collection.

See Also:

AWS * API Reference

*/ class SearchedUser { public: AWS_REKOGNITION_API SearchedUser(); AWS_REKOGNITION_API SearchedUser(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API SearchedUser& 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 SearchedUser& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** *

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

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

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

*/ inline SearchedUser& WithUserId(const char* value) { SetUserId(value); return *this;} private: Aws::String m_userId; bool m_userIdHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws