7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/model/ImpersonationRoleType.h>
9#include <aws/workmail/model/AccessEffect.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/workmail/model/ImpersonationMatchedRule.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
81 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetImpersonationRoleEffectResult & WithRequestId(Aws::String &&value)
void SetType(const ImpersonationRoleType &value)
const ImpersonationRoleType & GetType() const
void SetType(ImpersonationRoleType &&value)
const AccessEffect & GetEffect() const
GetImpersonationRoleEffectResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ImpersonationMatchedRule > & GetMatchedRules() const
void SetMatchedRules(const Aws::Vector< ImpersonationMatchedRule > &value)
AWS_WORKMAIL_API GetImpersonationRoleEffectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImpersonationRoleEffectResult & AddMatchedRules(ImpersonationMatchedRule &&value)
GetImpersonationRoleEffectResult & WithType(const ImpersonationRoleType &value)
const Aws::String & GetRequestId() const
void SetRequestId(const char *value)
GetImpersonationRoleEffectResult & WithEffect(AccessEffect &&value)
void SetMatchedRules(Aws::Vector< ImpersonationMatchedRule > &&value)
void SetEffect(const AccessEffect &value)
GetImpersonationRoleEffectResult & WithMatchedRules(const Aws::Vector< ImpersonationMatchedRule > &value)
AWS_WORKMAIL_API GetImpersonationRoleEffectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
void SetEffect(AccessEffect &&value)
GetImpersonationRoleEffectResult & WithRequestId(const char *value)
GetImpersonationRoleEffectResult & WithMatchedRules(Aws::Vector< ImpersonationMatchedRule > &&value)
GetImpersonationRoleEffectResult & WithType(ImpersonationRoleType &&value)
GetImpersonationRoleEffectResult & WithEffect(const AccessEffect &value)
void SetRequestId(Aws::String &&value)
AWS_WORKMAIL_API GetImpersonationRoleEffectResult()
GetImpersonationRoleEffectResult & AddMatchedRules(const ImpersonationMatchedRule &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