/** * 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 information about the column that should be used for filtering the * query response by groups.

See Also:

AWS * API Reference

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

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline const Aws::String& GetAllowedGroupsColumnName() const{ return m_allowedGroupsColumnName; } /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline bool AllowedGroupsColumnNameHasBeenSet() const { return m_allowedGroupsColumnNameHasBeenSet; } /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline void SetAllowedGroupsColumnName(const Aws::String& value) { m_allowedGroupsColumnNameHasBeenSet = true; m_allowedGroupsColumnName = value; } /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline void SetAllowedGroupsColumnName(Aws::String&& value) { m_allowedGroupsColumnNameHasBeenSet = true; m_allowedGroupsColumnName = std::move(value); } /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline void SetAllowedGroupsColumnName(const char* value) { m_allowedGroupsColumnNameHasBeenSet = true; m_allowedGroupsColumnName.assign(value); } /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline AclConfiguration& WithAllowedGroupsColumnName(const Aws::String& value) { SetAllowedGroupsColumnName(value); return *this;} /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline AclConfiguration& WithAllowedGroupsColumnName(Aws::String&& value) { SetAllowedGroupsColumnName(std::move(value)); return *this;} /** *

A list of groups, separated by semi-colons, that filters a query response * based on user context. The document is only returned to users that are in one of * the groups specified in the UserContext field of the * Query API.

*/ inline AclConfiguration& WithAllowedGroupsColumnName(const char* value) { SetAllowedGroupsColumnName(value); return *this;} private: Aws::String m_allowedGroupsColumnName; bool m_allowedGroupsColumnNameHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws