7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/ImpersonationRoleType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/workmail/model/ImpersonationRule.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
59 inline void SetName(
const char* value) { m_name.assign(value); }
83 inline void SetDescription(
const char* value) { m_description.assign(value); }
129 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetDateCreated(const Aws::Utils::DateTime &value)
GetImpersonationRoleResult & WithDateModified(Aws::Utils::DateTime &&value)
void SetRequestId(const char *value)
void SetName(const char *value)
const Aws::String & GetImpersonationRoleId() const
const Aws::Utils::DateTime & GetDateCreated() const
GetImpersonationRoleResult & WithName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetImpersonationRoleId(const Aws::String &value)
GetImpersonationRoleResult & WithRequestId(const Aws::String &value)
void SetDateModified(const Aws::Utils::DateTime &value)
void SetType(const ImpersonationRoleType &value)
void SetName(Aws::String &&value)
GetImpersonationRoleResult & WithRules(const Aws::Vector< ImpersonationRule > &value)
GetImpersonationRoleResult & WithDateModified(const Aws::Utils::DateTime &value)
GetImpersonationRoleResult & WithRules(Aws::Vector< ImpersonationRule > &&value)
GetImpersonationRoleResult & WithType(ImpersonationRoleType &&value)
void SetDateCreated(Aws::Utils::DateTime &&value)
AWS_WORKMAIL_API GetImpersonationRoleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
const Aws::Vector< ImpersonationRule > & GetRules() const
void SetImpersonationRoleId(Aws::String &&value)
void SetType(ImpersonationRoleType &&value)
void SetName(const Aws::String &value)
GetImpersonationRoleResult & AddRules(const ImpersonationRule &value)
GetImpersonationRoleResult & WithDescription(const Aws::String &value)
GetImpersonationRoleResult & WithDescription(Aws::String &&value)
GetImpersonationRoleResult & WithDateCreated(const Aws::Utils::DateTime &value)
const ImpersonationRoleType & GetType() const
const Aws::Utils::DateTime & GetDateModified() const
GetImpersonationRoleResult & WithRequestId(Aws::String &&value)
void SetRules(Aws::Vector< ImpersonationRule > &&value)
AWS_WORKMAIL_API GetImpersonationRoleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetRules(const Aws::Vector< ImpersonationRule > &value)
void SetDescription(Aws::String &&value)
const Aws::String & GetRequestId() const
GetImpersonationRoleResult & WithName(const Aws::String &value)
GetImpersonationRoleResult & WithImpersonationRoleId(Aws::String &&value)
GetImpersonationRoleResult & AddRules(ImpersonationRule &&value)
GetImpersonationRoleResult & WithType(const ImpersonationRoleType &value)
const Aws::String & GetName() const
GetImpersonationRoleResult & WithName(const char *value)
GetImpersonationRoleResult & WithImpersonationRoleId(const char *value)
AWS_WORKMAIL_API GetImpersonationRoleResult()
GetImpersonationRoleResult & WithDescription(const char *value)
GetImpersonationRoleResult & WithRequestId(const char *value)
GetImpersonationRoleResult & WithDateCreated(Aws::Utils::DateTime &&value)
GetImpersonationRoleResult & WithImpersonationRoleId(const Aws::String &value)
void SetDateModified(Aws::Utils::DateTime &&value)
void SetImpersonationRoleId(const char *value)
void SetRequestId(Aws::String &&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