AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
DeleteMailboxPermissionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WorkMail {
15namespace Model {
16
20 public:
21 AWS_WORKMAIL_API DeleteMailboxPermissionsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteMailboxPermissions"; }
28
29 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
39 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
40 template <typename OrganizationIdT = Aws::String>
41 void SetOrganizationId(OrganizationIdT&& value) {
42 m_organizationIdHasBeenSet = true;
43 m_organizationId = std::forward<OrganizationIdT>(value);
44 }
45 template <typename OrganizationIdT = Aws::String>
47 SetOrganizationId(std::forward<OrganizationIdT>(value));
48 return *this;
49 }
51
53
61 inline const Aws::String& GetEntityId() const { return m_entityId; }
62 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
63 template <typename EntityIdT = Aws::String>
64 void SetEntityId(EntityIdT&& value) {
65 m_entityIdHasBeenSet = true;
66 m_entityId = std::forward<EntityIdT>(value);
67 }
68 template <typename EntityIdT = Aws::String>
70 SetEntityId(std::forward<EntityIdT>(value));
71 return *this;
72 }
74
76
84 inline const Aws::String& GetGranteeId() const { return m_granteeId; }
85 inline bool GranteeIdHasBeenSet() const { return m_granteeIdHasBeenSet; }
86 template <typename GranteeIdT = Aws::String>
87 void SetGranteeId(GranteeIdT&& value) {
88 m_granteeIdHasBeenSet = true;
89 m_granteeId = std::forward<GranteeIdT>(value);
90 }
91 template <typename GranteeIdT = Aws::String>
93 SetGranteeId(std::forward<GranteeIdT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_organizationId;
99
100 Aws::String m_entityId;
101
102 Aws::String m_granteeId;
103 bool m_organizationIdHasBeenSet = false;
104 bool m_entityIdHasBeenSet = false;
105 bool m_granteeIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace WorkMail
110} // namespace Aws
AWS_WORKMAIL_API Aws::String SerializePayload() const override
DeleteMailboxPermissionsRequest & WithEntityId(EntityIdT &&value)
DeleteMailboxPermissionsRequest & WithOrganizationId(OrganizationIdT &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKMAIL_API DeleteMailboxPermissionsRequest()=default
DeleteMailboxPermissionsRequest & WithGranteeId(GranteeIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String