7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
59 inline void SetIpAddress(
const char* value) { m_ipAddressHasBeenSet =
true; m_ipAddress.assign(value); }
75 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
89 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
103 inline void SetImpersonationRoleId(
const char* value) { m_impersonationRoleIdHasBeenSet =
true; m_impersonationRoleId.assign(value); }
111 bool m_organizationIdHasBeenSet =
false;
114 bool m_ipAddressHasBeenSet =
false;
117 bool m_actionHasBeenSet =
false;
120 bool m_userIdHasBeenSet =
false;
123 bool m_impersonationRoleIdHasBeenSet =
false;
GetAccessControlEffectRequest & WithIpAddress(Aws::String &&value)
void SetIpAddress(const Aws::String &value)
bool ActionHasBeenSet() const
const Aws::String & GetUserId() const
void SetOrganizationId(Aws::String &&value)
GetAccessControlEffectRequest & WithAction(const char *value)
void SetOrganizationId(const Aws::String &value)
GetAccessControlEffectRequest & WithOrganizationId(const char *value)
GetAccessControlEffectRequest & WithUserId(const char *value)
void SetAction(const char *value)
GetAccessControlEffectRequest & WithImpersonationRoleId(Aws::String &&value)
bool UserIdHasBeenSet() const
const Aws::String & GetImpersonationRoleId() const
bool IpAddressHasBeenSet() const
virtual const char * GetServiceRequestName() const override
GetAccessControlEffectRequest & WithUserId(const Aws::String &value)
GetAccessControlEffectRequest & WithAction(Aws::String &&value)
void SetOrganizationId(const char *value)
bool OrganizationIdHasBeenSet() const
void SetUserId(const char *value)
GetAccessControlEffectRequest & WithOrganizationId(Aws::String &&value)
GetAccessControlEffectRequest & WithImpersonationRoleId(const Aws::String &value)
void SetImpersonationRoleId(const char *value)
GetAccessControlEffectRequest & WithIpAddress(const Aws::String &value)
GetAccessControlEffectRequest & WithAction(const Aws::String &value)
GetAccessControlEffectRequest & WithImpersonationRoleId(const char *value)
GetAccessControlEffectRequest & WithUserId(Aws::String &&value)
void SetImpersonationRoleId(Aws::String &&value)
void SetIpAddress(Aws::String &&value)
void SetUserId(const Aws::String &value)
AWS_WORKMAIL_API GetAccessControlEffectRequest()
void SetUserId(Aws::String &&value)
const Aws::String & GetOrganizationId() const
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetAction(const Aws::String &value)
void SetImpersonationRoleId(const Aws::String &value)
GetAccessControlEffectRequest & WithIpAddress(const char *value)
const Aws::String & GetIpAddress() const
GetAccessControlEffectRequest & WithOrganizationId(const Aws::String &value)
const Aws::String & GetAction() const
void SetIpAddress(const char *value)
void SetAction(Aws::String &&value)
bool ImpersonationRoleIdHasBeenSet() const
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String