AWS SDK for C++  1.9.108
AWS SDK for C++
AccessControlRule.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace WorkMail
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline AccessControlRule& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline AccessControlRule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline AccessControlRule& WithName(const char* value) { SetName(value); return *this;}
83 
84 
88  inline const AccessControlRuleEffect& GetEffect() const{ return m_effect; }
89 
93  inline bool EffectHasBeenSet() const { return m_effectHasBeenSet; }
94 
98  inline void SetEffect(const AccessControlRuleEffect& value) { m_effectHasBeenSet = true; m_effect = value; }
99 
103  inline void SetEffect(AccessControlRuleEffect&& value) { m_effectHasBeenSet = true; m_effect = std::move(value); }
104 
108  inline AccessControlRule& WithEffect(const AccessControlRuleEffect& value) { SetEffect(value); return *this;}
109 
113  inline AccessControlRule& WithEffect(AccessControlRuleEffect&& value) { SetEffect(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetDescription() const{ return m_description; }
120 
124  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
125 
129  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
130 
134  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
135 
139  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 
144  inline AccessControlRule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 
149  inline AccessControlRule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
150 
154  inline AccessControlRule& WithDescription(const char* value) { SetDescription(value); return *this;}
155 
156 
160  inline const Aws::Vector<Aws::String>& GetIpRanges() const{ return m_ipRanges; }
161 
165  inline bool IpRangesHasBeenSet() const { return m_ipRangesHasBeenSet; }
166 
170  inline void SetIpRanges(const Aws::Vector<Aws::String>& value) { m_ipRangesHasBeenSet = true; m_ipRanges = value; }
171 
175  inline void SetIpRanges(Aws::Vector<Aws::String>&& value) { m_ipRangesHasBeenSet = true; m_ipRanges = std::move(value); }
176 
180  inline AccessControlRule& WithIpRanges(const Aws::Vector<Aws::String>& value) { SetIpRanges(value); return *this;}
181 
185  inline AccessControlRule& WithIpRanges(Aws::Vector<Aws::String>&& value) { SetIpRanges(std::move(value)); return *this;}
186 
190  inline AccessControlRule& AddIpRanges(const Aws::String& value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(value); return *this; }
191 
195  inline AccessControlRule& AddIpRanges(Aws::String&& value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(std::move(value)); return *this; }
196 
200  inline AccessControlRule& AddIpRanges(const char* value) { m_ipRangesHasBeenSet = true; m_ipRanges.push_back(value); return *this; }
201 
202 
206  inline const Aws::Vector<Aws::String>& GetNotIpRanges() const{ return m_notIpRanges; }
207 
211  inline bool NotIpRangesHasBeenSet() const { return m_notIpRangesHasBeenSet; }
212 
216  inline void SetNotIpRanges(const Aws::Vector<Aws::String>& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges = value; }
217 
221  inline void SetNotIpRanges(Aws::Vector<Aws::String>&& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges = std::move(value); }
222 
226  inline AccessControlRule& WithNotIpRanges(const Aws::Vector<Aws::String>& value) { SetNotIpRanges(value); return *this;}
227 
231  inline AccessControlRule& WithNotIpRanges(Aws::Vector<Aws::String>&& value) { SetNotIpRanges(std::move(value)); return *this;}
232 
236  inline AccessControlRule& AddNotIpRanges(const Aws::String& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(value); return *this; }
237 
241  inline AccessControlRule& AddNotIpRanges(Aws::String&& value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(std::move(value)); return *this; }
242 
246  inline AccessControlRule& AddNotIpRanges(const char* value) { m_notIpRangesHasBeenSet = true; m_notIpRanges.push_back(value); return *this; }
247 
248 
255  inline const Aws::Vector<Aws::String>& GetActions() const{ return m_actions; }
256 
263  inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
264 
271  inline void SetActions(const Aws::Vector<Aws::String>& value) { m_actionsHasBeenSet = true; m_actions = value; }
272 
279  inline void SetActions(Aws::Vector<Aws::String>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
280 
287  inline AccessControlRule& WithActions(const Aws::Vector<Aws::String>& value) { SetActions(value); return *this;}
288 
295  inline AccessControlRule& WithActions(Aws::Vector<Aws::String>&& value) { SetActions(std::move(value)); return *this;}
296 
303  inline AccessControlRule& AddActions(const Aws::String& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
304 
311  inline AccessControlRule& AddActions(Aws::String&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
312 
319  inline AccessControlRule& AddActions(const char* value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
320 
321 
328  inline const Aws::Vector<Aws::String>& GetNotActions() const{ return m_notActions; }
329 
336  inline bool NotActionsHasBeenSet() const { return m_notActionsHasBeenSet; }
337 
344  inline void SetNotActions(const Aws::Vector<Aws::String>& value) { m_notActionsHasBeenSet = true; m_notActions = value; }
345 
352  inline void SetNotActions(Aws::Vector<Aws::String>&& value) { m_notActionsHasBeenSet = true; m_notActions = std::move(value); }
353 
360  inline AccessControlRule& WithNotActions(const Aws::Vector<Aws::String>& value) { SetNotActions(value); return *this;}
361 
368  inline AccessControlRule& WithNotActions(Aws::Vector<Aws::String>&& value) { SetNotActions(std::move(value)); return *this;}
369 
376  inline AccessControlRule& AddNotActions(const Aws::String& value) { m_notActionsHasBeenSet = true; m_notActions.push_back(value); return *this; }
377 
384  inline AccessControlRule& AddNotActions(Aws::String&& value) { m_notActionsHasBeenSet = true; m_notActions.push_back(std::move(value)); return *this; }
385 
392  inline AccessControlRule& AddNotActions(const char* value) { m_notActionsHasBeenSet = true; m_notActions.push_back(value); return *this; }
393 
394 
398  inline const Aws::Vector<Aws::String>& GetUserIds() const{ return m_userIds; }
399 
403  inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; }
404 
408  inline void SetUserIds(const Aws::Vector<Aws::String>& value) { m_userIdsHasBeenSet = true; m_userIds = value; }
409 
413  inline void SetUserIds(Aws::Vector<Aws::String>&& value) { m_userIdsHasBeenSet = true; m_userIds = std::move(value); }
414 
418  inline AccessControlRule& WithUserIds(const Aws::Vector<Aws::String>& value) { SetUserIds(value); return *this;}
419 
423  inline AccessControlRule& WithUserIds(Aws::Vector<Aws::String>&& value) { SetUserIds(std::move(value)); return *this;}
424 
428  inline AccessControlRule& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
429 
433  inline AccessControlRule& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; }
434 
438  inline AccessControlRule& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
439 
440 
444  inline const Aws::Vector<Aws::String>& GetNotUserIds() const{ return m_notUserIds; }
445 
449  inline bool NotUserIdsHasBeenSet() const { return m_notUserIdsHasBeenSet; }
450 
454  inline void SetNotUserIds(const Aws::Vector<Aws::String>& value) { m_notUserIdsHasBeenSet = true; m_notUserIds = value; }
455 
459  inline void SetNotUserIds(Aws::Vector<Aws::String>&& value) { m_notUserIdsHasBeenSet = true; m_notUserIds = std::move(value); }
460 
464  inline AccessControlRule& WithNotUserIds(const Aws::Vector<Aws::String>& value) { SetNotUserIds(value); return *this;}
465 
469  inline AccessControlRule& WithNotUserIds(Aws::Vector<Aws::String>&& value) { SetNotUserIds(std::move(value)); return *this;}
470 
474  inline AccessControlRule& AddNotUserIds(const Aws::String& value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(value); return *this; }
475 
479  inline AccessControlRule& AddNotUserIds(Aws::String&& value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(std::move(value)); return *this; }
480 
484  inline AccessControlRule& AddNotUserIds(const char* value) { m_notUserIdsHasBeenSet = true; m_notUserIds.push_back(value); return *this; }
485 
486 
490  inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
491 
495  inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
496 
500  inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
501 
505  inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
506 
510  inline AccessControlRule& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
511 
515  inline AccessControlRule& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
516 
517 
521  inline const Aws::Utils::DateTime& GetDateModified() const{ return m_dateModified; }
522 
526  inline bool DateModifiedHasBeenSet() const { return m_dateModifiedHasBeenSet; }
527 
531  inline void SetDateModified(const Aws::Utils::DateTime& value) { m_dateModifiedHasBeenSet = true; m_dateModified = value; }
532 
536  inline void SetDateModified(Aws::Utils::DateTime&& value) { m_dateModifiedHasBeenSet = true; m_dateModified = std::move(value); }
537 
541  inline AccessControlRule& WithDateModified(const Aws::Utils::DateTime& value) { SetDateModified(value); return *this;}
542 
546  inline AccessControlRule& WithDateModified(Aws::Utils::DateTime&& value) { SetDateModified(std::move(value)); return *this;}
547 
548  private:
549 
550  Aws::String m_name;
551  bool m_nameHasBeenSet;
552 
553  AccessControlRuleEffect m_effect;
554  bool m_effectHasBeenSet;
555 
556  Aws::String m_description;
557  bool m_descriptionHasBeenSet;
558 
559  Aws::Vector<Aws::String> m_ipRanges;
560  bool m_ipRangesHasBeenSet;
561 
562  Aws::Vector<Aws::String> m_notIpRanges;
563  bool m_notIpRangesHasBeenSet;
564 
565  Aws::Vector<Aws::String> m_actions;
566  bool m_actionsHasBeenSet;
567 
568  Aws::Vector<Aws::String> m_notActions;
569  bool m_notActionsHasBeenSet;
570 
571  Aws::Vector<Aws::String> m_userIds;
572  bool m_userIdsHasBeenSet;
573 
574  Aws::Vector<Aws::String> m_notUserIds;
575  bool m_notUserIdsHasBeenSet;
576 
577  Aws::Utils::DateTime m_dateCreated;
578  bool m_dateCreatedHasBeenSet;
579 
580  Aws::Utils::DateTime m_dateModified;
581  bool m_dateModifiedHasBeenSet;
582  };
583 
584 } // namespace Model
585 } // namespace WorkMail
586 } // namespace Aws
Aws::WorkMail::Model::AccessControlRule::AddNotActions
AccessControlRule & AddNotActions(const char *value)
Definition: AccessControlRule.h:392
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::AccessControlRule::AddNotIpRanges
AccessControlRule & AddNotIpRanges(const Aws::String &value)
Definition: AccessControlRule.h:236
Aws::WorkMail::Model::AccessControlRule::GetNotIpRanges
const Aws::Vector< Aws::String > & GetNotIpRanges() const
Definition: AccessControlRule.h:206
Aws::WorkMail::Model::AccessControlRule::AddUserIds
AccessControlRule & AddUserIds(Aws::String &&value)
Definition: AccessControlRule.h:433
Aws::WorkMail::Model::AccessControlRule::AddNotActions
AccessControlRule & AddNotActions(const Aws::String &value)
Definition: AccessControlRule.h:376
Aws::WorkMail::Model::AccessControlRule::WithUserIds
AccessControlRule & WithUserIds(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:418
Aws::WorkMail::Model::AccessControlRule::AddIpRanges
AccessControlRule & AddIpRanges(Aws::String &&value)
Definition: AccessControlRule.h:195
Aws::WorkMail::Model::AccessControlRule::WithNotUserIds
AccessControlRule & WithNotUserIds(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:464
DateTime.h
Aws::WorkMail::Model::AccessControlRule::WithDateModified
AccessControlRule & WithDateModified(Aws::Utils::DateTime &&value)
Definition: AccessControlRule.h:546
Aws::WorkMail::Model::AccessControlRule::WithActions
AccessControlRule & WithActions(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:287
Aws::WorkMail::Model::AccessControlRule::SetNotActions
void SetNotActions(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:352
Aws::WorkMail::Model::AccessControlRule::UserIdsHasBeenSet
bool UserIdsHasBeenSet() const
Definition: AccessControlRule.h:403
Aws::WorkMail::Model::AccessControlRule::SetDateCreated
void SetDateCreated(const Aws::Utils::DateTime &value)
Definition: AccessControlRule.h:500
Aws::WorkMail::Model::AccessControlRule::SetNotIpRanges
void SetNotIpRanges(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:216
Aws::WorkMail::Model::AccessControlRule::AddUserIds
AccessControlRule & AddUserIds(const Aws::String &value)
Definition: AccessControlRule.h:428
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkMail::Model::AccessControlRule::AddNotIpRanges
AccessControlRule & AddNotIpRanges(Aws::String &&value)
Definition: AccessControlRule.h:241
Aws::WorkMail::Model::AccessControlRule::WithDateCreated
AccessControlRule & WithDateCreated(const Aws::Utils::DateTime &value)
Definition: AccessControlRule.h:510
WorkMail_EXPORTS.h
Aws::WorkMail::Model::AccessControlRule::SetNotUserIds
void SetNotUserIds(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:459
Aws::WorkMail::Model::AccessControlRule::WithEffect
AccessControlRule & WithEffect(AccessControlRuleEffect &&value)
Definition: AccessControlRule.h:113
AWSVector.h
Aws::WorkMail::Model::AccessControlRuleEffect
AccessControlRuleEffect
Definition: AccessControlRuleEffect.h:17
Aws::WorkMail::Model::AccessControlRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WorkMail::Model::AccessControlRule::WithNotUserIds
AccessControlRule & WithNotUserIds(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:469
Aws::WorkMail::Model::AccessControlRule::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AccessControlRule.h:124
Aws::WorkMail::Model::AccessControlRule::GetDateModified
const Aws::Utils::DateTime & GetDateModified() const
Definition: AccessControlRule.h:521
Aws::WorkMail::Model::AccessControlRule::WithActions
AccessControlRule & WithActions(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:295
Aws::WorkMail::Model::AccessControlRule::SetUserIds
void SetUserIds(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:413
Aws::WorkMail::Model::AccessControlRule::AccessControlRule
AccessControlRule()
AccessControlRuleEffect.h
Aws::WorkMail::Model::AccessControlRule::SetDescription
void SetDescription(const char *value)
Definition: AccessControlRule.h:139
Aws::WorkMail::Model::AccessControlRule::SetIpRanges
void SetIpRanges(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:175
Aws::WorkMail::Model::AccessControlRule::SetDateModified
void SetDateModified(Aws::Utils::DateTime &&value)
Definition: AccessControlRule.h:536
Aws::WorkMail::Model::AccessControlRule::WithDateModified
AccessControlRule & WithDateModified(const Aws::Utils::DateTime &value)
Definition: AccessControlRule.h:541
Aws::WorkMail::Model::AccessControlRule::GetDescription
const Aws::String & GetDescription() const
Definition: AccessControlRule.h:119
Aws::WorkMail::Model::AccessControlRule::NotUserIdsHasBeenSet
bool NotUserIdsHasBeenSet() const
Definition: AccessControlRule.h:449
Aws::WorkMail::Model::AccessControlRule::SetDescription
void SetDescription(Aws::String &&value)
Definition: AccessControlRule.h:134
Aws::WorkMail::Model::AccessControlRule::AddUserIds
AccessControlRule & AddUserIds(const char *value)
Definition: AccessControlRule.h:438
Aws::WorkMail::Model::AccessControlRule::GetName
const Aws::String & GetName() const
Definition: AccessControlRule.h:47
Aws::WorkMail::Model::AccessControlRule::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AccessControlRule.h:52
Aws::WorkMail::Model::AccessControlRule::SetActions
void SetActions(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:271
Aws::WorkMail::Model::AccessControlRule::DateCreatedHasBeenSet
bool DateCreatedHasBeenSet() const
Definition: AccessControlRule.h:495
Aws::WorkMail::Model::AccessControlRule::WithUserIds
AccessControlRule & WithUserIds(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:423
Aws::WorkMail::Model::AccessControlRule::WithDescription
AccessControlRule & WithDescription(const char *value)
Definition: AccessControlRule.h:154
Aws::WorkMail::Model::AccessControlRule::IpRangesHasBeenSet
bool IpRangesHasBeenSet() const
Definition: AccessControlRule.h:165
Aws::WorkMail::Model::AccessControlRule::GetEffect
const AccessControlRuleEffect & GetEffect() const
Definition: AccessControlRule.h:88
Aws::WorkMail::Model::AccessControlRule::GetDateCreated
const Aws::Utils::DateTime & GetDateCreated() const
Definition: AccessControlRule.h:490
Aws::WorkMail::Model::AccessControlRule::WithNotIpRanges
AccessControlRule & WithNotIpRanges(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:231
Aws::WorkMail::Model::AccessControlRule::WithDescription
AccessControlRule & WithDescription(const Aws::String &value)
Definition: AccessControlRule.h:144
Aws::WorkMail::Model::AccessControlRule::AddNotUserIds
AccessControlRule & AddNotUserIds(const char *value)
Definition: AccessControlRule.h:484
Aws::WorkMail::Model::AccessControlRule::WithName
AccessControlRule & WithName(const Aws::String &value)
Definition: AccessControlRule.h:72
Aws::WorkMail::Model::AccessControlRule::AddActions
AccessControlRule & AddActions(const char *value)
Definition: AccessControlRule.h:319
Aws::WorkMail::Model::AccessControlRule::WithName
AccessControlRule & WithName(const char *value)
Definition: AccessControlRule.h:82
Aws::WorkMail::Model::AccessControlRule::SetDateCreated
void SetDateCreated(Aws::Utils::DateTime &&value)
Definition: AccessControlRule.h:505
Aws::WorkMail::Model::AccessControlRule::GetUserIds
const Aws::Vector< Aws::String > & GetUserIds() const
Definition: AccessControlRule.h:398
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::AccessControlRule::SetName
void SetName(const char *value)
Definition: AccessControlRule.h:67
Aws::WorkMail::Model::AccessControlRule::SetEffect
void SetEffect(AccessControlRuleEffect &&value)
Definition: AccessControlRule.h:103
Aws::WorkMail::Model::AccessControlRule::GetIpRanges
const Aws::Vector< Aws::String > & GetIpRanges() const
Definition: AccessControlRule.h:160
Aws::WorkMail::Model::AccessControlRule::GetNotActions
const Aws::Vector< Aws::String > & GetNotActions() const
Definition: AccessControlRule.h:328
Aws::WorkMail::Model::AccessControlRule::AccessControlRule
AccessControlRule(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::AccessControlRule::ActionsHasBeenSet
bool ActionsHasBeenSet() const
Definition: AccessControlRule.h:263
Aws::WorkMail::Model::AccessControlRule::WithDateCreated
AccessControlRule & WithDateCreated(Aws::Utils::DateTime &&value)
Definition: AccessControlRule.h:515
Aws::WorkMail::Model::AccessControlRule::EffectHasBeenSet
bool EffectHasBeenSet() const
Definition: AccessControlRule.h:93
Aws::WorkMail::Model::AccessControlRule::WithDescription
AccessControlRule & WithDescription(Aws::String &&value)
Definition: AccessControlRule.h:149
Aws::WorkMail::Model::AccessControlRule::WithName
AccessControlRule & WithName(Aws::String &&value)
Definition: AccessControlRule.h:77
Aws::WorkMail::Model::AccessControlRule::SetNotUserIds
void SetNotUserIds(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:454
Aws::WorkMail::Model::AccessControlRule::AddActions
AccessControlRule & AddActions(Aws::String &&value)
Definition: AccessControlRule.h:311
Aws::WorkMail::Model::AccessControlRule::SetUserIds
void SetUserIds(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:408
Aws::WorkMail::Model::AccessControlRule::AddIpRanges
AccessControlRule & AddIpRanges(const Aws::String &value)
Definition: AccessControlRule.h:190
Aws::WorkMail::Model::AccessControlRule::AddNotActions
AccessControlRule & AddNotActions(Aws::String &&value)
Definition: AccessControlRule.h:384
Aws::WorkMail::Model::AccessControlRule::AddNotUserIds
AccessControlRule & AddNotUserIds(const Aws::String &value)
Definition: AccessControlRule.h:474
Aws::WorkMail::Model::AccessControlRule::AddNotIpRanges
AccessControlRule & AddNotIpRanges(const char *value)
Definition: AccessControlRule.h:246
Aws::WorkMail::Model::AccessControlRule::WithNotIpRanges
AccessControlRule & WithNotIpRanges(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:226
Aws::WorkMail::Model::AccessControlRule::GetActions
const Aws::Vector< Aws::String > & GetActions() const
Definition: AccessControlRule.h:255
Aws::WorkMail::Model::AccessControlRule::AddActions
AccessControlRule & AddActions(const Aws::String &value)
Definition: AccessControlRule.h:303
Aws::WorkMail::Model::AccessControlRule::AddNotUserIds
AccessControlRule & AddNotUserIds(Aws::String &&value)
Definition: AccessControlRule.h:479
Aws::WorkMail::Model::AccessControlRule::WithNotActions
AccessControlRule & WithNotActions(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:360
Aws::WorkMail::Model::AccessControlRule::SetNotActions
void SetNotActions(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:344
Aws::WorkMail::Model::AccessControlRule::GetNotUserIds
const Aws::Vector< Aws::String > & GetNotUserIds() const
Definition: AccessControlRule.h:444
Aws::WorkMail::Model::AccessControlRule::SetName
void SetName(const Aws::String &value)
Definition: AccessControlRule.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::AccessControlRule
Definition: AccessControlRule.h:36
Aws::WorkMail::Model::AccessControlRule::NotIpRangesHasBeenSet
bool NotIpRangesHasBeenSet() const
Definition: AccessControlRule.h:211
Aws::WorkMail::Model::AccessControlRule::WithIpRanges
AccessControlRule & WithIpRanges(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:180
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::AccessControlRule::NotActionsHasBeenSet
bool NotActionsHasBeenSet() const
Definition: AccessControlRule.h:336
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::AccessControlRule::AddIpRanges
AccessControlRule & AddIpRanges(const char *value)
Definition: AccessControlRule.h:200
Aws::WorkMail::Model::AccessControlRule::SetIpRanges
void SetIpRanges(const Aws::Vector< Aws::String > &value)
Definition: AccessControlRule.h:170
Aws::WorkMail::Model::AccessControlRule::SetActions
void SetActions(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:279
Aws::WorkMail::Model::AccessControlRule::DateModifiedHasBeenSet
bool DateModifiedHasBeenSet() const
Definition: AccessControlRule.h:526
Aws::WorkMail::Model::AccessControlRule::WithEffect
AccessControlRule & WithEffect(const AccessControlRuleEffect &value)
Definition: AccessControlRule.h:108
Aws::WorkMail::Model::AccessControlRule::operator=
AccessControlRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::AccessControlRule::WithIpRanges
AccessControlRule & WithIpRanges(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:185
Aws::WorkMail::Model::AccessControlRule::SetNotIpRanges
void SetNotIpRanges(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:221
Aws::WorkMail::Model::AccessControlRule::SetName
void SetName(Aws::String &&value)
Definition: AccessControlRule.h:62
Aws::WorkMail::Model::AccessControlRule::SetEffect
void SetEffect(const AccessControlRuleEffect &value)
Definition: AccessControlRule.h:98
Aws::WorkMail::Model::AccessControlRule::SetDescription
void SetDescription(const Aws::String &value)
Definition: AccessControlRule.h:129
Aws::WorkMail::Model::AccessControlRule::WithNotActions
AccessControlRule & WithNotActions(Aws::Vector< Aws::String > &&value)
Definition: AccessControlRule.h:368
Aws::WorkMail::Model::AccessControlRule::SetDateModified
void SetDateModified(const Aws::Utils::DateTime &value)
Definition: AccessControlRule.h:531