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/DateTime.h>
50 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
64 inline void SetDeviceId(
const char* value) { m_deviceIdHasBeenSet =
true; m_deviceId.assign(value); }
90 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
122 bool m_userIdHasBeenSet =
false;
125 bool m_deviceIdHasBeenSet =
false;
128 bool m_effectHasBeenSet =
false;
131 bool m_descriptionHasBeenSet =
false;
134 bool m_dateCreatedHasBeenSet =
false;
137 bool m_dateModifiedHasBeenSet =
false;
void SetDateModified(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
MobileDeviceAccessOverride & WithDateCreated(Aws::Utils::DateTime &&value)
AWS_WORKMAIL_API MobileDeviceAccessOverride(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserId() const
const Aws::String & GetDeviceId() const
void SetDeviceId(Aws::String &&value)
MobileDeviceAccessOverride & WithDateModified(const Aws::Utils::DateTime &value)
MobileDeviceAccessOverride & WithDescription(const Aws::String &value)
AWS_WORKMAIL_API MobileDeviceAccessOverride()
MobileDeviceAccessOverride & WithDeviceId(const char *value)
MobileDeviceAccessOverride & WithDateCreated(const Aws::Utils::DateTime &value)
void SetUserId(const Aws::String &value)
bool DescriptionHasBeenSet() const
MobileDeviceAccessOverride & WithDeviceId(const Aws::String &value)
void SetEffect(MobileDeviceAccessRuleEffect &&value)
MobileDeviceAccessOverride & WithUserId(const char *value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
MobileDeviceAccessOverride & WithDescription(Aws::String &&value)
void SetDateCreated(const Aws::Utils::DateTime &value)
void SetDescription(Aws::String &&value)
bool DateCreatedHasBeenSet() const
MobileDeviceAccessOverride & WithEffect(MobileDeviceAccessRuleEffect &&value)
const MobileDeviceAccessRuleEffect & GetEffect() const
MobileDeviceAccessOverride & WithUserId(Aws::String &&value)
MobileDeviceAccessOverride & WithDeviceId(Aws::String &&value)
bool DeviceIdHasBeenSet() const
const Aws::Utils::DateTime & GetDateModified() const
MobileDeviceAccessOverride & WithUserId(const Aws::String &value)
bool UserIdHasBeenSet() const
void SetDescription(const char *value)
void SetDeviceId(const char *value)
void SetDateCreated(Aws::Utils::DateTime &&value)
MobileDeviceAccessOverride & WithDescription(const char *value)
void SetDateModified(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetDateCreated() const
void SetEffect(const MobileDeviceAccessRuleEffect &value)
AWS_WORKMAIL_API MobileDeviceAccessOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserId(Aws::String &&value)
bool DateModifiedHasBeenSet() const
MobileDeviceAccessOverride & WithEffect(const MobileDeviceAccessRuleEffect &value)
const Aws::String & GetDescription() const
bool EffectHasBeenSet() const
MobileDeviceAccessOverride & WithDateModified(Aws::Utils::DateTime &&value)
void SetUserId(const char *value)
void SetDeviceId(const Aws::String &value)
MobileDeviceAccessRuleEffect
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue