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/ImpersonationRoleType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/workmail/model/ImpersonationRule.h>
48 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
62 inline void SetImpersonationRoleId(
const char* value) { m_impersonationRoleIdHasBeenSet =
true; m_impersonationRoleId.assign(value); }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
102 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
124 bool m_organizationIdHasBeenSet =
false;
127 bool m_impersonationRoleIdHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_typeHasBeenSet =
false;
136 bool m_descriptionHasBeenSet =
false;
139 bool m_rulesHasBeenSet =
false;
const ImpersonationRoleType & GetType() const
UpdateImpersonationRoleRequest & WithName(const char *value)
bool OrganizationIdHasBeenSet() const
UpdateImpersonationRoleRequest & WithImpersonationRoleId(const Aws::String &value)
UpdateImpersonationRoleRequest & WithDescription(Aws::String &&value)
void SetName(const char *value)
void SetDescription(const Aws::String &value)
UpdateImpersonationRoleRequest & WithOrganizationId(Aws::String &&value)
const Aws::String & GetName() const
UpdateImpersonationRoleRequest & WithRules(Aws::Vector< ImpersonationRule > &&value)
void SetRules(Aws::Vector< ImpersonationRule > &&value)
const Aws::Vector< ImpersonationRule > & GetRules() const
const Aws::String & GetImpersonationRoleId() const
void SetDescription(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetDescription() const
bool RulesHasBeenSet() const
UpdateImpersonationRoleRequest & AddRules(const ImpersonationRule &value)
void SetImpersonationRoleId(const Aws::String &value)
UpdateImpersonationRoleRequest & WithOrganizationId(const char *value)
UpdateImpersonationRoleRequest & WithOrganizationId(const Aws::String &value)
UpdateImpersonationRoleRequest & WithType(const ImpersonationRoleType &value)
void SetType(const ImpersonationRoleType &value)
bool ImpersonationRoleIdHasBeenSet() const
bool TypeHasBeenSet() const
UpdateImpersonationRoleRequest & WithDescription(const Aws::String &value)
void SetOrganizationId(const Aws::String &value)
void SetImpersonationRoleId(const char *value)
UpdateImpersonationRoleRequest & WithRules(const Aws::Vector< ImpersonationRule > &value)
void SetName(Aws::String &&value)
AWS_WORKMAIL_API UpdateImpersonationRoleRequest()
AWS_WORKMAIL_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
void SetRules(const Aws::Vector< ImpersonationRule > &value)
UpdateImpersonationRoleRequest & AddRules(ImpersonationRule &&value)
void SetImpersonationRoleId(Aws::String &&value)
UpdateImpersonationRoleRequest & WithImpersonationRoleId(Aws::String &&value)
UpdateImpersonationRoleRequest & WithName(Aws::String &&value)
void SetOrganizationId(const char *value)
void SetOrganizationId(Aws::String &&value)
UpdateImpersonationRoleRequest & WithImpersonationRoleId(const char *value)
const Aws::String & GetOrganizationId() const
UpdateImpersonationRoleRequest & WithName(const Aws::String &value)
UpdateImpersonationRoleRequest & WithType(ImpersonationRoleType &&value)
void SetDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateImpersonationRoleRequest & WithDescription(const char *value)
void SetType(ImpersonationRoleType &&value)
bool DescriptionHasBeenSet() const
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