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 SetClientId(
const char* value) { m_clientIdHasBeenSet =
true; m_clientId.assign(value); }
65 inline void SetClientSecret(
const char* value) { m_clientSecretHasBeenSet =
true; m_clientSecret.assign(value); }
79 inline void SetAccessToken(
const char* value) { m_accessTokenHasBeenSet =
true; m_accessToken.assign(value); }
93 inline void SetRefreshToken(
const char* value) { m_refreshTokenHasBeenSet =
true; m_refreshToken.assign(value); }
114 bool m_clientIdHasBeenSet =
false;
117 bool m_clientSecretHasBeenSet =
false;
120 bool m_accessTokenHasBeenSet =
false;
123 bool m_refreshTokenHasBeenSet =
false;
126 bool m_oAuthRequestHasBeenSet =
false;
bool OAuthRequestHasBeenSet() const
OAuthCredentials & WithOAuthRequest(const ConnectorOAuthRequest &value)
OAuthCredentials & WithAccessToken(const char *value)
OAuthCredentials & WithClientSecret(const char *value)
void SetClientSecret(const char *value)
void SetRefreshToken(const Aws::String &value)
const Aws::String & GetClientSecret() const
bool RefreshTokenHasBeenSet() const
bool ClientSecretHasBeenSet() const
OAuthCredentials & WithRefreshToken(const Aws::String &value)
OAuthCredentials & WithOAuthRequest(ConnectorOAuthRequest &&value)
void SetAccessToken(const char *value)
void SetAccessToken(const Aws::String &value)
OAuthCredentials & WithRefreshToken(const char *value)
OAuthCredentials & WithAccessToken(const Aws::String &value)
void SetOAuthRequest(const ConnectorOAuthRequest &value)
void SetOAuthRequest(ConnectorOAuthRequest &&value)
OAuthCredentials & WithAccessToken(Aws::String &&value)
AWS_APPFLOW_API OAuthCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuthCredentials & WithClientSecret(Aws::String &&value)
const Aws::String & GetClientId() const
void SetClientId(Aws::String &&value)
OAuthCredentials & WithRefreshToken(Aws::String &&value)
void SetRefreshToken(const char *value)
void SetClientSecret(Aws::String &&value)
bool AccessTokenHasBeenSet() const
void SetAccessToken(Aws::String &&value)
void SetClientId(const Aws::String &value)
OAuthCredentials & WithClientId(Aws::String &&value)
const Aws::String & GetAccessToken() const
void SetRefreshToken(Aws::String &&value)
void SetClientId(const char *value)
OAuthCredentials & WithClientSecret(const Aws::String &value)
bool ClientIdHasBeenSet() const
AWS_APPFLOW_API OAuthCredentials()
void SetClientSecret(const Aws::String &value)
AWS_APPFLOW_API OAuthCredentials(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRefreshToken() const
OAuthCredentials & WithClientId(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
OAuthCredentials & WithClientId(const Aws::String &value)
const ConnectorOAuthRequest & GetOAuthRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue