7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/repostspace/RepostspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/repostspace/model/Role.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
58 inline void SetRole(
const Role& value) { m_roleHasBeenSet =
true; m_role = value; }
59 inline void SetRole(
Role&& value) { m_roleHasBeenSet =
true; m_role = std::move(value); }
72 inline void SetSpaceId(
const char* value) { m_spaceIdHasBeenSet =
true; m_spaceId.assign(value); }
80 bool m_accessorIdsHasBeenSet =
false;
83 bool m_roleHasBeenSet =
false;
86 bool m_spaceIdHasBeenSet =
false;
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
bool RoleHasBeenSet() const
void SetAccessorIds(Aws::Vector< Aws::String > &&value)
AWS_REPOSTSPACE_API BatchAddRoleRequest()
BatchAddRoleRequest & WithSpaceId(const Aws::String &value)
BatchAddRoleRequest & WithAccessorIds(Aws::Vector< Aws::String > &&value)
BatchAddRoleRequest & WithSpaceId(Aws::String &&value)
BatchAddRoleRequest & AddAccessorIds(const char *value)
BatchAddRoleRequest & WithRole(Role &&value)
BatchAddRoleRequest & WithRole(const Role &value)
void SetSpaceId(const Aws::String &value)
bool SpaceIdHasBeenSet() const
void SetRole(const Role &value)
const Role & GetRole() const
BatchAddRoleRequest & WithSpaceId(const char *value)
BatchAddRoleRequest & AddAccessorIds(const Aws::String &value)
void SetRole(Role &&value)
void SetSpaceId(const char *value)
bool AccessorIdsHasBeenSet() const
void SetAccessorIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSpaceId() const
virtual const char * GetServiceRequestName() const override
BatchAddRoleRequest & AddAccessorIds(Aws::String &&value)
void SetSpaceId(Aws::String &&value)
BatchAddRoleRequest & WithAccessorIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAccessorIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector