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 SetImpersonationRoleId(
const char* value) { m_impersonationRoleIdHasBeenSet =
true; m_impersonationRoleId.assign(value); }
78 inline void SetTargetUser(
const char* value) { m_targetUserHasBeenSet =
true; m_targetUser.assign(value); }
86 bool m_organizationIdHasBeenSet =
false;
89 bool m_impersonationRoleIdHasBeenSet =
false;
92 bool m_targetUserHasBeenSet =
false;
GetImpersonationRoleEffectRequest & WithTargetUser(Aws::String &&value)
GetImpersonationRoleEffectRequest & WithOrganizationId(Aws::String &&value)
GetImpersonationRoleEffectRequest & WithTargetUser(const char *value)
void SetTargetUser(const char *value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ImpersonationRoleIdHasBeenSet() const
const Aws::String & GetOrganizationId() const
AWS_WORKMAIL_API GetImpersonationRoleEffectRequest()
GetImpersonationRoleEffectRequest & WithImpersonationRoleId(const char *value)
bool OrganizationIdHasBeenSet() const
void SetTargetUser(Aws::String &&value)
void SetImpersonationRoleId(Aws::String &&value)
void SetImpersonationRoleId(const Aws::String &value)
void SetOrganizationId(const char *value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
bool TargetUserHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetImpersonationRoleId(const char *value)
GetImpersonationRoleEffectRequest & WithImpersonationRoleId(Aws::String &&value)
GetImpersonationRoleEffectRequest & WithTargetUser(const Aws::String &value)
const Aws::String & GetImpersonationRoleId() const
GetImpersonationRoleEffectRequest & WithOrganizationId(const char *value)
void SetTargetUser(const Aws::String &value)
void SetOrganizationId(const Aws::String &value)
GetImpersonationRoleEffectRequest & WithOrganizationId(const Aws::String &value)
void SetOrganizationId(Aws::String &&value)
const Aws::String & GetTargetUser() const
GetImpersonationRoleEffectRequest & WithImpersonationRoleId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String