AWS SDK for C++  1.9.153
AWS SDK for C++
PutAccessControlRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace WorkMail
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "PutAccessControlRule"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetName() const{ return m_name; }
43 
47  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 
52  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
62  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 
67  inline PutAccessControlRuleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 
72  inline PutAccessControlRuleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 
77  inline PutAccessControlRuleRequest& WithName(const char* value) { SetName(value); return *this;}
78 
79 
83  inline const AccessControlRuleEffect& GetEffect() const{ return m_effect; }
84 
88  inline bool EffectHasBeenSet() const { return m_effectHasBeenSet; }
89 
93  inline void SetEffect(const AccessControlRuleEffect& value) { m_effectHasBeenSet = true; m_effect = value; }
94 
98  inline void SetEffect(AccessControlRuleEffect&& value) { m_effectHasBeenSet = true; m_effect = std::move(value); }
99 
103  inline PutAccessControlRuleRequest& WithEffect(const AccessControlRuleEffect& value) { SetEffect(value); return *this;}
104 
108  inline PutAccessControlRuleRequest& WithEffect(AccessControlRuleEffect&& value) { SetEffect(std::move(value)); return *this;}
109 
110 
114  inline const Aws::String& GetDescription() const{ return m_description; }
115 
119  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
120 
124  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
125 
129  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
130 
134  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
135 
139  inline PutAccessControlRuleRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 
144  inline PutAccessControlRuleRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
145 
149  inline PutAccessControlRuleRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
150 
151 
155  inline const Aws::Vector<Aws::String>& GetIpRanges() const{ return m_ipRanges; }
156 
160  inline bool IpRangesHasBeenSet() const { return m_ipRangesHasBeenSet; }
161 
165  inline void SetIpRanges(const Aws::Vector<Aws::String>& value) { m_ipRangesHasBeenSet = true; m_ipRanges = value; }
166 
170  inline void SetIpRanges(Aws::Vector<Aws::String>&& value) { m_ipRangesHasBeenSet = true; m_ipRanges = std::move(value); }
171 
175  inline PutAccessControlRuleRequest& WithIpRanges(const Aws::Vector<Aws::String>& value) { SetIpRanges(value); return *this;}
176 
180  inline PutAccessControlRuleRequest& WithIpRanges(Aws::Vector<Aws::String>&& value) { SetIpRanges(std::move(value)); return *this;}
181 
185  inline PutAccessControlRuleRequest& AddIpRanges(const Aws::String& value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(value); return *this; }
186 
190  inline PutAccessControlRuleRequest& AddIpRanges(Aws::String&& value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(std::move(value)); return *this; }
191 
195  inline PutAccessControlRuleRequest& AddIpRanges(const char* value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(value); return *this; }
196 
197 
201  inline const Aws::Vector<Aws::String>& GetNotIpRanges() const{ return m_notIpRanges; }
202 
206  inline bool NotIpRangesHasBeenSet() const { return m_notIpRangesHasBeenSet; }
207 
211  inline void SetNotIpRanges(const Aws::Vector<Aws::String>& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges = value; }
212 
216  inline void SetNotIpRanges(Aws::Vector<Aws::String>&& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges = std::move(value); }
217 
221  inline PutAccessControlRuleRequest& WithNotIpRanges(const Aws::Vector<Aws::String>& value) { SetNotIpRanges(value); return *this;}
222 
226  inline PutAccessControlRuleRequest& WithNotIpRanges(Aws::Vector<Aws::String>&& value) { SetNotIpRanges(std::move(value)); return *this;}
227 
231  inline PutAccessControlRuleRequest& AddNotIpRanges(const Aws::String& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(value); return *this; }
232 
236  inline PutAccessControlRuleRequest& AddNotIpRanges(Aws::String&& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(std::move(value)); return *this; }
237 
241  inline PutAccessControlRuleRequest& AddNotIpRanges(const char* value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(value); return *this; }
242 
243 
250  inline const Aws::Vector<Aws::String>& GetActions() const{ return m_actions; }
251 
258  inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
259 
266  inline void SetActions(const Aws::Vector<Aws::String>& value) { m_actionsHasBeenSet = true; m_actions = value; }
267 
274  inline void SetActions(Aws::Vector<Aws::String>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
275 
282  inline PutAccessControlRuleRequest& WithActions(const Aws::Vector<Aws::String>& value) { SetActions(value); return *this;}
283 
290  inline PutAccessControlRuleRequest& WithActions(Aws::Vector<Aws::String>&& value) { SetActions(std::move(value)); return *this;}
291 
298  inline PutAccessControlRuleRequest& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
299 
306  inline PutAccessControlRuleRequest& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
307 
314  inline PutAccessControlRuleRequest& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
315 
316 
323  inline const Aws::Vector<Aws::String>& GetNotActions() const{ return m_notActions; }
324 
331  inline bool NotActionsHasBeenSet() const { return m_notActionsHasBeenSet; }
332 
339  inline void SetNotActions(const Aws::Vector<Aws::String>& value) { m_notActionsHasBeenSet = true; m_notActions = value; }
340 
347  inline void SetNotActions(Aws::Vector<Aws::String>&& value) { m_notActionsHasBeenSet = true; m_notActions = std::move(value); }
348 
355  inline PutAccessControlRuleRequest& WithNotActions(const Aws::Vector<Aws::String>& value) { SetNotActions(value); return *this;}
356 
363  inline PutAccessControlRuleRequest& WithNotActions(Aws::Vector<Aws::String>&& value) { SetNotActions(std::move(value)); return *this;}
364 
371  inline PutAccessControlRuleRequest& AddNotActions(const Aws::String& value) { m_notActionsHasBeenSet = true; m_notActions.push_back(value); return *this; }
372 
379  inline PutAccessControlRuleRequest& AddNotActions(Aws::String&& value) { m_notActionsHasBeenSet = true; m_notActions.push_back(std::move(value)); return *this; }
380 
387  inline PutAccessControlRuleRequest& AddNotActions(const char* value) { m_notActionsHasBeenSet = true; m_notActions.push_back(value); return *this; }
388 
389 
393  inline const Aws::Vector<Aws::String>& GetUserIds() const{ return m_userIds; }
394 
398  inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; }
399 
403  inline void SetUserIds(const Aws::Vector<Aws::String>& value) { m_userIdsHasBeenSet = true; m_userIds = value; }
404 
408  inline void SetUserIds(Aws::Vector<Aws::String>&& value) { m_userIdsHasBeenSet = true; m_userIds = std::move(value); }
409 
413  inline PutAccessControlRuleRequest& WithUserIds(const Aws::Vector<Aws::String>& value) { SetUserIds(value); return *this;}
414 
418  inline PutAccessControlRuleRequest& WithUserIds(Aws::Vector<Aws::String>&& value) { SetUserIds(std::move(value)); return *this;}
419 
423  inline PutAccessControlRuleRequest& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
424 
428  inline PutAccessControlRuleRequest& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; }
429 
433  inline PutAccessControlRuleRequest& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
434 
435 
439  inline const Aws::Vector<Aws::String>& GetNotUserIds() const{ return m_notUserIds; }
440 
444  inline bool NotUserIdsHasBeenSet() const { return m_notUserIdsHasBeenSet; }
445 
449  inline void SetNotUserIds(const Aws::Vector<Aws::String>& value) { m_notUserIdsHasBeenSet = true; m_notUserIds = value; }
450 
454  inline void SetNotUserIds(Aws::Vector<Aws::String>&& value) { m_notUserIdsHasBeenSet = true; m_notUserIds = std::move(value); }
455 
459  inline PutAccessControlRuleRequest& WithNotUserIds(const Aws::Vector<Aws::String>& value) { SetNotUserIds(value); return *this;}
460 
464  inline PutAccessControlRuleRequest& WithNotUserIds(Aws::Vector<Aws::String>&& value) { SetNotUserIds(std::move(value)); return *this;}
465 
469  inline PutAccessControlRuleRequest& AddNotUserIds(const Aws::String& value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(value); return *this; }
470 
474  inline PutAccessControlRuleRequest& AddNotUserIds(Aws::String&& value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(std::move(value)); return *this; }
475 
479  inline PutAccessControlRuleRequest& AddNotUserIds(const char* value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(value); return *this; }
480 
481 
485  inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
486 
490  inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
491 
495  inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
496 
500  inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
501 
505  inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
506 
510  inline PutAccessControlRuleRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;}
511 
515  inline PutAccessControlRuleRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
516 
520  inline PutAccessControlRuleRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
521 
522  private:
523 
524  Aws::String m_name;
525  bool m_nameHasBeenSet;
526 
527  AccessControlRuleEffect m_effect;
528  bool m_effectHasBeenSet;
529 
530  Aws::String m_description;
531  bool m_descriptionHasBeenSet;
532 
533  Aws::Vector<Aws::String> m_ipRanges;
534  bool m_ipRangesHasBeenSet;
535 
536  Aws::Vector<Aws::String> m_notIpRanges;
537  bool m_notIpRangesHasBeenSet;
538 
539  Aws::Vector<Aws::String> m_actions;
540  bool m_actionsHasBeenSet;
541 
542  Aws::Vector<Aws::String> m_notActions;
543  bool m_notActionsHasBeenSet;
544 
545  Aws::Vector<Aws::String> m_userIds;
546  bool m_userIdsHasBeenSet;
547 
548  Aws::Vector<Aws::String> m_notUserIds;
549  bool m_notUserIdsHasBeenSet;
550 
551  Aws::String m_organizationId;
552  bool m_organizationIdHasBeenSet;
553  };
554 
555 } // namespace Model
556 } // namespace WorkMail
557 } // namespace Aws
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetActions
const Aws::Vector< Aws::String > & GetActions() const
Definition: PutAccessControlRuleRequest.h:250
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetIpRanges
void SetIpRanges(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:165
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetIpRanges
void SetIpRanges(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:170
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddUserIds
PutAccessControlRuleRequest & AddUserIds(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:428
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotIpRanges
PutAccessControlRuleRequest & WithNotIpRanges(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:221
Aws::WorkMail::Model::PutAccessControlRuleRequest
Definition: PutAccessControlRuleRequest.h:24
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddUserIds
PutAccessControlRuleRequest & AddUserIds(const char *value)
Definition: PutAccessControlRuleRequest.h:433
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotUserIds
PutAccessControlRuleRequest & WithNotUserIds(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:464
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotIpRanges
PutAccessControlRuleRequest & AddNotIpRanges(const char *value)
Definition: PutAccessControlRuleRequest.h:241
Aws::WorkMail::Model::PutAccessControlRuleRequest::EffectHasBeenSet
bool EffectHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:88
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetUserIds
const Aws::Vector< Aws::String > & GetUserIds() const
Definition: PutAccessControlRuleRequest.h:393
Aws::WorkMail::Model::PutAccessControlRuleRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:47
Aws::WorkMail::Model::PutAccessControlRuleRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:119
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetEffect
void SetEffect(const AccessControlRuleEffect &value)
Definition: PutAccessControlRuleRequest.h:93
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddIpRanges
PutAccessControlRuleRequest & AddIpRanges(const char *value)
Definition: PutAccessControlRuleRequest.h:195
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotActions
PutAccessControlRuleRequest & AddNotActions(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:379
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotActions
PutAccessControlRuleRequest & WithNotActions(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:355
Aws::WorkMail::WorkMailRequest
Definition: WorkMailRequest.h:17
Aws::WorkMail::Model::PutAccessControlRuleRequest::NotUserIdsHasBeenSet
bool NotUserIdsHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:444
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotActions
void SetNotActions(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:339
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetUserIds
void SetUserIds(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:408
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetOrganizationId
void SetOrganizationId(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:500
WorkMail_EXPORTS.h
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotIpRanges
void SetNotIpRanges(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:211
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetName
void SetName(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:52
AWSVector.h
WorkMailRequest.h
Aws::WorkMail::Model::AccessControlRuleEffect
AccessControlRuleEffect
Definition: AccessControlRuleEffect.h:17
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddUserIds
PutAccessControlRuleRequest & AddUserIds(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:423
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetEffect
void SetEffect(AccessControlRuleEffect &&value)
Definition: PutAccessControlRuleRequest.h:98
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithOrganizationId
PutAccessControlRuleRequest & WithOrganizationId(const char *value)
Definition: PutAccessControlRuleRequest.h:520
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddIpRanges
PutAccessControlRuleRequest & AddIpRanges(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:185
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotActions
PutAccessControlRuleRequest & AddNotActions(const char *value)
Definition: PutAccessControlRuleRequest.h:387
AccessControlRuleEffect.h
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithUserIds
PutAccessControlRuleRequest & WithUserIds(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:418
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetOrganizationId
void SetOrganizationId(const char *value)
Definition: PutAccessControlRuleRequest.h:505
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddActions
PutAccessControlRuleRequest & AddActions(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:306
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithEffect
PutAccessControlRuleRequest & WithEffect(const AccessControlRuleEffect &value)
Definition: PutAccessControlRuleRequest.h:103
Aws::WorkMail::Model::PutAccessControlRuleRequest::OrganizationIdHasBeenSet
bool OrganizationIdHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:490
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:124
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetEffect
const AccessControlRuleEffect & GetEffect() const
Definition: PutAccessControlRuleRequest.h:83
Aws::WorkMail::Model::PutAccessControlRuleRequest::NotActionsHasBeenSet
bool NotActionsHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:331
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotUserIds
PutAccessControlRuleRequest & WithNotUserIds(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:459
Aws::WorkMail::Model::PutAccessControlRuleRequest::PutAccessControlRuleRequest
PutAccessControlRuleRequest()
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithDescription
PutAccessControlRuleRequest & WithDescription(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:139
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetDescription
const Aws::String & GetDescription() const
Definition: PutAccessControlRuleRequest.h:114
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetName
const Aws::String & GetName() const
Definition: PutAccessControlRuleRequest.h:42
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddActions
PutAccessControlRuleRequest & AddActions(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:298
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithName
PutAccessControlRuleRequest & WithName(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:67
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithActions
PutAccessControlRuleRequest & WithActions(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:282
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithDescription
PutAccessControlRuleRequest & WithDescription(const char *value)
Definition: PutAccessControlRuleRequest.h:149
AWSString.h
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetName
void SetName(const char *value)
Definition: PutAccessControlRuleRequest.h:62
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithEffect
PutAccessControlRuleRequest & WithEffect(AccessControlRuleEffect &&value)
Definition: PutAccessControlRuleRequest.h:108
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithName
PutAccessControlRuleRequest & WithName(const char *value)
Definition: PutAccessControlRuleRequest.h:77
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAccessControlRuleRequest.h:32
Aws::WorkMail::Model::PutAccessControlRuleRequest::ActionsHasBeenSet
bool ActionsHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:258
Aws::WorkMail::Model::PutAccessControlRuleRequest::IpRangesHasBeenSet
bool IpRangesHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:160
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotUserIds
void SetNotUserIds(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:454
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithName
PutAccessControlRuleRequest & WithName(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:72
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetIpRanges
const Aws::Vector< Aws::String > & GetIpRanges() const
Definition: PutAccessControlRuleRequest.h:155
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddIpRanges
PutAccessControlRuleRequest & AddIpRanges(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:190
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetOrganizationId
const Aws::String & GetOrganizationId() const
Definition: PutAccessControlRuleRequest.h:485
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithOrganizationId
PutAccessControlRuleRequest & WithOrganizationId(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:510
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotIpRanges
void SetNotIpRanges(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:216
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotActions
PutAccessControlRuleRequest & AddNotActions(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:371
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetActions
void SetActions(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:266
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithUserIds
PutAccessControlRuleRequest & WithUserIds(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:413
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithIpRanges
PutAccessControlRuleRequest & WithIpRanges(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:175
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithDescription
PutAccessControlRuleRequest & WithDescription(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:144
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotUserIds
PutAccessControlRuleRequest & AddNotUserIds(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:474
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotUserIds
PutAccessControlRuleRequest & AddNotUserIds(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:469
Aws::WorkMail::Model::PutAccessControlRuleRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotActions
void SetNotActions(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:347
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetNotUserIds
const Aws::Vector< Aws::String > & GetNotUserIds() const
Definition: PutAccessControlRuleRequest.h:439
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:129
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetOrganizationId
void SetOrganizationId(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:495
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetUserIds
void SetUserIds(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:403
Aws::WorkMail::Model::PutAccessControlRuleRequest::UserIdsHasBeenSet
bool UserIdsHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:398
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithIpRanges
PutAccessControlRuleRequest & WithIpRanges(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:180
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotIpRanges
PutAccessControlRuleRequest & AddNotIpRanges(const Aws::String &value)
Definition: PutAccessControlRuleRequest.h:231
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetNotIpRanges
const Aws::Vector< Aws::String > & GetNotIpRanges() const
Definition: PutAccessControlRuleRequest.h:201
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetName
void SetName(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:57
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithOrganizationId
PutAccessControlRuleRequest & WithOrganizationId(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:515
Aws::WorkMail::Model::PutAccessControlRuleRequest::GetNotActions
const Aws::Vector< Aws::String > & GetNotActions() const
Definition: PutAccessControlRuleRequest.h:323
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetDescription
void SetDescription(const char *value)
Definition: PutAccessControlRuleRequest.h:134
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotIpRanges
PutAccessControlRuleRequest & WithNotIpRanges(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:226
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithActions
PutAccessControlRuleRequest & WithActions(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:290
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetActions
void SetActions(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:274
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotUserIds
PutAccessControlRuleRequest & AddNotUserIds(const char *value)
Definition: PutAccessControlRuleRequest.h:479
Aws::WorkMail::Model::PutAccessControlRuleRequest::WithNotActions
PutAccessControlRuleRequest & WithNotActions(Aws::Vector< Aws::String > &&value)
Definition: PutAccessControlRuleRequest.h:363
Aws::WorkMail::Model::PutAccessControlRuleRequest::SetNotUserIds
void SetNotUserIds(const Aws::Vector< Aws::String > &value)
Definition: PutAccessControlRuleRequest.h:449
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddNotIpRanges
PutAccessControlRuleRequest & AddNotIpRanges(Aws::String &&value)
Definition: PutAccessControlRuleRequest.h:236
Aws::WorkMail::Model::PutAccessControlRuleRequest::NotIpRangesHasBeenSet
bool NotIpRangesHasBeenSet() const
Definition: PutAccessControlRuleRequest.h:206
Aws::WorkMail::Model::PutAccessControlRuleRequest::AddActions
PutAccessControlRuleRequest & AddActions(const char *value)
Definition: PutAccessControlRuleRequest.h:314