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

Provides the configuration information for the identifiers of your * users.

See Also:

AWS * API Reference

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

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline const Aws::String& GetIdentityAttributeName() const{ return m_identityAttributeName; } /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline bool IdentityAttributeNameHasBeenSet() const { return m_identityAttributeNameHasBeenSet; } /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline void SetIdentityAttributeName(const Aws::String& value) { m_identityAttributeNameHasBeenSet = true; m_identityAttributeName = value; } /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline void SetIdentityAttributeName(Aws::String&& value) { m_identityAttributeNameHasBeenSet = true; m_identityAttributeName = std::move(value); } /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline void SetIdentityAttributeName(const char* value) { m_identityAttributeNameHasBeenSet = true; m_identityAttributeName.assign(value); } /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline UserIdentityConfiguration& WithIdentityAttributeName(const Aws::String& value) { SetIdentityAttributeName(value); return *this;} /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline UserIdentityConfiguration& WithIdentityAttributeName(Aws::String&& value) { SetIdentityAttributeName(std::move(value)); return *this;} /** *

The IAM Identity Center field name that contains the identifiers of your * users, such as their emails. This is used for user * context filtering and for granting access to your Amazon Kendra experience. * You must set up IAM Identity Center with Amazon Kendra. You must include your * users and groups in your Access Control List when you ingest documents into your * index. For more information, see Getting * started with an IAM Identity Center identity source.

*/ inline UserIdentityConfiguration& WithIdentityAttributeName(const char* value) { SetIdentityAttributeName(value); return *this;} private: Aws::String m_identityAttributeName; bool m_identityAttributeNameHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws