7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
42 template <
typename UserManagedClientApplicationClientSecretT = Aws::String>
44 m_userManagedClientApplicationClientSecretHasBeenSet =
true;
45 m_userManagedClientApplicationClientSecret = std::forward<UserManagedClientApplicationClientSecretT>(value);
47 template <
typename UserManagedClientApplicationClientSecretT = Aws::String>
60 template <
typename AccessTokenT = Aws::String>
62 m_accessTokenHasBeenSet =
true;
63 m_accessToken = std::forward<AccessTokenT>(value);
65 template <
typename AccessTokenT = Aws::String>
78 template <
typename RefreshTokenT = Aws::String>
80 m_refreshTokenHasBeenSet =
true;
81 m_refreshToken = std::forward<RefreshTokenT>(value);
83 template <
typename RefreshTokenT = Aws::String>
96 template <
typename JwtTokenT = Aws::String>
98 m_jwtTokenHasBeenSet =
true;
99 m_jwtToken = std::forward<JwtTokenT>(value);
101 template <
typename JwtTokenT = Aws::String>
108 Aws::String m_userManagedClientApplicationClientSecret;
109 bool m_userManagedClientApplicationClientSecretHasBeenSet =
false;
112 bool m_accessTokenHasBeenSet =
false;
115 bool m_refreshTokenHasBeenSet =
false;
118 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