7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ConnectorOAuthRequest.h>
10#include <aws/appflow/model/OAuth2GrantType.h>
49 template<
typename AccessTokenT = Aws::String>
50 void SetAccessToken(AccessTokenT&& value) { m_accessTokenHasBeenSet =
true; m_accessToken = std::forward<AccessTokenT>(value); }
51 template<
typename AccessTokenT = Aws::String>
61 template<
typename RefreshTokenT = Aws::String>
62 void SetRefreshToken(RefreshTokenT&& value) { m_refreshTokenHasBeenSet =
true; m_refreshToken = std::forward<RefreshTokenT>(value); }
63 template<
typename RefreshTokenT = Aws::String>
74 template<
typename OAuthRequestT = ConnectorOAuthRequest>
75 void SetOAuthRequest(OAuthRequestT&& value) { m_oAuthRequestHasBeenSet =
true; m_oAuthRequest = std::forward<OAuthRequestT>(value); }
76 template<
typename OAuthRequestT = ConnectorOAuthRequest>
87 template<
typename ClientCredentialsArnT = Aws::String>
88 void SetClientCredentialsArn(ClientCredentialsArnT&& value) { m_clientCredentialsArnHasBeenSet =
true; m_clientCredentialsArn = std::forward<ClientCredentialsArnT>(value); }
89 template<
typename ClientCredentialsArnT = Aws::String>
123 template<
typename JwtTokenT = Aws::String>
124 void SetJwtToken(JwtTokenT&& value) { m_jwtTokenHasBeenSet =
true; m_jwtToken = std::forward<JwtTokenT>(value); }
125 template<
typename JwtTokenT = Aws::String>
131 bool m_accessTokenHasBeenSet =
false;
134 bool m_refreshTokenHasBeenSet =
false;
137 bool m_oAuthRequestHasBeenSet =
false;
140 bool m_clientCredentialsArnHasBeenSet =
false;
143 bool m_oAuth2GrantTypeHasBeenSet =
false;
146 bool m_jwtTokenHasBeenSet =
false;
AWS_APPFLOW_API SalesforceConnectorProfileCredentials()=default
SalesforceConnectorProfileCredentials & WithRefreshToken(RefreshTokenT &&value)
SalesforceConnectorProfileCredentials & WithOAuth2GrantType(OAuth2GrantType value)
AWS_APPFLOW_API SalesforceConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
bool JwtTokenHasBeenSet() const
const Aws::String & GetClientCredentialsArn() const
const Aws::String & GetRefreshToken() const
SalesforceConnectorProfileCredentials & WithJwtToken(JwtTokenT &&value)
void SetClientCredentialsArn(ClientCredentialsArnT &&value)
const Aws::String & GetJwtToken() const
bool OAuth2GrantTypeHasBeenSet() const
bool OAuthRequestHasBeenSet() const
void SetOAuthRequest(OAuthRequestT &&value)
OAuth2GrantType GetOAuth2GrantType() const
SalesforceConnectorProfileCredentials & WithAccessToken(AccessTokenT &&value)
const Aws::String & GetAccessToken() const
SalesforceConnectorProfileCredentials & WithOAuthRequest(OAuthRequestT &&value)
bool RefreshTokenHasBeenSet() const
const ConnectorOAuthRequest & GetOAuthRequest() const
bool AccessTokenHasBeenSet() const
bool ClientCredentialsArnHasBeenSet() const
SalesforceConnectorProfileCredentials & WithClientCredentialsArn(ClientCredentialsArnT &&value)
void SetAccessToken(AccessTokenT &&value)
AWS_APPFLOW_API SalesforceConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetOAuth2GrantType(OAuth2GrantType value)
void SetRefreshToken(RefreshTokenT &&value)
void SetJwtToken(JwtTokenT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue