7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename AccessTokenT = Aws::String>
47 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet =
true; m_accessToken = std::forward<AccessTokenT>(value); }
48 template<
typename AccessTokenT = Aws::String>
58 template<
typename JwtTokenT = Aws::String>
59 void SetJwtToken(JwtTokenT&& value) { m_jwtTokenHasBeenSet =
true; m_jwtToken = std::forward<JwtTokenT>(value); }
60 template<
typename JwtTokenT = Aws::String>
70 template<
typename RefreshTokenT = Aws::String>
71 void SetRefreshToken(RefreshTokenT&& value) { m_refreshTokenHasBeenSet =
true; m_refreshToken = std::forward<RefreshTokenT>(value); }
72 template<
typename RefreshTokenT = Aws::String>
82 template<
typename UserManagedClientApplicationClientSecretT = Aws::String>
83 void SetUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT&& value) { m_userManagedClientApplicationClientSecretHasBeenSet =
true; m_userManagedClientApplicationClientSecret = std::forward<UserManagedClientApplicationClientSecretT>(value); }
84 template<
typename UserManagedClientApplicationClientSecretT = Aws::String>
90 bool m_accessTokenHasBeenSet =
false;
93 bool m_jwtTokenHasBeenSet =
false;
96 bool m_refreshTokenHasBeenSet =
false;
98 Aws::String m_userManagedClientApplicationClientSecret;
99 bool m_userManagedClientApplicationClientSecretHasBeenSet =
false;
void SetUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT &&value)
AWS_DATAZONE_API GlueOAuth2Credentials(Aws::Utils::Json::JsonView jsonValue)
bool AccessTokenHasBeenSet() const
bool UserManagedClientApplicationClientSecretHasBeenSet() const
GlueOAuth2Credentials & WithRefreshToken(RefreshTokenT &&value)
bool JwtTokenHasBeenSet() const
GlueOAuth2Credentials & WithAccessToken(AccessTokenT &&value)
const Aws::String & GetAccessToken() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
GlueOAuth2Credentials & WithUserManagedClientApplicationClientSecret(UserManagedClientApplicationClientSecretT &&value)
AWS_DATAZONE_API GlueOAuth2Credentials()=default
bool RefreshTokenHasBeenSet() const
const Aws::String & GetJwtToken() const
void SetAccessToken(AccessTokenT &&value)
const Aws::String & GetUserManagedClientApplicationClientSecret() const
void SetRefreshToken(RefreshTokenT &&value)
void SetJwtToken(JwtTokenT &&value)
AWS_DATAZONE_API GlueOAuth2Credentials & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRefreshToken() const
GlueOAuth2Credentials & WithJwtToken(JwtTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue