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 ClientIdT = Aws::String>
44 m_clientIdHasBeenSet =
true;
45 m_clientId = std::forward<ClientIdT>(value);
47 template <
typename ClientIdT = Aws::String>
61 template <
typename ClientSecretT = Aws::String>
63 m_clientSecretHasBeenSet =
true;
64 m_clientSecret = std::forward<ClientSecretT>(value);
66 template <
typename ClientSecretT = Aws::String>
79 template <
typename AccessTokenT = Aws::String>
81 m_accessTokenHasBeenSet =
true;
82 m_accessToken = std::forward<AccessTokenT>(value);
84 template <
typename AccessTokenT = Aws::String>
97 template <
typename RefreshTokenT = Aws::String>
99 m_refreshTokenHasBeenSet =
true;
100 m_refreshToken = std::forward<RefreshTokenT>(value);
102 template <
typename RefreshTokenT = Aws::String>
113 template <
typename OAuthRequestT = ConnectorOAuthRequest>
115 m_oAuthRequestHasBeenSet =
true;
116 m_oAuthRequest = std::forward<OAuthRequestT>(value);
118 template <
typename OAuthRequestT = ConnectorOAuthRequest>
134 bool m_clientIdHasBeenSet =
false;
135 bool m_clientSecretHasBeenSet =
false;
136 bool m_accessTokenHasBeenSet =
false;
137 bool m_refreshTokenHasBeenSet =
false;
138 bool m_oAuthRequestHasBeenSet =
false;
void SetAccessToken(AccessTokenT &&value)
const Aws::String & GetAccessToken() const
void SetOAuthRequest(OAuthRequestT &&value)
bool ClientIdHasBeenSet() const
void SetClientId(ClientIdT &&value)
bool RefreshTokenHasBeenSet() const
AWS_APPFLOW_API OAuth2Credentials & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuth2Credentials & WithAccessToken(AccessTokenT &&value)
const Aws::String & GetClientSecret() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
bool AccessTokenHasBeenSet() const
const Aws::String & GetRefreshToken() const
void SetRefreshToken(RefreshTokenT &&value)
OAuth2Credentials & WithClientSecret(ClientSecretT &&value)
bool OAuthRequestHasBeenSet() const
const ConnectorOAuthRequest & GetOAuthRequest() const
OAuth2Credentials & WithClientId(ClientIdT &&value)
AWS_APPFLOW_API OAuth2Credentials()=default
bool ClientSecretHasBeenSet() const
const Aws::String & GetClientId() const
AWS_APPFLOW_API OAuth2Credentials(Aws::Utils::Json::JsonView jsonValue)
OAuth2Credentials & WithRefreshToken(RefreshTokenT &&value)
OAuth2Credentials & WithOAuthRequest(OAuthRequestT &&value)
void SetClientSecret(ClientSecretT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue