AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchRemoveRoleRequest.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace repostspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_REPOSTSPACE_API BatchRemoveRoleRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchRemoveRole"; }
33
34 AWS_REPOSTSPACE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetAccessorIds() const{ return m_accessorIds; }
42 inline bool AccessorIdsHasBeenSet() const { return m_accessorIdsHasBeenSet; }
43 inline void SetAccessorIds(const Aws::Vector<Aws::String>& value) { m_accessorIdsHasBeenSet = true; m_accessorIds = value; }
44 inline void SetAccessorIds(Aws::Vector<Aws::String>&& value) { m_accessorIdsHasBeenSet = true; m_accessorIds = std::move(value); }
46 inline BatchRemoveRoleRequest& WithAccessorIds(Aws::Vector<Aws::String>&& value) { SetAccessorIds(std::move(value)); return *this;}
47 inline BatchRemoveRoleRequest& AddAccessorIds(const Aws::String& value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(value); return *this; }
48 inline BatchRemoveRoleRequest& AddAccessorIds(Aws::String&& value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(std::move(value)); return *this; }
49 inline BatchRemoveRoleRequest& AddAccessorIds(const char* value) { m_accessorIdsHasBeenSet = true; m_accessorIds.push_back(value); return *this; }
51
53
56 inline const Role& GetRole() const{ return m_role; }
57 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
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); }
60 inline BatchRemoveRoleRequest& WithRole(const Role& value) { SetRole(value); return *this;}
61 inline BatchRemoveRoleRequest& WithRole(Role&& value) { SetRole(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetSpaceId() const{ return m_spaceId; }
69 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
70 inline void SetSpaceId(const Aws::String& value) { m_spaceIdHasBeenSet = true; m_spaceId = value; }
71 inline void SetSpaceId(Aws::String&& value) { m_spaceIdHasBeenSet = true; m_spaceId = std::move(value); }
72 inline void SetSpaceId(const char* value) { m_spaceIdHasBeenSet = true; m_spaceId.assign(value); }
73 inline BatchRemoveRoleRequest& WithSpaceId(const Aws::String& value) { SetSpaceId(value); return *this;}
74 inline BatchRemoveRoleRequest& WithSpaceId(Aws::String&& value) { SetSpaceId(std::move(value)); return *this;}
75 inline BatchRemoveRoleRequest& WithSpaceId(const char* value) { SetSpaceId(value); return *this;}
77 private:
78
79 Aws::Vector<Aws::String> m_accessorIds;
80 bool m_accessorIdsHasBeenSet = false;
81
82 Role m_role;
83 bool m_roleHasBeenSet = false;
84
85 Aws::String m_spaceId;
86 bool m_spaceIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace repostspace
91} // namespace Aws
BatchRemoveRoleRequest & WithSpaceId(const Aws::String &value)
AWS_REPOSTSPACE_API Aws::String SerializePayload() const override
BatchRemoveRoleRequest & WithRole(Role &&value)
void SetAccessorIds(const Aws::Vector< Aws::String > &value)
BatchRemoveRoleRequest & WithAccessorIds(Aws::Vector< Aws::String > &&value)
BatchRemoveRoleRequest & WithSpaceId(Aws::String &&value)
BatchRemoveRoleRequest & AddAccessorIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAccessorIds() const
BatchRemoveRoleRequest & AddAccessorIds(const char *value)
BatchRemoveRoleRequest & AddAccessorIds(Aws::String &&value)
BatchRemoveRoleRequest & WithRole(const Role &value)
void SetAccessorIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
BatchRemoveRoleRequest & WithSpaceId(const char *value)
BatchRemoveRoleRequest & WithAccessorIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector