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>
83 template<
typename ClientCredentialsArnT = Aws::String>
84 void SetClientCredentialsArn(ClientCredentialsArnT&& value) { m_clientCredentialsArnHasBeenSet =
true; m_clientCredentialsArn = std::forward<ClientCredentialsArnT>(value); }
85 template<
typename ClientCredentialsArnT = Aws::String>
91 bool m_accessTokenHasBeenSet =
false;
94 bool m_refreshTokenHasBeenSet =
false;
97 bool m_oAuthRequestHasBeenSet =
false;
100 bool m_clientCredentialsArnHasBeenSet =
false;
const Aws::String & GetAccessToken() const
AWS_APPFLOW_API PardotConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetClientCredentialsArn(ClientCredentialsArnT &&value)
PardotConnectorProfileCredentials & WithAccessToken(AccessTokenT &&value)
void SetRefreshToken(RefreshTokenT &&value)
bool RefreshTokenHasBeenSet() const
bool ClientCredentialsArnHasBeenSet() const
AWS_APPFLOW_API PardotConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRefreshToken() const
PardotConnectorProfileCredentials & WithClientCredentialsArn(ClientCredentialsArnT &&value)
AWS_APPFLOW_API PardotConnectorProfileCredentials()=default
PardotConnectorProfileCredentials & WithRefreshToken(RefreshTokenT &&value)
bool AccessTokenHasBeenSet() const
PardotConnectorProfileCredentials & WithOAuthRequest(OAuthRequestT &&value)
void SetAccessToken(AccessTokenT &&value)
const Aws::String & GetClientCredentialsArn() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOAuthRequest(OAuthRequestT &&value)
bool OAuthRequestHasBeenSet() const
const ConnectorOAuthRequest & GetOAuthRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue