7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/workdocs/WorkDocs_EXPORTS.h>
9#include <aws/workdocs/model/GroupMetadata.h>
10#include <aws/workdocs/model/UserMetadata.h>
42 template <
typename UsersT = Aws::Vector<UserMetadata>>
44 m_usersHasBeenSet =
true;
45 m_users = std::forward<UsersT>(value);
47 template <
typename UsersT = Aws::Vector<UserMetadata>>
49 SetUsers(std::forward<UsersT>(value));
52 template <
typename UsersT = UserMetadata>
54 m_usersHasBeenSet =
true;
55 m_users.emplace_back(std::forward<UsersT>(value));
66 template <
typename GroupsT = Aws::Vector<GroupMetadata>>
68 m_groupsHasBeenSet =
true;
69 m_groups = std::forward<GroupsT>(value);
71 template <
typename GroupsT = Aws::Vector<GroupMetadata>>
76 template <
typename GroupsT = GroupMetadata>
78 m_groupsHasBeenSet =
true;
79 m_groups.emplace_back(std::forward<GroupsT>(value));
87 bool m_usersHasBeenSet =
false;
88 bool m_groupsHasBeenSet =
false;
void SetGroups(GroupsT &&value)
Participants & AddUsers(UsersT &&value)
Participants & WithUsers(UsersT &&value)
bool UsersHasBeenSet() const
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< GroupMetadata > & GetGroups() const
Participants & WithGroups(GroupsT &&value)
bool GroupsHasBeenSet() const
void SetUsers(UsersT &&value)
AWS_WORKDOCS_API Participants & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKDOCS_API Participants()=default
AWS_WORKDOCS_API Participants(Aws::Utils::Json::JsonView jsonValue)
Participants & AddGroups(GroupsT &&value)
const Aws::Vector< UserMetadata > & GetUsers() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue