7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ConnectorOAuthRequest.h>
50 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
64 inline void SetRefreshToken(
const char* value) { m_refreshTokenHasBeenSet =
true; m_refreshToken.assign(value); }
89 inline void SetClientCredentialsArn(
const char* value) { m_clientCredentialsArnHasBeenSet =
true; m_clientCredentialsArn.assign(value); }
97 bool m_accessTokenHasBeenSet =
false;
100 bool m_refreshTokenHasBeenSet =
false;
103 bool m_oAuthRequestHasBeenSet =
false;
106 bool m_clientCredentialsArnHasBeenSet =
false;
PardotConnectorProfileCredentials & WithRefreshToken(const char *value)
PardotConnectorProfileCredentials & WithRefreshToken(const Aws::String &value)
const Aws::String & GetAccessToken() const
AWS_APPFLOW_API PardotConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshToken(const Aws::String &value)
AWS_APPFLOW_API PardotConnectorProfileCredentials()
PardotConnectorProfileCredentials & WithRefreshToken(Aws::String &&value)
bool RefreshTokenHasBeenSet() const
void SetAccessToken(const Aws::String &value)
bool ClientCredentialsArnHasBeenSet() const
PardotConnectorProfileCredentials & WithClientCredentialsArn(const char *value)
PardotConnectorProfileCredentials & WithClientCredentialsArn(Aws::String &&value)
PardotConnectorProfileCredentials & WithClientCredentialsArn(const Aws::String &value)
AWS_APPFLOW_API PardotConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRefreshToken() const
PardotConnectorProfileCredentials & WithAccessToken(Aws::String &&value)
void SetClientCredentialsArn(const Aws::String &value)
bool AccessTokenHasBeenSet() const
void SetClientCredentialsArn(Aws::String &&value)
PardotConnectorProfileCredentials & WithAccessToken(const Aws::String &value)
void SetAccessToken(const char *value)
void SetRefreshToken(const char *value)
void SetRefreshToken(Aws::String &&value)
PardotConnectorProfileCredentials & WithAccessToken(const char *value)
void SetClientCredentialsArn(const char *value)
const Aws::String & GetClientCredentialsArn() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccessToken(Aws::String &&value)
PardotConnectorProfileCredentials & WithOAuthRequest(const ConnectorOAuthRequest &value)
bool OAuthRequestHasBeenSet() const
const ConnectorOAuthRequest & GetOAuthRequest() const
void SetOAuthRequest(const ConnectorOAuthRequest &value)
void SetOAuthRequest(ConnectorOAuthRequest &&value)
PardotConnectorProfileCredentials & WithOAuthRequest(ConnectorOAuthRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue