7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/AccessControlRuleEffect.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
78 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
236 bool m_nameHasBeenSet =
false;
239 bool m_effectHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
245 bool m_ipRangesHasBeenSet =
false;
248 bool m_notIpRangesHasBeenSet =
false;
251 bool m_actionsHasBeenSet =
false;
254 bool m_notActionsHasBeenSet =
false;
257 bool m_userIdsHasBeenSet =
false;
260 bool m_notUserIdsHasBeenSet =
false;
263 bool m_dateCreatedHasBeenSet =
false;
266 bool m_dateModifiedHasBeenSet =
false;
269 bool m_impersonationRoleIdsHasBeenSet =
false;
272 bool m_notImpersonationRoleIdsHasBeenSet =
false;
AccessControlRule & WithNotUserIds(const Aws::Vector< Aws::String > &value)
AccessControlRule & AddImpersonationRoleIds(Aws::String &&value)
void SetDescription(const char *value)
void SetDateCreated(const Aws::Utils::DateTime &value)
AccessControlRule & AddIpRanges(const char *value)
AccessControlRule & WithNotImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
void SetName(const char *value)
AccessControlRule & WithNotImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
void SetImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
AccessControlRule & WithIpRanges(const Aws::Vector< Aws::String > &value)
AccessControlRule & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetNotImpersonationRoleIds() const
const Aws::Vector< Aws::String > & GetUserIds() const
AccessControlRule & AddIpRanges(const Aws::String &value)
AccessControlRule & WithNotIpRanges(const Aws::Vector< Aws::String > &value)
bool ImpersonationRoleIdsHasBeenSet() const
AccessControlRule & WithUserIds(const Aws::Vector< Aws::String > &value)
bool DateModifiedHasBeenSet() const
void SetNotImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
AccessControlRule & AddNotActions(const char *value)
bool ActionsHasBeenSet() const
AccessControlRule & AddNotIpRanges(Aws::String &&value)
bool UserIdsHasBeenSet() const
void SetName(const Aws::String &value)
AccessControlRule & WithNotIpRanges(Aws::Vector< Aws::String > &&value)
void SetNotActions(Aws::Vector< Aws::String > &&value)
AccessControlRule & WithName(const char *value)
bool NotIpRangesHasBeenSet() const
AWS_WORKMAIL_API AccessControlRule()
const Aws::Vector< Aws::String > & GetIpRanges() const
bool DescriptionHasBeenSet() const
const Aws::Utils::DateTime & GetDateCreated() const
void SetDateCreated(Aws::Utils::DateTime &&value)
AccessControlRule & WithImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
AccessControlRule & AddActions(const char *value)
void SetEffect(const AccessControlRuleEffect &value)
void SetNotUserIds(Aws::Vector< Aws::String > &&value)
AWS_WORKMAIL_API AccessControlRule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AccessControlRule & WithDateModified(Aws::Utils::DateTime &&value)
bool NotActionsHasBeenSet() const
void SetNotIpRanges(Aws::Vector< Aws::String > &&value)
bool EffectHasBeenSet() const
void SetDateModified(Aws::Utils::DateTime &&value)
AccessControlRule & WithIpRanges(Aws::Vector< Aws::String > &&value)
void SetUserIds(Aws::Vector< Aws::String > &&value)
bool NotUserIdsHasBeenSet() const
void SetNotImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
bool NotImpersonationRoleIdsHasBeenSet() const
AccessControlRule & WithDescription(Aws::String &&value)
AccessControlRule & WithEffect(const AccessControlRuleEffect &value)
void SetDateModified(const Aws::Utils::DateTime &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNotActions() const
void SetEffect(AccessControlRuleEffect &&value)
void SetUserIds(const Aws::Vector< Aws::String > &value)
AccessControlRule & WithActions(const Aws::Vector< Aws::String > &value)
AccessControlRule & AddNotUserIds(Aws::String &&value)
bool IpRangesHasBeenSet() const
const Aws::Vector< Aws::String > & GetActions() const
void SetIpRanges(Aws::Vector< Aws::String > &&value)
AccessControlRule & AddNotImpersonationRoleIds(const Aws::String &value)
void SetImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
AccessControlRule & AddNotUserIds(const Aws::String &value)
void SetName(Aws::String &&value)
AccessControlRule & AddUserIds(Aws::String &&value)
const AccessControlRuleEffect & GetEffect() const
AccessControlRule & AddActions(Aws::String &&value)
void SetIpRanges(const Aws::Vector< Aws::String > &value)
AccessControlRule & AddNotIpRanges(const char *value)
void SetNotUserIds(const Aws::Vector< Aws::String > &value)
AccessControlRule & WithDateCreated(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetDateModified() const
AccessControlRule & WithDateCreated(const Aws::Utils::DateTime &value)
AccessControlRule & AddNotIpRanges(const Aws::String &value)
bool DateCreatedHasBeenSet() const
AccessControlRule & WithNotUserIds(Aws::Vector< Aws::String > &&value)
AccessControlRule & AddImpersonationRoleIds(const char *value)
bool NameHasBeenSet() const
AccessControlRule & AddNotImpersonationRoleIds(Aws::String &&value)
AccessControlRule & WithDescription(const char *value)
const Aws::Vector< Aws::String > & GetNotUserIds() const
AccessControlRule & WithActions(Aws::Vector< Aws::String > &&value)
AWS_WORKMAIL_API AccessControlRule(Aws::Utils::Json::JsonView jsonValue)
AccessControlRule & WithDateModified(const Aws::Utils::DateTime &value)
AccessControlRule & AddNotUserIds(const char *value)
const Aws::Vector< Aws::String > & GetNotIpRanges() const
AccessControlRule & WithEffect(AccessControlRuleEffect &&value)
AccessControlRule & AddNotActions(const Aws::String &value)
AccessControlRule & WithNotActions(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
AccessControlRule & AddActions(const Aws::String &value)
void SetActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetImpersonationRoleIds() const
AccessControlRule & WithName(const Aws::String &value)
AccessControlRule & AddImpersonationRoleIds(const Aws::String &value)
void SetActions(Aws::Vector< Aws::String > &&value)
AccessControlRule & WithImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
AccessControlRule & AddUserIds(const char *value)
AccessControlRule & WithUserIds(Aws::Vector< Aws::String > &&value)
AccessControlRule & AddNotImpersonationRoleIds(const char *value)
AccessControlRule & AddNotActions(Aws::String &&value)
void SetNotIpRanges(const Aws::Vector< Aws::String > &value)
AccessControlRule & AddUserIds(const Aws::String &value)
AccessControlRule & AddIpRanges(Aws::String &&value)
void SetNotActions(const Aws::Vector< Aws::String > &value)
AccessControlRule & WithDescription(const Aws::String &value)
AccessControlRule & WithNotActions(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue