7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename UserManagedClientApplicationClientSecretT = Aws::String>
49 void SetUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT&& value) { m_userManagedClientApplicationClientSecretHasBeenSet =
true; m_userManagedClientApplicationClientSecret = std::forward<UserManagedClientApplicationClientSecretT>(value); }
50 template<
typename UserManagedClientApplicationClientSecretT = Aws::String>
60 template<
typename AccessTokenT = Aws::String>
61 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet =
true; m_accessToken = std::forward<AccessTokenT>(value); }
62 template<
typename AccessTokenT = Aws::String>
72 template<
typename RefreshTokenT = Aws::String>
73 void SetRefreshToken(RefreshTokenT&& value) { m_refreshTokenHasBeenSet =
true; m_refreshToken = std::forward<RefreshTokenT>(value); }
74 template<
typename RefreshTokenT = Aws::String>
84 template<
typename JwtTokenT = Aws::String>
85 void SetJwtToken(JwtTokenT&& value) { m_jwtTokenHasBeenSet =
true; m_jwtToken = std::forward<JwtTokenT>(value); }
86 template<
typename JwtTokenT = Aws::String>
91 Aws::String m_userManagedClientApplicationClientSecret;
92 bool m_userManagedClientApplicationClientSecretHasBeenSet =
false;
95 bool m_accessTokenHasBeenSet =
false;
98 bool m_refreshTokenHasBeenSet =
false;
101 bool m_jwtTokenHasBeenSet =
false;
void SetJwtToken(JwtTokenT &&value)
bool RefreshTokenHasBeenSet() const
const Aws::String & GetJwtToken() const
void SetUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT &&value)
OAuth2Credentials & WithRefreshToken(RefreshTokenT &&value)
AWS_GLUE_API OAuth2Credentials & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccessToken(AccessTokenT &&value)
bool AccessTokenHasBeenSet() const
AWS_GLUE_API OAuth2Credentials(Aws::Utils::Json::JsonView jsonValue)
bool JwtTokenHasBeenSet() const
const Aws::String & GetUserManagedClientApplicationClientSecret() const
OAuth2Credentials & WithUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT &&value)
void SetRefreshToken(RefreshTokenT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
OAuth2Credentials & WithAccessToken(AccessTokenT &&value)
const Aws::String & GetAccessToken() const
bool UserManagedClientApplicationClientSecretHasBeenSet() const
const Aws::String & GetRefreshToken() const
OAuth2Credentials & WithJwtToken(JwtTokenT &&value)
AWS_GLUE_API OAuth2Credentials()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue