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>
52 inline void SetMobileDeviceAccessRuleId(
const char* value) { m_mobileDeviceAccessRuleIdHasBeenSet =
true; m_mobileDeviceAccessRuleId.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
249 bool m_mobileDeviceAccessRuleIdHasBeenSet =
false;
252 bool m_nameHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
258 bool m_effectHasBeenSet =
false;
261 bool m_deviceTypesHasBeenSet =
false;
264 bool m_notDeviceTypesHasBeenSet =
false;
267 bool m_deviceModelsHasBeenSet =
false;
270 bool m_notDeviceModelsHasBeenSet =
false;
273 bool m_deviceOperatingSystemsHasBeenSet =
false;
276 bool m_notDeviceOperatingSystemsHasBeenSet =
false;
279 bool m_deviceUserAgentsHasBeenSet =
false;
282 bool m_notDeviceUserAgentsHasBeenSet =
false;
285 bool m_dateCreatedHasBeenSet =
false;
288 bool m_dateModifiedHasBeenSet =
false;
MobileDeviceAccessRule & AddDeviceOperatingSystems(const char *value)
AWS_WORKMAIL_API MobileDeviceAccessRule(Aws::Utils::Json::JsonView jsonValue)
MobileDeviceAccessRule & WithDeviceTypes(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithDeviceModels(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithNotDeviceUserAgents(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNotDeviceOperatingSystems() const
const Aws::Vector< Aws::String > & GetNotDeviceTypes() const
MobileDeviceAccessRule & WithDeviceTypes(const Aws::Vector< Aws::String > &value)
AWS_WORKMAIL_API MobileDeviceAccessRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMobileDeviceAccessRuleId(const Aws::String &value)
void SetNotDeviceTypes(const Aws::Vector< Aws::String > &value)
bool MobileDeviceAccessRuleIdHasBeenSet() const
MobileDeviceAccessRule & AddDeviceUserAgents(const char *value)
MobileDeviceAccessRule & WithEffect(MobileDeviceAccessRuleEffect &&value)
void SetDeviceUserAgents(Aws::Vector< Aws::String > &&value)
void SetNotDeviceUserAgents(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(const Aws::String &value)
MobileDeviceAccessRule & AddNotDeviceTypes(const Aws::String &value)
MobileDeviceAccessRule & AddNotDeviceUserAgents(const Aws::String &value)
MobileDeviceAccessRule & AddNotDeviceModels(Aws::String &&value)
MobileDeviceAccessRule & WithNotDeviceModels(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetDateCreated() const
void SetDeviceModels(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & WithDateCreated(Aws::Utils::DateTime &&value)
void SetDateModified(const Aws::Utils::DateTime &value)
MobileDeviceAccessRule & WithDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithDescription(const char *value)
void SetMobileDeviceAccessRuleId(const char *value)
void SetDeviceTypes(const Aws::Vector< Aws::String > &value)
void SetDateModified(Aws::Utils::DateTime &&value)
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(Aws::String &&value)
MobileDeviceAccessRule & WithName(Aws::String &&value)
const Aws::String & GetMobileDeviceAccessRuleId() const
void SetName(Aws::String &&value)
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(Aws::String &&value)
MobileDeviceAccessRule & AddDeviceUserAgents(const Aws::String &value)
bool NotDeviceModelsHasBeenSet() const
MobileDeviceAccessRule & AddNotDeviceTypes(const char *value)
MobileDeviceAccessRule & AddNotDeviceModels(const char *value)
MobileDeviceAccessRule & WithDeviceModels(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & AddDeviceUserAgents(Aws::String &&value)
const Aws::String & GetName() const
bool DeviceModelsHasBeenSet() const
MobileDeviceAccessRule & WithEffect(const MobileDeviceAccessRuleEffect &value)
bool DateModifiedHasBeenSet() const
bool NotDeviceUserAgentsHasBeenSet() const
bool NameHasBeenSet() const
bool DeviceTypesHasBeenSet() const
const Aws::Utils::DateTime & GetDateModified() const
bool DeviceOperatingSystemsHasBeenSet() const
void SetDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
void SetNotDeviceUserAgents(Aws::Vector< Aws::String > &&value)
bool NotDeviceOperatingSystemsHasBeenSet() const
MobileDeviceAccessRule & WithNotDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(const Aws::String &value)
void SetDateCreated(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDeviceTypes() const
bool DeviceUserAgentsHasBeenSet() const
bool NotDeviceTypesHasBeenSet() const
void SetNotDeviceTypes(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & AddDeviceModels(const Aws::String &value)
void SetMobileDeviceAccessRuleId(Aws::String &&value)
MobileDeviceAccessRule & AddNotDeviceOperatingSystems(const char *value)
const Aws::Vector< Aws::String > & GetNotDeviceUserAgents() const
const Aws::Vector< Aws::String > & GetNotDeviceModels() const
MobileDeviceAccessRule & AddNotDeviceModels(const Aws::String &value)
MobileDeviceAccessRule & AddDeviceTypes(Aws::String &&value)
MobileDeviceAccessRule & AddNotDeviceUserAgents(const char *value)
MobileDeviceAccessRule & AddNotDeviceUserAgents(Aws::String &&value)
MobileDeviceAccessRule & AddDeviceModels(Aws::String &&value)
void SetNotDeviceModels(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
MobileDeviceAccessRule & WithDateModified(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetDeviceUserAgents() const
void SetEffect(const MobileDeviceAccessRuleEffect &value)
MobileDeviceAccessRule & WithNotDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
const MobileDeviceAccessRuleEffect & GetEffect() const
void SetNotDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
bool DateCreatedHasBeenSet() const
MobileDeviceAccessRule & WithNotDeviceTypes(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & WithDescription(const Aws::String &value)
MobileDeviceAccessRule & WithDeviceUserAgents(const Aws::Vector< Aws::String > &value)
bool DescriptionHasBeenSet() const
MobileDeviceAccessRule & AddNotDeviceTypes(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDeviceModels(Aws::Vector< Aws::String > &&value)
void SetNotDeviceModels(const Aws::Vector< Aws::String > &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
MobileDeviceAccessRule & WithDeviceUserAgents(Aws::Vector< Aws::String > &&value)
void SetDateCreated(Aws::Utils::DateTime &&value)
MobileDeviceAccessRule & WithName(const char *value)
const Aws::Vector< Aws::String > & GetDeviceModels() const
MobileDeviceAccessRule & AddDeviceOperatingSystems(Aws::String &&value)
void SetDeviceOperatingSystems(const Aws::Vector< Aws::String > &value)
void SetDeviceTypes(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithNotDeviceUserAgents(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDeviceOperatingSystems() const
MobileDeviceAccessRule & AddDeviceOperatingSystems(const Aws::String &value)
MobileDeviceAccessRule & WithName(const Aws::String &value)
MobileDeviceAccessRule & WithNotDeviceModels(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
MobileDeviceAccessRule & AddDeviceModels(const char *value)
MobileDeviceAccessRule & AddDeviceTypes(const Aws::String &value)
void SetEffect(MobileDeviceAccessRuleEffect &&value)
void SetNotDeviceOperatingSystems(Aws::Vector< Aws::String > &&value)
MobileDeviceAccessRule & WithDescription(Aws::String &&value)
MobileDeviceAccessRule & WithNotDeviceTypes(Aws::Vector< Aws::String > &&value)
void SetDeviceUserAgents(const Aws::Vector< Aws::String > &value)
MobileDeviceAccessRule & AddDeviceTypes(const char *value)
MobileDeviceAccessRule & WithMobileDeviceAccessRuleId(const char *value)
AWS_WORKMAIL_API MobileDeviceAccessRule()
MobileDeviceAccessRule & WithDateModified(const Aws::Utils::DateTime &value)
bool EffectHasBeenSet() const
MobileDeviceAccessRule & WithDateCreated(const Aws::Utils::DateTime &value)
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