AWS SDK for C++  1.9.104
AWS SDK for C++
GetAccessControlEffectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkMail
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetAccessControlEffect"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
41 
45  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 
50  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
51 
55  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
56 
60  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
61 
65  inline GetAccessControlEffectRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
66 
70  inline GetAccessControlEffectRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
71 
75  inline GetAccessControlEffectRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
82 
86  inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
87 
91  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
92 
96  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
97 
101  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
102 
106  inline GetAccessControlEffectRequest& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
107 
111  inline GetAccessControlEffectRequest& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
112 
116  inline GetAccessControlEffectRequest& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
117 
118 
124  inline const Aws::String& GetAction() const{ return m_action; }
125 
131  inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
132 
138  inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
139 
145  inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
146 
152  inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
153 
159  inline GetAccessControlEffectRequest& WithAction(const Aws::String& value) { SetAction(value); return *this;}
160 
166  inline GetAccessControlEffectRequest& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
167 
173  inline GetAccessControlEffectRequest& WithAction(const char* value) { SetAction(value); return *this;}
174 
175 
179  inline const Aws::String& GetUserId() const{ return m_userId; }
180 
184  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
185 
189  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
190 
194  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
195 
199  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
200 
204  inline GetAccessControlEffectRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
205 
209  inline GetAccessControlEffectRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
210 
214  inline GetAccessControlEffectRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
215 
216  private:
217 
218  Aws::String m_organizationId;
219  bool m_organizationIdHasBeenSet;
220 
221  Aws::String m_ipAddress;
222  bool m_ipAddressHasBeenSet;
223 
224  Aws::String m_action;
225  bool m_actionHasBeenSet;
226 
227  Aws::String m_userId;
228  bool m_userIdHasBeenSet;
229  };
230 
231 } // namespace Model
232 } // namespace WorkMail
233 } // namespace Aws
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:194
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::GetAccessControlEffectRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: GetAccessControlEffectRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetIpAddress
void SetIpAddress(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:91
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:50
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetAction
void SetAction(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:138
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithUserId
GetAccessControlEffectRequest & WithUserId(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:209
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:55
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithIpAddress
GetAccessControlEffectRequest & WithIpAddress(const char *value)
Definition: GetAccessControlEffectRequest.h:116
WorkMail_EXPORTS.h
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithOrganizationId
GetAccessControlEffectRequest & WithOrganizationId(const char *value)
Definition: GetAccessControlEffectRequest.h:75
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithIpAddress
GetAccessControlEffectRequest & WithIpAddress(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:111
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithUserId
GetAccessControlEffectRequest & WithUserId(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:204
WorkMailRequest.h
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:189
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithUserId
GetAccessControlEffectRequest & WithUserId(const char *value)
Definition: GetAccessControlEffectRequest.h:214
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithOrganizationId
GetAccessControlEffectRequest & WithOrganizationId(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:70
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithAction
GetAccessControlEffectRequest & WithAction(const char *value)
Definition: GetAccessControlEffectRequest.h:173
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAccessControlEffectRequest.h:30
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetIpAddress
void SetIpAddress(const char *value)
Definition: GetAccessControlEffectRequest.h:101
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: GetAccessControlEffectRequest.h:40
Aws::WorkMail::Model::GetAccessControlEffectRequest::ActionHasBeenSet
bool ActionHasBeenSet() const
Definition: GetAccessControlEffectRequest.h:131
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetAccessControlEffectRequest
GetAccessControlEffectRequest()
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithAction
GetAccessControlEffectRequest & WithAction(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:159
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: GetAccessControlEffectRequest.h:60
AWSString.h
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetIpAddress
void SetIpAddress(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:96
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithIpAddress
GetAccessControlEffectRequest & WithIpAddress(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:106
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetAction
void SetAction(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:145
Aws::WorkMail::Model::GetAccessControlEffectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetUserId
const Aws::String & GetUserId() const
Definition: GetAccessControlEffectRequest.h:179
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithAction
GetAccessControlEffectRequest & WithAction(Aws::String &&value)
Definition: GetAccessControlEffectRequest.h:166
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::GetAccessControlEffectRequest::WithOrganizationId
GetAccessControlEffectRequest & WithOrganizationId(const Aws::String &value)
Definition: GetAccessControlEffectRequest.h:65
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::GetAccessControlEffectRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: GetAccessControlEffectRequest.h:184
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetIpAddress
const Aws::String & GetIpAddress() const
Definition: GetAccessControlEffectRequest.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::GetAccessControlEffectRequest::GetAction
const Aws::String & GetAction() const
Definition: GetAccessControlEffectRequest.h:124
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetAction
void SetAction(const char *value)
Definition: GetAccessControlEffectRequest.h:152
Aws::WorkMail::Model::GetAccessControlEffectRequest::IpAddressHasBeenSet
bool IpAddressHasBeenSet() const
Definition: GetAccessControlEffectRequest.h:86
Aws::WorkMail::Model::GetAccessControlEffectRequest::SetUserId
void SetUserId(const char *value)
Definition: GetAccessControlEffectRequest.h:199
Aws::WorkMail::Model::GetAccessControlEffectRequest
Definition: GetAccessControlEffectRequest.h:22