7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/workmail/WorkMail_EXPORTS.h>
11#include <aws/workmail/model/MobileDeviceAccessRuleEffect.h>
44 template <
typename MobileDeviceAccessRuleIdT = Aws::String>
46 m_mobileDeviceAccessRuleIdHasBeenSet =
true;
47 m_mobileDeviceAccessRuleId = std::forward<MobileDeviceAccessRuleIdT>(value);
49 template <
typename MobileDeviceAccessRuleIdT = Aws::String>
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
100 m_effectHasBeenSet =
true;
115 template <
typename DeviceTypesT = Aws::Vector<Aws::String>>
117 m_deviceTypesHasBeenSet =
true;
118 m_deviceTypes = std::forward<DeviceTypesT>(value);
120 template <
typename DeviceTypesT = Aws::Vector<Aws::String>>
125 template <
typename DeviceTypesT = Aws::String>
127 m_deviceTypesHasBeenSet =
true;
128 m_deviceTypes.emplace_back(std::forward<DeviceTypesT>(value));
140 template <
typename NotDeviceTypesT = Aws::Vector<Aws::String>>
142 m_notDeviceTypesHasBeenSet =
true;
143 m_notDeviceTypes = std::forward<NotDeviceTypesT>(value);
145 template <
typename NotDeviceTypesT = Aws::Vector<Aws::String>>
150 template <
typename NotDeviceTypesT = Aws::String>
152 m_notDeviceTypesHasBeenSet =
true;
153 m_notDeviceTypes.emplace_back(std::forward<NotDeviceTypesT>(value));
164 template <
typename DeviceModelsT = Aws::Vector<Aws::String>>
166 m_deviceModelsHasBeenSet =
true;
167 m_deviceModels = std::forward<DeviceModelsT>(value);
169 template <
typename DeviceModelsT = Aws::Vector<Aws::String>>
174 template <
typename DeviceModelsT = Aws::String>
176 m_deviceModelsHasBeenSet =
true;
177 m_deviceModels.emplace_back(std::forward<DeviceModelsT>(value));
189 template <
typename NotDeviceModelsT = Aws::Vector<Aws::String>>
191 m_notDeviceModelsHasBeenSet =
true;
192 m_notDeviceModels = std::forward<NotDeviceModelsT>(value);
194 template <
typename NotDeviceModelsT = Aws::Vector<Aws::String>>
199 template <
typename NotDeviceModelsT = Aws::String>
201 m_notDeviceModelsHasBeenSet =
true;
202 m_notDeviceModels.emplace_back(std::forward<NotDeviceModelsT>(value));
213 template <
typename DeviceOperatingSystemsT = Aws::Vector<Aws::String>>
215 m_deviceOperatingSystemsHasBeenSet =
true;
216 m_deviceOperatingSystems = std::forward<DeviceOperatingSystemsT>(value);
218 template <
typename DeviceOperatingSystemsT = Aws::Vector<Aws::String>>
223 template <
typename DeviceOperatingSystemsT = Aws::String>
225 m_deviceOperatingSystemsHasBeenSet =
true;
226 m_deviceOperatingSystems.emplace_back(std::forward<DeviceOperatingSystemsT>(value));
238 template <
typename NotDeviceOperatingSystemsT = Aws::Vector<Aws::String>>
240 m_notDeviceOperatingSystemsHasBeenSet =
true;
241 m_notDeviceOperatingSystems = std::forward<NotDeviceOperatingSystemsT>(value);
243 template <
typename NotDeviceOperatingSystemsT = Aws::Vector<Aws::String>>
248 template <
typename NotDeviceOperatingSystemsT = Aws::String>
250 m_notDeviceOperatingSystemsHasBeenSet =
true;
251 m_notDeviceOperatingSystems.emplace_back(std::forward<NotDeviceOperatingSystemsT>(value));
262 template <
typename DeviceUserAgentsT = Aws::Vector<Aws::String>>
264 m_deviceUserAgentsHasBeenSet =
true;
265 m_deviceUserAgents = std::forward<DeviceUserAgentsT>(value);
267 template <
typename DeviceUserAgentsT = Aws::Vector<Aws::String>>
272 template <
typename DeviceUserAgentsT = Aws::String>
274 m_deviceUserAgentsHasBeenSet =
true;
275 m_deviceUserAgents.emplace_back(std::forward<DeviceUserAgentsT>(value));
287 template <
typename NotDeviceUserAgentsT = Aws::Vector<Aws::String>>
289 m_notDeviceUserAgentsHasBeenSet =
true;
290 m_notDeviceUserAgents = std::forward<NotDeviceUserAgentsT>(value);
292 template <
typename NotDeviceUserAgentsT = Aws::Vector<Aws::String>>
297 template <
typename NotDeviceUserAgentsT = Aws::String>
299 m_notDeviceUserAgentsHasBeenSet =
true;
300 m_notDeviceUserAgents.emplace_back(std::forward<NotDeviceUserAgentsT>(value));
311 template <
typename DateCreatedT = Aws::Utils::DateTime>
313 m_dateCreatedHasBeenSet =
true;
314 m_dateCreated = std::forward<DateCreatedT>(value);
316 template <
typename DateCreatedT = Aws::Utils::DateTime>
329 template <
typename DateModifiedT = Aws::Utils::DateTime>
331 m_dateModifiedHasBeenSet =
true;
332 m_dateModified = std::forward<DateModifiedT>(value);
334 template <
typename DateModifiedT = Aws::Utils::DateTime>
368 bool m_mobileDeviceAccessRuleIdHasBeenSet =
false;
369 bool m_nameHasBeenSet =
false;
370 bool m_descriptionHasBeenSet =
false;
371 bool m_effectHasBeenSet =
false;
372 bool m_deviceTypesHasBeenSet =
false;
373 bool m_notDeviceTypesHasBeenSet =
false;
374 bool m_deviceModelsHasBeenSet =
false;
375 bool m_notDeviceModelsHasBeenSet =
false;
376 bool m_deviceOperatingSystemsHasBeenSet =
false;
377 bool m_notDeviceOperatingSystemsHasBeenSet =
false;
378 bool m_deviceUserAgentsHasBeenSet =
false;
379 bool m_notDeviceUserAgentsHasBeenSet =
false;
380 bool m_dateCreatedHasBeenSet =
false;
381 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