7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/MobileDeviceAccessRuleEffect.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename MobileDeviceAccessRuleIdT = Aws::String>
51 void SetMobileDeviceAccessRuleId(MobileDeviceAccessRuleIdT&& value) { m_mobileDeviceAccessRuleIdHasBeenSet =
true; m_mobileDeviceAccessRuleId = std::forward<MobileDeviceAccessRuleIdT>(value); }
52 template<
typename MobileDeviceAccessRuleIdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
74 template<
typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
76 template<
typename DescriptionT = Aws::String>
97 template<
typename DeviceTypesT = Aws::Vector<Aws::String>>
98 void SetDeviceTypes(DeviceTypesT&& value) { m_deviceTypesHasBeenSet =
true; m_deviceTypes = std::forward<DeviceTypesT>(value); }
99 template<
typename DeviceTypesT = Aws::Vector<Aws::String>>
101 template<
typename DeviceTypesT = Aws::String>
112 template<
typename NotDeviceTypesT = Aws::Vector<Aws::String>>
113 void SetNotDeviceTypes(NotDeviceTypesT&& value) { m_notDeviceTypesHasBeenSet =
true; m_notDeviceTypes = std::forward<NotDeviceTypesT>(value); }
114 template<
typename NotDeviceTypesT = Aws::Vector<Aws::String>>
116 template<
typename NotDeviceTypesT = Aws::String>
126 template<
typename DeviceModelsT = Aws::Vector<Aws::String>>
127 void SetDeviceModels(DeviceModelsT&& value) { m_deviceModelsHasBeenSet =
true; m_deviceModels = std::forward<DeviceModelsT>(value); }
128 template<
typename DeviceModelsT = Aws::Vector<Aws::String>>
130 template<
typename DeviceModelsT = Aws::String>
141 template<
typename NotDeviceModelsT = Aws::Vector<Aws::String>>
142 void SetNotDeviceModels(NotDeviceModelsT&& value) { m_notDeviceModelsHasBeenSet =
true; m_notDeviceModels = std::forward<NotDeviceModelsT>(value); }
143 template<
typename NotDeviceModelsT = Aws::Vector<Aws::String>>
145 template<
typename NotDeviceModelsT = Aws::String>
155 template<
typename DeviceOperatingSystemsT = Aws::Vector<Aws::String>>
156 void SetDeviceOperatingSystems(DeviceOperatingSystemsT&& value) { m_deviceOperatingSystemsHasBeenSet =
true; m_deviceOperatingSystems = std::forward<DeviceOperatingSystemsT>(value); }
157 template<
typename DeviceOperatingSystemsT = Aws::Vector<Aws::String>>
159 template<
typename DeviceOperatingSystemsT = Aws::String>
170 template<
typename NotDeviceOperatingSystemsT = Aws::Vector<Aws::String>>
171 void SetNotDeviceOperatingSystems(NotDeviceOperatingSystemsT&& value) { m_notDeviceOperatingSystemsHasBeenSet =
true; m_notDeviceOperatingSystems = std::forward<NotDeviceOperatingSystemsT>(value); }
172 template<
typename NotDeviceOperatingSystemsT = Aws::Vector<Aws::String>>
174 template<
typename NotDeviceOperatingSystemsT = Aws::String>
184 template<
typename DeviceUserAgentsT = Aws::Vector<Aws::String>>
185 void SetDeviceUserAgents(DeviceUserAgentsT&& value) { m_deviceUserAgentsHasBeenSet =
true; m_deviceUserAgents = std::forward<DeviceUserAgentsT>(value); }
186 template<
typename DeviceUserAgentsT = Aws::Vector<Aws::String>>
188 template<
typename DeviceUserAgentsT = Aws::String>
199 template<
typename NotDeviceUserAgentsT = Aws::Vector<Aws::String>>
200 void SetNotDeviceUserAgents(NotDeviceUserAgentsT&& value) { m_notDeviceUserAgentsHasBeenSet =
true; m_notDeviceUserAgents = std::forward<NotDeviceUserAgentsT>(value); }
201 template<
typename NotDeviceUserAgentsT = Aws::Vector<Aws::String>>
203 template<
typename NotDeviceUserAgentsT = Aws::String>
213 template<
typename DateCreatedT = Aws::Utils::DateTime>
214 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet =
true; m_dateCreated = std::forward<DateCreatedT>(value); }
215 template<
typename DateCreatedT = Aws::Utils::DateTime>
225 template<
typename DateModifiedT = Aws::Utils::DateTime>
226 void SetDateModified(DateModifiedT&& value) { m_dateModifiedHasBeenSet =
true; m_dateModified = std::forward<DateModifiedT>(value); }
227 template<
typename DateModifiedT = Aws::Utils::DateTime>
233 bool m_mobileDeviceAccessRuleIdHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
242 bool m_effectHasBeenSet =
false;
245 bool m_deviceTypesHasBeenSet =
false;
248 bool m_notDeviceTypesHasBeenSet =
false;
251 bool m_deviceModelsHasBeenSet =
false;
254 bool m_notDeviceModelsHasBeenSet =
false;
257 bool m_deviceOperatingSystemsHasBeenSet =
false;
260 bool m_notDeviceOperatingSystemsHasBeenSet =
false;
263 bool m_deviceUserAgentsHasBeenSet =
false;
266 bool m_notDeviceUserAgentsHasBeenSet =
false;
269 bool m_dateCreatedHasBeenSet =
false;
272 bool m_dateModifiedHasBeenSet =
false;
AWS_WORKMAIL_API MobileDeviceAccessRule()=default
AWS_WORKMAIL_API MobileDeviceAccessRule(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceUserAgents(DeviceUserAgentsT &&value)
const Aws::Vector< Aws::String > & GetNotDeviceOperatingSystems() const
const Aws::Vector< Aws::String > & GetNotDeviceTypes() const
MobileDeviceAccessRule & WithDeviceOperatingSystems(DeviceOperatingSystemsT &&value)
void SetNotDeviceOperatingSystems(NotDeviceOperatingSystemsT &&value)
AWS_WORKMAIL_API MobileDeviceAccessRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceOperatingSystems(DeviceOperatingSystemsT &&value)
bool MobileDeviceAccessRuleIdHasBeenSet() const
MobileDeviceAccessRule & WithName(NameT &&value)
MobileDeviceAccessRule & WithDescription(DescriptionT &&value)
void SetDeviceModels(DeviceModelsT &&value)
MobileDeviceAccessRule & WithDeviceUserAgents(DeviceUserAgentsT &&value)
void SetDateModified(DateModifiedT &&value)
const Aws::Utils::DateTime & GetDateCreated() const
MobileDeviceAccessRule & WithNotDeviceUserAgents(NotDeviceUserAgentsT &&value)
const Aws::String & GetMobileDeviceAccessRuleId() const
bool NotDeviceModelsHasBeenSet() const
const Aws::String & GetName() const
bool DeviceModelsHasBeenSet() const
MobileDeviceAccessRule & WithDeviceModels(DeviceModelsT &&value)
bool DateModifiedHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool NotDeviceUserAgentsHasBeenSet() const
bool NameHasBeenSet() const
bool DeviceTypesHasBeenSet() const
const Aws::Utils::DateTime & GetDateModified() const
bool DeviceOperatingSystemsHasBeenSet() const
bool NotDeviceOperatingSystemsHasBeenSet() const
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(MobileDeviceAccessRuleIdT &&value)
const Aws::Vector< Aws::String > & GetDeviceTypes() const
bool DeviceUserAgentsHasBeenSet() const
MobileDeviceAccessRule & WithDateCreated(DateCreatedT &&value)
bool NotDeviceTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetNotDeviceUserAgents() const
const Aws::Vector< Aws::String > & GetNotDeviceModels() const
void SetMobileDeviceAccessRuleId(MobileDeviceAccessRuleIdT &&value)
MobileDeviceAccessRule & AddNotDeviceUserAgents(NotDeviceUserAgentsT &&value)
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(NotDeviceOperatingSystemsT &&value)
MobileDeviceAccessRule & WithNotDeviceModels(NotDeviceModelsT &&value)
MobileDeviceAccessRule & AddDeviceTypes(DeviceTypesT &&value)
MobileDeviceAccessRule & WithDeviceTypes(DeviceTypesT &&value)
MobileDeviceAccessRule & AddNotDeviceModels(NotDeviceModelsT &&value)
void SetNotDeviceTypes(NotDeviceTypesT &&value)
void SetNotDeviceModels(NotDeviceModelsT &&value)
void SetDateCreated(DateCreatedT &&value)
const Aws::Vector< Aws::String > & GetDeviceUserAgents() const
bool DateCreatedHasBeenSet() const
MobileDeviceAccessRule & AddDeviceOperatingSystems(DeviceOperatingSystemsT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
MobileDeviceAccessRule & WithDateModified(DateModifiedT &&value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeviceTypes(DeviceTypesT &&value)
MobileDeviceAccessRule & WithEffect(MobileDeviceAccessRuleEffect value)
MobileDeviceAccessRule & AddNotDeviceTypes(NotDeviceTypesT &&value)
const Aws::Vector< Aws::String > & GetDeviceModels() const
MobileDeviceAccessRule & AddDeviceModels(DeviceModelsT &&value)
MobileDeviceAccessRuleEffect GetEffect() const
MobileDeviceAccessRule & WithNotDeviceOperatingSystems(NotDeviceOperatingSystemsT &&value)
const Aws::Vector< Aws::String > & GetDeviceOperatingSystems() const
MobileDeviceAccessRule & WithNotDeviceTypes(NotDeviceTypesT &&value)
MobileDeviceAccessRule & AddDeviceUserAgents(DeviceUserAgentsT &&value)
void SetEffect(MobileDeviceAccessRuleEffect value)
void SetName(NameT &&value)
void SetNotDeviceUserAgents(NotDeviceUserAgentsT &&value)
bool EffectHasBeenSet() const
MobileDeviceAccessRuleEffect
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue