7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
77 inline void SetRefreshToken(
const char* value) { m_refreshTokenHasBeenSet =
true; m_refreshToken.assign(value); }
97 bool m_accessTokenHasBeenSet =
false;
100 bool m_accessTokenExpirationHasBeenSet =
false;
103 bool m_refreshTokenHasBeenSet =
false;
106 bool m_refreshTokenExpirationHasBeenSet =
false;
void SetRefreshToken(const char *value)
void SetRefreshToken(const Aws::String &value)
Credentials & WithAccessTokenExpiration(Aws::Utils::DateTime &&value)
Credentials & WithRefreshToken(const char *value)
bool AccessTokenExpirationHasBeenSet() const
bool RefreshTokenHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccessToken(Aws::String &&value)
AWS_CONNECT_API Credentials & operator=(Aws::Utils::Json::JsonView jsonValue)
Credentials & WithRefreshTokenExpiration(Aws::Utils::DateTime &&value)
void SetRefreshToken(Aws::String &&value)
AWS_CONNECT_API Credentials()
Credentials & WithAccessToken(const Aws::String &value)
Credentials & WithAccessToken(Aws::String &&value)
Credentials & WithRefreshTokenExpiration(const Aws::Utils::DateTime &value)
Credentials & WithAccessTokenExpiration(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetRefreshTokenExpiration() const
void SetAccessToken(const Aws::String &value)
const Aws::String & GetRefreshToken() const
void SetAccessToken(const char *value)
bool AccessTokenHasBeenSet() const
Credentials & WithAccessToken(const char *value)
Credentials & WithRefreshToken(const Aws::String &value)
Credentials & WithRefreshToken(Aws::String &&value)
void SetAccessTokenExpiration(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetAccessTokenExpiration() const
void SetRefreshTokenExpiration(const Aws::Utils::DateTime &value)
void SetAccessTokenExpiration(const Aws::Utils::DateTime &value)
bool RefreshTokenExpirationHasBeenSet() const
void SetRefreshTokenExpiration(Aws::Utils::DateTime &&value)
AWS_CONNECT_API Credentials(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccessToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue