7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/AccessControlRuleEffect.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
183 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
221 bool m_nameHasBeenSet =
false;
224 bool m_effectHasBeenSet =
false;
227 bool m_descriptionHasBeenSet =
false;
230 bool m_ipRangesHasBeenSet =
false;
233 bool m_notIpRangesHasBeenSet =
false;
236 bool m_actionsHasBeenSet =
false;
239 bool m_notActionsHasBeenSet =
false;
242 bool m_userIdsHasBeenSet =
false;
245 bool m_notUserIdsHasBeenSet =
false;
248 bool m_organizationIdHasBeenSet =
false;
251 bool m_impersonationRoleIdsHasBeenSet =
false;
254 bool m_notImpersonationRoleIdsHasBeenSet =
false;
void SetUserIds(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & AddNotImpersonationRoleIds(Aws::String &&value)
PutAccessControlRuleRequest & AddUserIds(const char *value)
void SetEffect(const AccessControlRuleEffect &value)
bool DescriptionHasBeenSet() const
void SetNotIpRanges(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & WithNotIpRanges(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & AddImpersonationRoleIds(Aws::String &&value)
bool EffectHasBeenSet() const
PutAccessControlRuleRequest & WithActions(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & WithUserIds(const Aws::Vector< Aws::String > &value)
void SetNotActions(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & WithEffect(AccessControlRuleEffect &&value)
bool NameHasBeenSet() const
void SetEffect(AccessControlRuleEffect &&value)
PutAccessControlRuleRequest & AddNotUserIds(const char *value)
bool IpRangesHasBeenSet() const
void SetName(Aws::String &&value)
void SetIpRanges(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & AddIpRanges(const char *value)
void SetNotImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetActions() const
PutAccessControlRuleRequest & AddNotActions(const Aws::String &value)
void SetNotActions(const Aws::Vector< Aws::String > &value)
const Aws::String & GetOrganizationId() const
void SetOrganizationId(const char *value)
const AccessControlRuleEffect & GetEffect() const
PutAccessControlRuleRequest & WithOrganizationId(const char *value)
PutAccessControlRuleRequest & WithNotImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
void SetNotUserIds(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & WithActions(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetImpersonationRoleIds() const
void SetName(const char *value)
PutAccessControlRuleRequest & AddNotImpersonationRoleIds(const Aws::String &value)
PutAccessControlRuleRequest & WithNotIpRanges(Aws::Vector< Aws::String > &&value)
void SetIpRanges(const Aws::Vector< Aws::String > &value)
bool NotImpersonationRoleIdsHasBeenSet() const
PutAccessControlRuleRequest & AddNotIpRanges(const char *value)
PutAccessControlRuleRequest & AddActions(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutAccessControlRuleRequest & WithIpRanges(const Aws::Vector< Aws::String > &value)
void SetUserIds(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & AddNotUserIds(const Aws::String &value)
PutAccessControlRuleRequest & WithName(Aws::String &&value)
PutAccessControlRuleRequest & AddActions(const char *value)
bool ActionsHasBeenSet() const
PutAccessControlRuleRequest & WithNotActions(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & AddActions(const Aws::String &value)
void SetDescription(const char *value)
const Aws::String & GetDescription() const
PutAccessControlRuleRequest & WithName(const Aws::String &value)
void SetNotIpRanges(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & WithDescription(const Aws::String &value)
PutAccessControlRuleRequest & AddUserIds(Aws::String &&value)
void SetOrganizationId(const Aws::String &value)
bool ImpersonationRoleIdsHasBeenSet() const
PutAccessControlRuleRequest & WithNotUserIds(const Aws::Vector< Aws::String > &value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
bool OrganizationIdHasBeenSet() const
void SetActions(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & WithOrganizationId(Aws::String &&value)
void SetDescription(Aws::String &&value)
PutAccessControlRuleRequest & AddNotIpRanges(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetNotIpRanges() const
PutAccessControlRuleRequest & AddNotActions(const char *value)
PutAccessControlRuleRequest & AddUserIds(const Aws::String &value)
PutAccessControlRuleRequest & WithImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & WithIpRanges(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & AddNotActions(Aws::String &&value)
void SetActions(Aws::Vector< Aws::String > &&value)
void SetName(const Aws::String &value)
PutAccessControlRuleRequest & AddImpersonationRoleIds(const Aws::String &value)
PutAccessControlRuleRequest & WithDescription(const char *value)
PutAccessControlRuleRequest & AddNotImpersonationRoleIds(const char *value)
PutAccessControlRuleRequest & AddIpRanges(Aws::String &&value)
void SetNotUserIds(Aws::Vector< Aws::String > &&value)
void SetNotImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & WithName(const char *value)
const Aws::Vector< Aws::String > & GetNotImpersonationRoleIds() const
const Aws::Vector< Aws::String > & GetUserIds() const
PutAccessControlRuleRequest & AddImpersonationRoleIds(const char *value)
void SetImpersonationRoleIds(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & WithEffect(const AccessControlRuleEffect &value)
PutAccessControlRuleRequest & WithImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
bool NotUserIdsHasBeenSet() const
PutAccessControlRuleRequest & WithNotImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
PutAccessControlRuleRequest & WithUserIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNotUserIds() const
PutAccessControlRuleRequest & WithDescription(Aws::String &&value)
bool UserIdsHasBeenSet() const
PutAccessControlRuleRequest & AddNotUserIds(Aws::String &&value)
PutAccessControlRuleRequest & WithNotActions(const Aws::Vector< Aws::String > &value)
AWS_WORKMAIL_API PutAccessControlRuleRequest()
void SetImpersonationRoleIds(const Aws::Vector< Aws::String > &value)
bool NotActionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetNotActions() const
const Aws::String & GetName() const
void SetOrganizationId(Aws::String &&value)
PutAccessControlRuleRequest & WithNotUserIds(Aws::Vector< Aws::String > &&value)
PutAccessControlRuleRequest & AddNotIpRanges(Aws::String &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAccessControlRuleRequest & AddIpRanges(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIpRanges() const
bool NotIpRangesHasBeenSet() const
PutAccessControlRuleRequest & WithOrganizationId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector