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

The users that belong to a group.

See Also:

AWS * API Reference

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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

The identifier of the user you want to map to a group.

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