7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ConnectorOAuthRequest.h>
48 template<
typename AccessTokenT = Aws::String>
49 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet =
true; m_accessToken = std::forward<AccessTokenT>(value); }
50 template<
typename AccessTokenT = Aws::String>
60 template<
typename RefreshTokenT = Aws::String>
61 void SetRefreshToken(RefreshTokenT&& value) { m_refreshTokenHasBeenSet =
true; m_refreshToken = std::forward<RefreshTokenT>(value); }
62 template<
typename RefreshTokenT = Aws::String>
70 template<
typename OAuthRequestT = ConnectorOAuthRequest>
71 void SetOAuthRequest(OAuthRequestT&& value) { m_oAuthRequestHasBeenSet =
true; m_oAuthRequest = std::forward<OAuthRequestT>(value); }
72 template<
typename OAuthRequestT = ConnectorOAuthRequest>
78 bool m_accessTokenHasBeenSet =
false;
81 bool m_refreshTokenHasBeenSet =
false;
84 bool m_oAuthRequestHasBeenSet =
false;
HoneycodeConnectorProfileCredentials & WithRefreshToken(RefreshTokenT &&value)
AWS_APPFLOW_API HoneycodeConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
bool OAuthRequestHasBeenSet() const
AWS_APPFLOW_API HoneycodeConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
HoneycodeConnectorProfileCredentials & WithAccessToken(AccessTokenT &&value)
void SetOAuthRequest(OAuthRequestT &&value)
void SetAccessToken(AccessTokenT &&value)
const Aws::String & GetRefreshToken() const
bool RefreshTokenHasBeenSet() const
AWS_APPFLOW_API HoneycodeConnectorProfileCredentials()=default
const ConnectorOAuthRequest & GetOAuthRequest() const
const Aws::String & GetAccessToken() const
bool AccessTokenHasBeenSet() const
void SetRefreshToken(RefreshTokenT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
HoneycodeConnectorProfileCredentials & WithOAuthRequest(OAuthRequestT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue