/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The users that belong to a group.See Also:
AWS
* API Reference
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