/** * 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 { /** *

Information about the user entity.

See Also:

AWS * API Reference

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

The name of the user.

*/ inline const Aws::String& GetUserName() const{ return m_userName; } /** *

The name of the user.

*/ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *

The name of the user.

*/ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *

The name of the user.

*/ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *

The name of the user.

*/ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *

The name of the user.

*/ inline EntityDisplayData& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

The name of the user.

*/ inline EntityDisplayData& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

The name of the user.

*/ inline EntityDisplayData& WithUserName(const char* value) { SetUserName(value); return *this;} /** *

The name of the group.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The name of the group.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The name of the group.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The name of the group.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The name of the group.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The name of the group.

*/ inline EntityDisplayData& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The name of the group.

*/ inline EntityDisplayData& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The name of the group.

*/ inline EntityDisplayData& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The user name of the user.

*/ inline const Aws::String& GetIdentifiedUserName() const{ return m_identifiedUserName; } /** *

The user name of the user.

*/ inline bool IdentifiedUserNameHasBeenSet() const { return m_identifiedUserNameHasBeenSet; } /** *

The user name of the user.

*/ inline void SetIdentifiedUserName(const Aws::String& value) { m_identifiedUserNameHasBeenSet = true; m_identifiedUserName = value; } /** *

The user name of the user.

*/ inline void SetIdentifiedUserName(Aws::String&& value) { m_identifiedUserNameHasBeenSet = true; m_identifiedUserName = std::move(value); } /** *

The user name of the user.

*/ inline void SetIdentifiedUserName(const char* value) { m_identifiedUserNameHasBeenSet = true; m_identifiedUserName.assign(value); } /** *

The user name of the user.

*/ inline EntityDisplayData& WithIdentifiedUserName(const Aws::String& value) { SetIdentifiedUserName(value); return *this;} /** *

The user name of the user.

*/ inline EntityDisplayData& WithIdentifiedUserName(Aws::String&& value) { SetIdentifiedUserName(std::move(value)); return *this;} /** *

The user name of the user.

*/ inline EntityDisplayData& WithIdentifiedUserName(const char* value) { SetIdentifiedUserName(value); return *this;} /** *

The first name of the user.

*/ inline const Aws::String& GetFirstName() const{ return m_firstName; } /** *

The first name of the user.

*/ inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; } /** *

The first name of the user.

*/ inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; } /** *

The first name of the user.

*/ inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); } /** *

The first name of the user.

*/ inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); } /** *

The first name of the user.

*/ inline EntityDisplayData& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;} /** *

The first name of the user.

*/ inline EntityDisplayData& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;} /** *

The first name of the user.

*/ inline EntityDisplayData& WithFirstName(const char* value) { SetFirstName(value); return *this;} /** *

The last name of the user.

*/ inline const Aws::String& GetLastName() const{ return m_lastName; } /** *

The last name of the user.

*/ inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; } /** *

The last name of the user.

*/ inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; } /** *

The last name of the user.

*/ inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); } /** *

The last name of the user.

*/ inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); } /** *

The last name of the user.

*/ inline EntityDisplayData& WithLastName(const Aws::String& value) { SetLastName(value); return *this;} /** *

The last name of the user.

*/ inline EntityDisplayData& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;} /** *

The last name of the user.

*/ inline EntityDisplayData& WithLastName(const char* value) { SetLastName(value); return *this;} private: Aws::String m_userName; bool m_userNameHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_identifiedUserName; bool m_identifiedUserNameHasBeenSet = false; Aws::String m_firstName; bool m_firstNameHasBeenSet = false; Aws::String m_lastName; bool m_lastNameHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws