/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of users or sub groups that belong to a group. This is useful for user
* context filtering, where search results are filtered based on the user or their
* group access to documents.See Also:
AWS
* API Reference
A list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline const Aws::VectorA list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline bool MemberGroupsHasBeenSet() const { return m_memberGroupsHasBeenSet; } /** *A list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline void SetMemberGroups(const Aws::VectorA list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline void SetMemberGroups(Aws::VectorA list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline GroupMembers& WithMemberGroups(const Aws::VectorA list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline GroupMembers& WithMemberGroups(Aws::VectorA list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline GroupMembers& AddMemberGroups(const MemberGroup& value) { m_memberGroupsHasBeenSet = true; m_memberGroups.push_back(value); return *this; } /** *A list of sub groups that belong to a group. For example, the sub groups * "Research", "Engineering", and "Sales and Marketing" all belong to the group * "Company".
*/ inline GroupMembers& AddMemberGroups(MemberGroup&& value) { m_memberGroupsHasBeenSet = true; m_memberGroups.push_back(std::move(value)); return *this; } /** *A list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline const Aws::VectorA list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline bool MemberUsersHasBeenSet() const { return m_memberUsersHasBeenSet; } /** *A list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline void SetMemberUsers(const Aws::VectorA list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline void SetMemberUsers(Aws::VectorA list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline GroupMembers& WithMemberUsers(const Aws::VectorA list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline GroupMembers& WithMemberUsers(Aws::VectorA list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline GroupMembers& AddMemberUsers(const MemberUser& value) { m_memberUsersHasBeenSet = true; m_memberUsers.push_back(value); return *this; } /** *A list of users that belong to a group. For example, a list of interns all * belong to the "Interns" group.
*/ inline GroupMembers& AddMemberUsers(MemberUser&& value) { m_memberUsersHasBeenSet = true; m_memberUsers.push_back(std::move(value)); return *this; } /** *If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.
If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.
If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.
If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.
If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.
If you have more than 1000 users and/or sub groups for a single group, you * need to provide the path to the S3 file that lists your users and sub groups for * a group. Your sub groups can contain more than 1000 users, but the list of sub * groups that belong to a group (and/or users) must be no more than 1000.
*You can download this example
* S3 file that uses the correct format for listing group members. Note,
* dataSourceId
is optional. The value of type
for a
* group is always GROUP
and for a user it is always
* USER
.