AWS SDK for C++  1.9.108
AWS SDK for C++
MobileDeviceAccessRule.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& GetMobileDeviceAccessRuleId() const{ return m_mobileDeviceAccessRuleId; }
48 
52  inline bool MobileDeviceAccessRuleIdHasBeenSet() const { return m_mobileDeviceAccessRuleIdHasBeenSet; }
53 
57  inline void SetMobileDeviceAccessRuleId(const Aws::String& value) { m_mobileDeviceAccessRuleIdHasBeenSet = true; m_mobileDeviceAccessRuleId = value; }
58 
62  inline void SetMobileDeviceAccessRuleId(Aws::String&& value) { m_mobileDeviceAccessRuleIdHasBeenSet = true; m_mobileDeviceAccessRuleId = std::move(value); }
63 
67  inline void SetMobileDeviceAccessRuleId(const char* value) { m_mobileDeviceAccessRuleIdHasBeenSet = true; m_mobileDeviceAccessRuleId.assign(value); }
68 
72  inline MobileDeviceAccessRule& WithMobileDeviceAccessRuleId(const Aws::String& value) { SetMobileDeviceAccessRuleId(value); return *this;}
73 
77  inline MobileDeviceAccessRule& WithMobileDeviceAccessRuleId(Aws::String&& value) { SetMobileDeviceAccessRuleId(std::move(value)); return *this;}
78 
82  inline MobileDeviceAccessRule& WithMobileDeviceAccessRuleId(const char* value) { SetMobileDeviceAccessRuleId(value); return *this;}
83 
84 
88  inline const Aws::String& GetName() const{ return m_name; }
89 
93  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 
98  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 
103  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
104 
108  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
109 
113  inline MobileDeviceAccessRule& WithName(const Aws::String& value) { SetName(value); return *this;}
114 
118  inline MobileDeviceAccessRule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
119 
123  inline MobileDeviceAccessRule& WithName(const char* value) { SetName(value); return *this;}
124 
125 
129  inline const Aws::String& GetDescription() const{ return m_description; }
130 
134  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 
139  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 
144  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 
149  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 
154  inline MobileDeviceAccessRule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
155 
159  inline MobileDeviceAccessRule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 
164  inline MobileDeviceAccessRule& WithDescription(const char* value) { SetDescription(value); return *this;}
165 
166 
171  inline const MobileDeviceAccessRuleEffect& GetEffect() const{ return m_effect; }
172 
177  inline bool EffectHasBeenSet() const { return m_effectHasBeenSet; }
178 
183  inline void SetEffect(const MobileDeviceAccessRuleEffect& value) { m_effectHasBeenSet = true; m_effect = value; }
184 
189  inline void SetEffect(MobileDeviceAccessRuleEffect&& value) { m_effectHasBeenSet = true; m_effect = std::move(value); }
190 
195  inline MobileDeviceAccessRule& WithEffect(const MobileDeviceAccessRuleEffect& value) { SetEffect(value); return *this;}
196 
201  inline MobileDeviceAccessRule& WithEffect(MobileDeviceAccessRuleEffect&& value) { SetEffect(std::move(value)); return *this;}
202 
203 
207  inline const Aws::Vector<Aws::String>& GetDeviceTypes() const{ return m_deviceTypes; }
208 
212  inline bool DeviceTypesHasBeenSet() const { return m_deviceTypesHasBeenSet; }
213 
217  inline void SetDeviceTypes(const Aws::Vector<Aws::String>& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes = value; }
218 
222  inline void SetDeviceTypes(Aws::Vector<Aws::String>&& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes = std::move(value); }
223 
227  inline MobileDeviceAccessRule& WithDeviceTypes(const Aws::Vector<Aws::String>& value) { SetDeviceTypes(value); return *this;}
228 
232  inline MobileDeviceAccessRule& WithDeviceTypes(Aws::Vector<Aws::String>&& value) { SetDeviceTypes(std::move(value)); return *this;}
233 
237  inline MobileDeviceAccessRule& AddDeviceTypes(const Aws::String& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes.push_back(value); return *this; }
238 
242  inline MobileDeviceAccessRule& AddDeviceTypes(Aws::String&& value) { m_deviceTypesHasBeenSet = true; m_deviceTypes.push_back(std::move(value)); return *this; }
243 
247  inline MobileDeviceAccessRule& AddDeviceTypes(const char* value) { m_deviceTypesHasBeenSet = true; m_deviceTypes.push_back(value); return *this; }
248 
249 
254  inline const Aws::Vector<Aws::String>& GetNotDeviceTypes() const{ return m_notDeviceTypes; }
255 
260  inline bool NotDeviceTypesHasBeenSet() const { return m_notDeviceTypesHasBeenSet; }
261 
266  inline void SetNotDeviceTypes(const Aws::Vector<Aws::String>& value) { m_notDeviceTypesHasBeenSet = true; m_notDeviceTypes = value; }
267 
272  inline void SetNotDeviceTypes(Aws::Vector<Aws::String>&& value) { m_notDeviceTypesHasBeenSet = true; m_notDeviceTypes = std::move(value); }
273 
278  inline MobileDeviceAccessRule& WithNotDeviceTypes(const Aws::Vector<Aws::String>& value) { SetNotDeviceTypes(value); return *this;}
279 
284  inline MobileDeviceAccessRule& WithNotDeviceTypes(Aws::Vector<Aws::String>&& value) { SetNotDeviceTypes(std::move(value)); return *this;}
285 
290  inline MobileDeviceAccessRule& AddNotDeviceTypes(const Aws::String& value) { m_notDeviceTypesHasBeenSet = true; m_notDeviceTypes.push_back(value); return *this; }
291 
296  inline MobileDeviceAccessRule& AddNotDeviceTypes(Aws::String&& value) { m_notDeviceTypesHasBeenSet = true; m_notDeviceTypes.push_back(std::move(value)); return *this; }
297 
302  inline MobileDeviceAccessRule& AddNotDeviceTypes(const char* value) { m_notDeviceTypesHasBeenSet = true; m_notDeviceTypes.push_back(value); return *this; }
303 
304 
308  inline const Aws::Vector<Aws::String>& GetDeviceModels() const{ return m_deviceModels; }
309 
313  inline bool DeviceModelsHasBeenSet() const { return m_deviceModelsHasBeenSet; }
314 
318  inline void SetDeviceModels(const Aws::Vector<Aws::String>& value) { m_deviceModelsHasBeenSet = true; m_deviceModels = value; }
319 
323  inline void SetDeviceModels(Aws::Vector<Aws::String>&& value) { m_deviceModelsHasBeenSet = true; m_deviceModels = std::move(value); }
324 
328  inline MobileDeviceAccessRule& WithDeviceModels(const Aws::Vector<Aws::String>& value) { SetDeviceModels(value); return *this;}
329 
333  inline MobileDeviceAccessRule& WithDeviceModels(Aws::Vector<Aws::String>&& value) { SetDeviceModels(std::move(value)); return *this;}
334 
338  inline MobileDeviceAccessRule& AddDeviceModels(const Aws::String& value) { m_deviceModelsHasBeenSet = true; m_deviceModels.push_back(value); return *this; }
339 
343  inline MobileDeviceAccessRule& AddDeviceModels(Aws::String&& value) { m_deviceModelsHasBeenSet = true; m_deviceModels.push_back(std::move(value)); return *this; }
344 
348  inline MobileDeviceAccessRule& AddDeviceModels(const char* value) { m_deviceModelsHasBeenSet = true; m_deviceModels.push_back(value); return *this; }
349 
350 
355  inline const Aws::Vector<Aws::String>& GetNotDeviceModels() const{ return m_notDeviceModels; }
356 
361  inline bool NotDeviceModelsHasBeenSet() const { return m_notDeviceModelsHasBeenSet; }
362 
367  inline void SetNotDeviceModels(const Aws::Vector<Aws::String>& value) { m_notDeviceModelsHasBeenSet = true; m_notDeviceModels = value; }
368 
373  inline void SetNotDeviceModels(Aws::Vector<Aws::String>&& value) { m_notDeviceModelsHasBeenSet = true; m_notDeviceModels = std::move(value); }
374 
379  inline MobileDeviceAccessRule& WithNotDeviceModels(const Aws::Vector<Aws::String>& value) { SetNotDeviceModels(value); return *this;}
380 
385  inline MobileDeviceAccessRule& WithNotDeviceModels(Aws::Vector<Aws::String>&& value) { SetNotDeviceModels(std::move(value)); return *this;}
386 
391  inline MobileDeviceAccessRule& AddNotDeviceModels(const Aws::String& value) { m_notDeviceModelsHasBeenSet = true; m_notDeviceModels.push_back(value); return *this; }
392 
397  inline MobileDeviceAccessRule& AddNotDeviceModels(Aws::String&& value) { m_notDeviceModelsHasBeenSet = true; m_notDeviceModels.push_back(std::move(value)); return *this; }
398 
403  inline MobileDeviceAccessRule& AddNotDeviceModels(const char* value) { m_notDeviceModelsHasBeenSet = true; m_notDeviceModels.push_back(value); return *this; }
404 
405 
409  inline const Aws::Vector<Aws::String>& GetDeviceOperatingSystems() const{ return m_deviceOperatingSystems; }
410 
414  inline bool DeviceOperatingSystemsHasBeenSet() const { return m_deviceOperatingSystemsHasBeenSet; }
415 
419  inline void SetDeviceOperatingSystems(const Aws::Vector<Aws::String>& value) { m_deviceOperatingSystemsHasBeenSet = true; m_deviceOperatingSystems = value; }
420 
424  inline void SetDeviceOperatingSystems(Aws::Vector<Aws::String>&& value) { m_deviceOperatingSystemsHasBeenSet = true; m_deviceOperatingSystems = std::move(value); }
425 
429  inline MobileDeviceAccessRule& WithDeviceOperatingSystems(const Aws::Vector<Aws::String>& value) { SetDeviceOperatingSystems(value); return *this;}
430 
434  inline MobileDeviceAccessRule& WithDeviceOperatingSystems(Aws::Vector<Aws::String>&& value) { SetDeviceOperatingSystems(std::move(value)); return *this;}
435 
439  inline MobileDeviceAccessRule& AddDeviceOperatingSystems(const Aws::String& value) { m_deviceOperatingSystemsHasBeenSet = true; m_deviceOperatingSystems.push_back(value); return *this; }
440 
444  inline MobileDeviceAccessRule& AddDeviceOperatingSystems(Aws::String&& value) { m_deviceOperatingSystemsHasBeenSet = true; m_deviceOperatingSystems.push_back(std::move(value)); return *this; }
445 
449  inline MobileDeviceAccessRule& AddDeviceOperatingSystems(const char* value) { m_deviceOperatingSystemsHasBeenSet = true; m_deviceOperatingSystems.push_back(value); return *this; }
450 
451 
456  inline const Aws::Vector<Aws::String>& GetNotDeviceOperatingSystems() const{ return m_notDeviceOperatingSystems; }
457 
462  inline bool NotDeviceOperatingSystemsHasBeenSet() const { return m_notDeviceOperatingSystemsHasBeenSet; }
463 
468  inline void SetNotDeviceOperatingSystems(const Aws::Vector<Aws::String>& value) { m_notDeviceOperatingSystemsHasBeenSet = true; m_notDeviceOperatingSystems = value; }
469 
474  inline void SetNotDeviceOperatingSystems(Aws::Vector<Aws::String>&& value) { m_notDeviceOperatingSystemsHasBeenSet = true; m_notDeviceOperatingSystems = std::move(value); }
475 
480  inline MobileDeviceAccessRule& WithNotDeviceOperatingSystems(const Aws::Vector<Aws::String>& value) { SetNotDeviceOperatingSystems(value); return *this;}
481 
486  inline MobileDeviceAccessRule& WithNotDeviceOperatingSystems(Aws::Vector<Aws::String>&& value) { SetNotDeviceOperatingSystems(std::move(value)); return *this;}
487 
492  inline MobileDeviceAccessRule& AddNotDeviceOperatingSystems(const Aws::String& value) { m_notDeviceOperatingSystemsHasBeenSet = true; m_notDeviceOperatingSystems.push_back(value); return *this; }
493 
498  inline MobileDeviceAccessRule& AddNotDeviceOperatingSystems(Aws::String&& value) { m_notDeviceOperatingSystemsHasBeenSet = true; m_notDeviceOperatingSystems.push_back(std::move(value)); return *this; }
499 
504  inline MobileDeviceAccessRule& AddNotDeviceOperatingSystems(const char* value) { m_notDeviceOperatingSystemsHasBeenSet = true; m_notDeviceOperatingSystems.push_back(value); return *this; }
505 
506 
510  inline const Aws::Vector<Aws::String>& GetDeviceUserAgents() const{ return m_deviceUserAgents; }
511 
515  inline bool DeviceUserAgentsHasBeenSet() const { return m_deviceUserAgentsHasBeenSet; }
516 
520  inline void SetDeviceUserAgents(const Aws::Vector<Aws::String>& value) { m_deviceUserAgentsHasBeenSet = true; m_deviceUserAgents = value; }
521 
525  inline void SetDeviceUserAgents(Aws::Vector<Aws::String>&& value) { m_deviceUserAgentsHasBeenSet = true; m_deviceUserAgents = std::move(value); }
526 
530  inline MobileDeviceAccessRule& WithDeviceUserAgents(const Aws::Vector<Aws::String>& value) { SetDeviceUserAgents(value); return *this;}
531 
535  inline MobileDeviceAccessRule& WithDeviceUserAgents(Aws::Vector<Aws::String>&& value) { SetDeviceUserAgents(std::move(value)); return *this;}
536 
540  inline MobileDeviceAccessRule& AddDeviceUserAgents(const Aws::String& value) { m_deviceUserAgentsHasBeenSet = true; m_deviceUserAgents.push_back(value); return *this; }
541 
545  inline MobileDeviceAccessRule& AddDeviceUserAgents(Aws::String&& value) { m_deviceUserAgentsHasBeenSet = true; m_deviceUserAgents.push_back(std::move(value)); return *this; }
546 
550  inline MobileDeviceAccessRule& AddDeviceUserAgents(const char* value) { m_deviceUserAgentsHasBeenSet = true; m_deviceUserAgents.push_back(value); return *this; }
551 
552 
557  inline const Aws::Vector<Aws::String>& GetNotDeviceUserAgents() const{ return m_notDeviceUserAgents; }
558 
563  inline bool NotDeviceUserAgentsHasBeenSet() const { return m_notDeviceUserAgentsHasBeenSet; }
564 
569  inline void SetNotDeviceUserAgents(const Aws::Vector<Aws::String>& value) { m_notDeviceUserAgentsHasBeenSet = true; m_notDeviceUserAgents = value; }
570 
575  inline void SetNotDeviceUserAgents(Aws::Vector<Aws::String>&& value) { m_notDeviceUserAgentsHasBeenSet = true; m_notDeviceUserAgents = std::move(value); }
576 
581  inline MobileDeviceAccessRule& WithNotDeviceUserAgents(const Aws::Vector<Aws::String>& value) { SetNotDeviceUserAgents(value); return *this;}
582 
587  inline MobileDeviceAccessRule& WithNotDeviceUserAgents(Aws::Vector<Aws::String>&& value) { SetNotDeviceUserAgents(std::move(value)); return *this;}
588 
593  inline MobileDeviceAccessRule& AddNotDeviceUserAgents(const Aws::String& value) { m_notDeviceUserAgentsHasBeenSet = true; m_notDeviceUserAgents.push_back(value); return *this; }
594 
599  inline MobileDeviceAccessRule& AddNotDeviceUserAgents(Aws::String&& value) { m_notDeviceUserAgentsHasBeenSet = true; m_notDeviceUserAgents.push_back(std::move(value)); return *this; }
600 
605  inline MobileDeviceAccessRule& AddNotDeviceUserAgents(const char* value) { m_notDeviceUserAgentsHasBeenSet = true; m_notDeviceUserAgents.push_back(value); return *this; }
606 
607 
611  inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
612 
616  inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
617 
621  inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
622 
626  inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
627 
631  inline MobileDeviceAccessRule& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;}
632 
636  inline MobileDeviceAccessRule& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
637 
638 
642  inline const Aws::Utils::DateTime& GetDateModified() const{ return m_dateModified; }
643 
647  inline bool DateModifiedHasBeenSet() const { return m_dateModifiedHasBeenSet; }
648 
652  inline void SetDateModified(const Aws::Utils::DateTime& value) { m_dateModifiedHasBeenSet = true; m_dateModified = value; }
653 
657  inline void SetDateModified(Aws::Utils::DateTime&& value) { m_dateModifiedHasBeenSet = true; m_dateModified = std::move(value); }
658 
662  inline MobileDeviceAccessRule& WithDateModified(const Aws::Utils::DateTime& value) { SetDateModified(value); return *this;}
663 
667  inline MobileDeviceAccessRule& WithDateModified(Aws::Utils::DateTime&& value) { SetDateModified(std::move(value)); return *this;}
668 
669  private:
670 
671  Aws::String m_mobileDeviceAccessRuleId;
672  bool m_mobileDeviceAccessRuleIdHasBeenSet;
673 
674  Aws::String m_name;
675  bool m_nameHasBeenSet;
676 
677  Aws::String m_description;
678  bool m_descriptionHasBeenSet;
679 
681  bool m_effectHasBeenSet;
682 
683  Aws::Vector<Aws::String> m_deviceTypes;
684  bool m_deviceTypesHasBeenSet;
685 
686  Aws::Vector<Aws::String> m_notDeviceTypes;
687  bool m_notDeviceTypesHasBeenSet;
688 
689  Aws::Vector<Aws::String> m_deviceModels;
690  bool m_deviceModelsHasBeenSet;
691 
692  Aws::Vector<Aws::String> m_notDeviceModels;
693  bool m_notDeviceModelsHasBeenSet;
694 
695  Aws::Vector<Aws::String> m_deviceOperatingSystems;
696  bool m_deviceOperatingSystemsHasBeenSet;
697 
698  Aws::Vector<Aws::String> m_notDeviceOperatingSystems;
699  bool m_notDeviceOperatingSystemsHasBeenSet;
700 
701  Aws::Vector<Aws::String> m_deviceUserAgents;
702  bool m_deviceUserAgentsHasBeenSet;
703 
704  Aws::Vector<Aws::String> m_notDeviceUserAgents;
705  bool m_notDeviceUserAgentsHasBeenSet;
706 
707  Aws::Utils::DateTime m_dateCreated;
708  bool m_dateCreatedHasBeenSet;
709 
710  Aws::Utils::DateTime m_dateModified;
711  bool m_dateModifiedHasBeenSet;
712  };
713 
714 } // namespace Model
715 } // namespace WorkMail
716 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceTypes
MobileDeviceAccessRule & WithNotDeviceTypes(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:278
Aws::WorkMail::Model::MobileDeviceAccessRule::DeviceUserAgentsHasBeenSet
bool DeviceUserAgentsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:515
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDescription
MobileDeviceAccessRule & WithDescription(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:154
Aws::WorkMail::Model::MobileDeviceAccessRule::SetMobileDeviceAccessRuleId
void SetMobileDeviceAccessRuleId(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:62
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceUserAgents
MobileDeviceAccessRule & AddDeviceUserAgents(const char *value)
Definition: MobileDeviceAccessRule.h:550
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceModels
MobileDeviceAccessRule & AddNotDeviceModels(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:397
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceModels
MobileDeviceAccessRule & WithDeviceModels(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:328
Aws::WorkMail::Model::MobileDeviceAccessRule::MobileDeviceAccessRuleIdHasBeenSet
bool MobileDeviceAccessRuleIdHasBeenSet() const
Definition: MobileDeviceAccessRule.h:52
Aws::WorkMail::Model::MobileDeviceAccessRule::GetEffect
const MobileDeviceAccessRuleEffect & GetEffect() const
Definition: MobileDeviceAccessRule.h:171
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDeviceModels
const Aws::Vector< Aws::String > & GetDeviceModels() const
Definition: MobileDeviceAccessRule.h:308
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceUserAgents
MobileDeviceAccessRule & AddNotDeviceUserAgents(const char *value)
Definition: MobileDeviceAccessRule.h:605
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDateCreated
void SetDateCreated(Aws::Utils::DateTime &&value)
Definition: MobileDeviceAccessRule.h:626
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceTypes
MobileDeviceAccessRule & WithDeviceTypes(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:232
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDescription
void SetDescription(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:144
Aws::WorkMail::Model::MobileDeviceAccessRule::SetEffect
void SetEffect(MobileDeviceAccessRuleEffect &&value)
Definition: MobileDeviceAccessRule.h:189
Aws::WorkMail::Model::MobileDeviceAccessRule
Definition: MobileDeviceAccessRule.h:36
Aws::WorkMail::Model::MobileDeviceAccessRule::GetNotDeviceOperatingSystems
const Aws::Vector< Aws::String > & GetNotDeviceOperatingSystems() const
Definition: MobileDeviceAccessRule.h:456
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceOperatingSystems
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(const char *value)
Definition: MobileDeviceAccessRule.h:504
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceOperatingSystems
MobileDeviceAccessRule & AddDeviceOperatingSystems(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:444
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDeviceOperatingSystems
const Aws::Vector< Aws::String > & GetDeviceOperatingSystems() const
Definition: MobileDeviceAccessRule.h:409
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceTypes
void SetDeviceTypes(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:222
Aws::WorkMail::Model::MobileDeviceAccessRule::SetMobileDeviceAccessRuleId
void SetMobileDeviceAccessRuleId(const char *value)
Definition: MobileDeviceAccessRule.h:67
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceTypes
MobileDeviceAccessRule & AddNotDeviceTypes(const char *value)
Definition: MobileDeviceAccessRule.h:302
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceModels
void SetDeviceModels(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:323
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceUserAgents
void SetDeviceUserAgents(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:520
DateTime.h
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceUserAgents
MobileDeviceAccessRule & WithDeviceUserAgents(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:535
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceModels
void SetNotDeviceModels(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:373
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceOperatingSystems
MobileDeviceAccessRule & WithNotDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:480
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceModels
MobileDeviceAccessRule & AddNotDeviceModels(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:391
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceOperatingSystems
MobileDeviceAccessRule & WithNotDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:486
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceUserAgents
void SetNotDeviceUserAgents(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:569
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDateModified
const Aws::Utils::DateTime & GetDateModified() const
Definition: MobileDeviceAccessRule.h:642
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceTypes
MobileDeviceAccessRule & AddNotDeviceTypes(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:290
Aws::WorkMail::Model::MobileDeviceAccessRule::DateCreatedHasBeenSet
bool DateCreatedHasBeenSet() const
Definition: MobileDeviceAccessRule.h:616
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceModels
MobileDeviceAccessRule & WithNotDeviceModels(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:379
WorkMail_EXPORTS.h
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceUserAgents
void SetDeviceUserAgents(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:525
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDescription
void SetDescription(const char *value)
Definition: MobileDeviceAccessRule.h:149
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceUserAgents
MobileDeviceAccessRule & AddNotDeviceUserAgents(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:593
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceTypes
MobileDeviceAccessRule & AddDeviceTypes(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:237
Aws::WorkMail::Model::MobileDeviceAccessRule::GetNotDeviceUserAgents
const Aws::Vector< Aws::String > & GetNotDeviceUserAgents() const
Definition: MobileDeviceAccessRule.h:557
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceOperatingSystems
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:492
AWSVector.h
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceUserAgents
MobileDeviceAccessRule & WithNotDeviceUserAgents(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:581
Aws::WorkMail::Model::MobileDeviceAccessRule::operator=
MobileDeviceAccessRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDescription
MobileDeviceAccessRule & WithDescription(const char *value)
Definition: MobileDeviceAccessRule.h:164
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDeviceUserAgents
const Aws::Vector< Aws::String > & GetDeviceUserAgents() const
Definition: MobileDeviceAccessRule.h:510
Aws::WorkMail::Model::MobileDeviceAccessRule::SetEffect
void SetEffect(const MobileDeviceAccessRuleEffect &value)
Definition: MobileDeviceAccessRule.h:183
Aws::WorkMail::Model::MobileDeviceAccessRule::WithName
MobileDeviceAccessRule & WithName(const char *value)
Definition: MobileDeviceAccessRule.h:123
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceUserAgents
MobileDeviceAccessRule & AddDeviceUserAgents(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:545
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceModels
MobileDeviceAccessRule & AddNotDeviceModels(const char *value)
Definition: MobileDeviceAccessRule.h:403
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceModels
MobileDeviceAccessRule & AddDeviceModels(const char *value)
Definition: MobileDeviceAccessRule.h:348
Aws::WorkMail::Model::MobileDeviceAccessRule::NameHasBeenSet
bool NameHasBeenSet() const
Definition: MobileDeviceAccessRule.h:93
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceTypes
void SetDeviceTypes(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:217
Aws::WorkMail::Model::MobileDeviceAccessRule::DeviceTypesHasBeenSet
bool DeviceTypesHasBeenSet() const
Definition: MobileDeviceAccessRule.h:212
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceModels
MobileDeviceAccessRule & AddDeviceModels(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:343
Aws::WorkMail::Model::MobileDeviceAccessRule::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: MobileDeviceAccessRule.h:134
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceUserAgents
MobileDeviceAccessRule & WithDeviceUserAgents(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:530
Aws::WorkMail::Model::MobileDeviceAccessRule::MobileDeviceAccessRule
MobileDeviceAccessRule()
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceUserAgents
MobileDeviceAccessRule & AddNotDeviceUserAgents(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:599
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceOperatingSystems
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:498
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDescription
const Aws::String & GetDescription() const
Definition: MobileDeviceAccessRule.h:129
Aws::WorkMail::Model::MobileDeviceAccessRule::SetMobileDeviceAccessRuleId
void SetMobileDeviceAccessRuleId(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:57
Aws::WorkMail::Model::MobileDeviceAccessRule::WithMobileDeviceAccessRuleId
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:77
Aws::WorkMail::Model::MobileDeviceAccessRule::GetNotDeviceTypes
const Aws::Vector< Aws::String > & GetNotDeviceTypes() const
Definition: MobileDeviceAccessRule.h:254
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDateCreated
void SetDateCreated(const Aws::Utils::DateTime &value)
Definition: MobileDeviceAccessRule.h:621
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceTypes
MobileDeviceAccessRule & AddDeviceTypes(const char *value)
Definition: MobileDeviceAccessRule.h:247
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceTypes
void SetNotDeviceTypes(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:272
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceModels
MobileDeviceAccessRule & WithDeviceModels(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:333
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDescription
void SetDescription(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:139
Aws::WorkMail::Model::MobileDeviceAccessRule::EffectHasBeenSet
bool EffectHasBeenSet() const
Definition: MobileDeviceAccessRule.h:177
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::WorkMail::Model::MobileDeviceAccessRule::GetNotDeviceModels
const Aws::Vector< Aws::String > & GetNotDeviceModels() const
Definition: MobileDeviceAccessRule.h:355
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDateCreated
MobileDeviceAccessRule & WithDateCreated(Aws::Utils::DateTime &&value)
Definition: MobileDeviceAccessRule.h:636
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceTypes
void SetNotDeviceTypes(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:266
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceModels
MobileDeviceAccessRule & AddDeviceModels(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:338
Aws::WorkMail::Model::MobileDeviceAccessRule::WithName
MobileDeviceAccessRule & WithName(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:118
MobileDeviceAccessRuleEffect.h
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceOperatingSystems
void SetNotDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:468
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDateModified
void SetDateModified(Aws::Utils::DateTime &&value)
Definition: MobileDeviceAccessRule.h:657
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceOperatingSystems
void SetDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:419
Aws::WorkMail::Model::MobileDeviceAccessRule::WithMobileDeviceAccessRuleId
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(const char *value)
Definition: MobileDeviceAccessRule.h:82
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDescription
MobileDeviceAccessRule & WithDescription(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:159
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDateModified
MobileDeviceAccessRule & WithDateModified(const Aws::Utils::DateTime &value)
Definition: MobileDeviceAccessRule.h:662
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDateCreated
MobileDeviceAccessRule & WithDateCreated(const Aws::Utils::DateTime &value)
Definition: MobileDeviceAccessRule.h:631
Aws::WorkMail::Model::MobileDeviceAccessRule::GetMobileDeviceAccessRuleId
const Aws::String & GetMobileDeviceAccessRuleId() const
Definition: MobileDeviceAccessRule.h:47
Aws::WorkMail::Model::MobileDeviceAccessRule::NotDeviceOperatingSystemsHasBeenSet
bool NotDeviceOperatingSystemsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:462
Aws::WorkMail::Model::MobileDeviceAccessRule::NotDeviceTypesHasBeenSet
bool NotDeviceTypesHasBeenSet() const
Definition: MobileDeviceAccessRule.h:260
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDeviceTypes
const Aws::Vector< Aws::String > & GetDeviceTypes() const
Definition: MobileDeviceAccessRule.h:207
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceUserAgents
void SetNotDeviceUserAgents(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:575
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceTypes
MobileDeviceAccessRule & WithNotDeviceTypes(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:284
Aws::WorkMail::Model::MobileDeviceAccessRule::WithEffect
MobileDeviceAccessRule & WithEffect(const MobileDeviceAccessRuleEffect &value)
Definition: MobileDeviceAccessRule.h:195
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceOperatingSystems
void SetNotDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:474
Aws::WorkMail::Model::MobileDeviceAccessRule::MobileDeviceAccessRule
MobileDeviceAccessRule(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkMail::Model::MobileDeviceAccessRule::DeviceModelsHasBeenSet
bool DeviceModelsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:313
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceModels
void SetDeviceModels(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:318
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceModels
MobileDeviceAccessRule & WithNotDeviceModels(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:385
Aws::WorkMail::Model::MobileDeviceAccessRule::GetDateCreated
const Aws::Utils::DateTime & GetDateCreated() const
Definition: MobileDeviceAccessRule.h:611
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::WorkMail::Model::MobileDeviceAccessRule::SetNotDeviceModels
void SetNotDeviceModels(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:367
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDeviceOperatingSystems
void SetDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:424
Aws::WorkMail::Model::MobileDeviceAccessRule::NotDeviceModelsHasBeenSet
bool NotDeviceModelsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:361
Aws::WorkMail::Model::MobileDeviceAccessRule::DeviceOperatingSystemsHasBeenSet
bool DeviceOperatingSystemsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:414
Aws::WorkMail::Model::MobileDeviceAccessRule::WithNotDeviceUserAgents
MobileDeviceAccessRule & WithNotDeviceUserAgents(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:587
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceOperatingSystems
MobileDeviceAccessRule & AddDeviceOperatingSystems(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:439
Aws::WorkMail::Model::MobileDeviceAccessRuleEffect
MobileDeviceAccessRuleEffect
Definition: MobileDeviceAccessRuleEffect.h:17
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceOperatingSystems
MobileDeviceAccessRule & WithDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
Definition: MobileDeviceAccessRule.h:434
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceOperatingSystems
MobileDeviceAccessRule & AddDeviceOperatingSystems(const char *value)
Definition: MobileDeviceAccessRule.h:449
Aws::WorkMail::Model::MobileDeviceAccessRule::DateModifiedHasBeenSet
bool DateModifiedHasBeenSet() const
Definition: MobileDeviceAccessRule.h:647
Aws::WorkMail::Model::MobileDeviceAccessRule::SetName
void SetName(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:98
Aws::WorkMail::Model::MobileDeviceAccessRule::SetName
void SetName(const char *value)
Definition: MobileDeviceAccessRule.h:108
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceTypes
MobileDeviceAccessRule & AddDeviceTypes(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:242
Aws::WorkMail::Model::MobileDeviceAccessRule::AddDeviceUserAgents
MobileDeviceAccessRule & AddDeviceUserAgents(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:540
Aws::WorkMail::Model::MobileDeviceAccessRule::WithName
MobileDeviceAccessRule & WithName(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:113
Aws::WorkMail::Model::MobileDeviceAccessRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDateModified
MobileDeviceAccessRule & WithDateModified(Aws::Utils::DateTime &&value)
Definition: MobileDeviceAccessRule.h:667
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceTypes
MobileDeviceAccessRule & WithDeviceTypes(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:227
Aws::WorkMail::Model::MobileDeviceAccessRule::NotDeviceUserAgentsHasBeenSet
bool NotDeviceUserAgentsHasBeenSet() const
Definition: MobileDeviceAccessRule.h:563
Aws::WorkMail::Model::MobileDeviceAccessRule::AddNotDeviceTypes
MobileDeviceAccessRule & AddNotDeviceTypes(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:296
Aws::WorkMail::Model::MobileDeviceAccessRule::WithMobileDeviceAccessRuleId
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(const Aws::String &value)
Definition: MobileDeviceAccessRule.h:72
Aws::WorkMail::Model::MobileDeviceAccessRule::SetDateModified
void SetDateModified(const Aws::Utils::DateTime &value)
Definition: MobileDeviceAccessRule.h:652
Aws::WorkMail::Model::MobileDeviceAccessRule::WithDeviceOperatingSystems
MobileDeviceAccessRule & WithDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
Definition: MobileDeviceAccessRule.h:429
Aws::WorkMail::Model::MobileDeviceAccessRule::WithEffect
MobileDeviceAccessRule & WithEffect(MobileDeviceAccessRuleEffect &&value)
Definition: MobileDeviceAccessRule.h:201
Aws::WorkMail::Model::MobileDeviceAccessRule::SetName
void SetName(Aws::String &&value)
Definition: MobileDeviceAccessRule.h:103
Aws::WorkMail::Model::MobileDeviceAccessRule::GetName
const Aws::String & GetName() const
Definition: MobileDeviceAccessRule.h:88