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

Summary information for users or groups in your IAM Identity Center identity * source with granted access to your Amazon Kendra experience. You can create an * Amazon Kendra experience such as a search application. For more information on * creating a search application experience, see Building * a search experience with no code.

See Also:

AWS * API Reference

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

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; } /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; } /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); } /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); } /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline ExperienceEntitiesSummary& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline ExperienceEntitiesSummary& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The identifier of a user or group in your IAM Identity Center identity * source. For example, a user ID could be an email.

*/ inline ExperienceEntitiesSummary& WithEntityId(const char* value) { SetEntityId(value); return *this;} /** *

Shows the type as User or Group.

*/ inline const EntityType& GetEntityType() const{ return m_entityType; } /** *

Shows the type as User or Group.

*/ inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; } /** *

Shows the type as User or Group.

*/ inline void SetEntityType(const EntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; } /** *

Shows the type as User or Group.

*/ inline void SetEntityType(EntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); } /** *

Shows the type as User or Group.

*/ inline ExperienceEntitiesSummary& WithEntityType(const EntityType& value) { SetEntityType(value); return *this;} /** *

Shows the type as User or Group.

*/ inline ExperienceEntitiesSummary& WithEntityType(EntityType&& value) { SetEntityType(std::move(value)); return *this;} /** *

Information about the user entity.

*/ inline const EntityDisplayData& GetDisplayData() const{ return m_displayData; } /** *

Information about the user entity.

*/ inline bool DisplayDataHasBeenSet() const { return m_displayDataHasBeenSet; } /** *

Information about the user entity.

*/ inline void SetDisplayData(const EntityDisplayData& value) { m_displayDataHasBeenSet = true; m_displayData = value; } /** *

Information about the user entity.

*/ inline void SetDisplayData(EntityDisplayData&& value) { m_displayDataHasBeenSet = true; m_displayData = std::move(value); } /** *

Information about the user entity.

*/ inline ExperienceEntitiesSummary& WithDisplayData(const EntityDisplayData& value) { SetDisplayData(value); return *this;} /** *

Information about the user entity.

*/ inline ExperienceEntitiesSummary& WithDisplayData(EntityDisplayData&& value) { SetDisplayData(std::move(value)); return *this;} private: Aws::String m_entityId; bool m_entityIdHasBeenSet = false; EntityType m_entityType; bool m_entityTypeHasBeenSet = false; EntityDisplayData m_displayData; bool m_displayDataHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws