7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
23namespace AmplifyUIBuilder
42 inline void SetAccessToken(
const char* value) { m_accessToken.assign(value); }
76 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_AMPLIFYUIBUILDER_API ExchangeCodeForTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExchangeCodeForTokenResult & WithAccessToken(Aws::String &&value)
ExchangeCodeForTokenResult & WithRefreshToken(Aws::String &&value)
ExchangeCodeForTokenResult & WithAccessToken(const Aws::String &value)
ExchangeCodeForTokenResult & WithRefreshToken(const Aws::String &value)
const Aws::String & GetRefreshToken() const
ExchangeCodeForTokenResult & WithRequestId(const Aws::String &value)
void SetRequestId(const char *value)
ExchangeCodeForTokenResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
void SetAccessToken(const char *value)
const Aws::String & GetRequestId() const
ExchangeCodeForTokenResult & WithAccessToken(const char *value)
void SetExpiresIn(int value)
const Aws::String & GetAccessToken() const
void SetAccessToken(const Aws::String &value)
ExchangeCodeForTokenResult & WithRequestId(Aws::String &&value)
void SetRefreshToken(const char *value)
AWS_AMPLIFYUIBUILDER_API ExchangeCodeForTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
void SetRefreshToken(const Aws::String &value)
void SetRefreshToken(Aws::String &&value)
ExchangeCodeForTokenResult & WithRefreshToken(const char *value)
void SetAccessToken(Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API ExchangeCodeForTokenResult()
ExchangeCodeForTokenResult & WithExpiresIn(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue