7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ConnectorOAuthRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename AccessTokenT = Aws::String>
44 m_accessTokenHasBeenSet =
true;
45 m_accessToken = std::forward<AccessTokenT>(value);
47 template <
typename AccessTokenT = Aws::String>
60 template <
typename RefreshTokenT = Aws::String>
62 m_refreshTokenHasBeenSet =
true;
63 m_refreshToken = std::forward<RefreshTokenT>(value);
65 template <
typename RefreshTokenT = Aws::String>
76 template <
typename OAuthRequestT = ConnectorOAuthRequest>
78 m_oAuthRequestHasBeenSet =
true;
79 m_oAuthRequest = std::forward<OAuthRequestT>(value);
81 template <
typename OAuthRequestT = ConnectorOAuthRequest>
95 template <
typename ClientCredentialsArnT = Aws::String>
97 m_clientCredentialsArnHasBeenSet =
true;
98 m_clientCredentialsArn = std::forward<ClientCredentialsArnT>(value);
100 template <
typename ClientCredentialsArnT = Aws::String>
114 bool m_accessTokenHasBeenSet =
false;
115 bool m_refreshTokenHasBeenSet =
false;
116 bool m_oAuthRequestHasBeenSet =
false;
117 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