7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workdocs/model/UserMetadata.h>
10#include <aws/workdocs/model/GroupMetadata.h>
48 template<
typename UsersT = Aws::Vector<UserMetadata>>
49 void SetUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users = std::forward<UsersT>(value); }
50 template<
typename UsersT = Aws::Vector<UserMetadata>>
52 template<
typename UsersT = UserMetadata>
53 Participants&
AddUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users.emplace_back(std::forward<UsersT>(value));
return *
this; }
62 template<
typename GroupsT = Aws::Vector<GroupMetadata>>
63 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
64 template<
typename GroupsT = Aws::Vector<GroupMetadata>>
66 template<
typename GroupsT = GroupMetadata>
67 Participants&
AddGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups.emplace_back(std::forward<GroupsT>(value));
return *
this; }
72 bool m_usersHasBeenSet =
false;
75 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