7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
42 inline void SetToken(
const char* value) { m_token.assign(value); }
62 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
71 long long m_expiresIn;
AssumeImpersonationRoleResult & WithToken(const Aws::String &value)
AWS_WORKMAIL_API AssumeImpersonationRoleResult()
long long GetExpiresIn() const
AWS_WORKMAIL_API AssumeImpersonationRoleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssumeImpersonationRoleResult & WithToken(Aws::String &&value)
AssumeImpersonationRoleResult & WithRequestId(const Aws::String &value)
AssumeImpersonationRoleResult & WithToken(const char *value)
void SetToken(const char *value)
void SetExpiresIn(long long value)
void SetRequestId(const Aws::String &value)
void SetRequestId(const char *value)
const Aws::String & GetRequestId() const
AssumeImpersonationRoleResult & WithRequestId(Aws::String &&value)
const Aws::String & GetToken() const
void SetToken(Aws::String &&value)
void SetToken(const Aws::String &value)
AssumeImpersonationRoleResult & WithExpiresIn(long long value)
AWS_WORKMAIL_API AssumeImpersonationRoleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssumeImpersonationRoleResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue