7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/MemberRelation.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/model/DocumentAclUser.h>
11#include <aws/qbusiness/model/DocumentAclGroup.h>
62 template<
typename UsersT = Aws::Vector<DocumentAclUser>>
63 void SetUsers(
UsersT&& value) { m_usersHasBeenSet =
true; m_users = std::forward<UsersT>(value); }
64 template<
typename UsersT = Aws::Vector<DocumentAclUser>>
66 template<
typename UsersT = DocumentAclUser>
77 template<
typename GroupsT = Aws::Vector<DocumentAclGroup>>
78 void SetGroups(
GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
79 template<
typename GroupsT = Aws::Vector<DocumentAclGroup>>
81 template<
typename GroupsT = DocumentAclGroup>
87 bool m_memberRelationHasBeenSet =
false;
90 bool m_usersHasBeenSet =
false;
93 bool m_groupsHasBeenSet =
false;
bool GroupsHasBeenSet() const
bool UsersHasBeenSet() const
AWS_QBUSINESS_API DocumentAclCondition()=default
void SetMemberRelation(MemberRelation value)
const Aws::Vector< DocumentAclUser > & GetUsers() const
DocumentAclCondition & AddGroups(GroupsT &&value)
const Aws::Vector< DocumentAclGroup > & GetGroups() const
AWS_QBUSINESS_API DocumentAclCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API DocumentAclCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentAclCondition & WithUsers(UsersT &&value)
MemberRelation GetMemberRelation() const
DocumentAclCondition & AddUsers(UsersT &&value)
void SetUsers(UsersT &&value)
bool MemberRelationHasBeenSet() const
DocumentAclCondition & WithGroups(GroupsT &&value)
DocumentAclCondition & WithMemberRelation(MemberRelation value)
void SetGroups(GroupsT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue