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>
51 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
65 inline void SetRefreshToken(
const char* value) { m_refreshTokenHasBeenSet =
true; m_refreshToken.assign(value); }
93 inline void SetClientCredentialsArn(
const char* value) { m_clientCredentialsArnHasBeenSet =
true; m_clientCredentialsArn.assign(value); }
133 inline void SetJwtToken(
const char* value) { m_jwtTokenHasBeenSet =
true; m_jwtToken.assign(value); }
141 bool m_accessTokenHasBeenSet =
false;
144 bool m_refreshTokenHasBeenSet =
false;
147 bool m_oAuthRequestHasBeenSet =
false;
150 bool m_clientCredentialsArnHasBeenSet =
false;
153 bool m_oAuth2GrantTypeHasBeenSet =
false;
156 bool m_jwtTokenHasBeenSet =
false;
void SetAccessToken(Aws::String &&value)
void SetRefreshToken(const Aws::String &value)
SalesforceConnectorProfileCredentials & WithOAuthRequest(const ConnectorOAuthRequest &value)
AWS_APPFLOW_API SalesforceConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
bool JwtTokenHasBeenSet() const
SalesforceConnectorProfileCredentials & WithAccessToken(Aws::String &&value)
SalesforceConnectorProfileCredentials & WithAccessToken(const Aws::String &value)
void SetOAuthRequest(ConnectorOAuthRequest &&value)
SalesforceConnectorProfileCredentials & WithOAuthRequest(ConnectorOAuthRequest &&value)
void SetOAuth2GrantType(OAuth2GrantType &&value)
const Aws::String & GetClientCredentialsArn() const
const Aws::String & GetRefreshToken() const
const Aws::String & GetJwtToken() const
bool OAuth2GrantTypeHasBeenSet() const
bool OAuthRequestHasBeenSet() const
SalesforceConnectorProfileCredentials & WithRefreshToken(Aws::String &&value)
void SetJwtToken(const Aws::String &value)
AWS_APPFLOW_API SalesforceConnectorProfileCredentials()
SalesforceConnectorProfileCredentials & WithAccessToken(const char *value)
void SetOAuth2GrantType(const OAuth2GrantType &value)
SalesforceConnectorProfileCredentials & WithClientCredentialsArn(const char *value)
SalesforceConnectorProfileCredentials & WithClientCredentialsArn(const Aws::String &value)
void SetClientCredentialsArn(const char *value)
SalesforceConnectorProfileCredentials & WithRefreshToken(const char *value)
void SetAccessToken(const char *value)
SalesforceConnectorProfileCredentials & WithJwtToken(const Aws::String &value)
SalesforceConnectorProfileCredentials & WithOAuth2GrantType(OAuth2GrantType &&value)
SalesforceConnectorProfileCredentials & WithJwtToken(Aws::String &&value)
const OAuth2GrantType & GetOAuth2GrantType() const
void SetRefreshToken(Aws::String &&value)
void SetClientCredentialsArn(const Aws::String &value)
void SetRefreshToken(const char *value)
const Aws::String & GetAccessToken() const
SalesforceConnectorProfileCredentials & WithOAuth2GrantType(const OAuth2GrantType &value)
bool RefreshTokenHasBeenSet() const
const ConnectorOAuthRequest & GetOAuthRequest() const
bool AccessTokenHasBeenSet() const
bool ClientCredentialsArnHasBeenSet() const
void SetAccessToken(const Aws::String &value)
SalesforceConnectorProfileCredentials & WithJwtToken(const char *value)
AWS_APPFLOW_API SalesforceConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetOAuthRequest(const ConnectorOAuthRequest &value)
void SetJwtToken(Aws::String &&value)
SalesforceConnectorProfileCredentials & WithClientCredentialsArn(Aws::String &&value)
void SetClientCredentialsArn(Aws::String &&value)
void SetJwtToken(const char *value)
SalesforceConnectorProfileCredentials & WithRefreshToken(const Aws::String &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