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>
116 template <
typename OAuthRequestT = ConnectorOAuthRequest>
118 m_oAuthRequestHasBeenSet =
true;
119 m_oAuthRequest = std::forward<OAuthRequestT>(value);
121 template <
typename OAuthRequestT = ConnectorOAuthRequest>
137 bool m_clientIdHasBeenSet =
false;
138 bool m_clientSecretHasBeenSet =
false;
139 bool m_accessTokenHasBeenSet =
false;
140 bool m_refreshTokenHasBeenSet =
false;
141 bool m_oAuthRequestHasBeenSet =
false;
bool OAuthRequestHasBeenSet() const
AWS_APPFLOW_API OAuthCredentials()=default
void SetRefreshToken(RefreshTokenT &&value)
OAuthCredentials & WithClientSecret(ClientSecretT &&value)
const Aws::String & GetClientSecret() const
bool RefreshTokenHasBeenSet() const
bool ClientSecretHasBeenSet() const
OAuthCredentials & WithRefreshToken(RefreshTokenT &&value)
void SetAccessToken(AccessTokenT &&value)
void SetClientId(ClientIdT &&value)
void SetOAuthRequest(OAuthRequestT &&value)
OAuthCredentials & WithAccessToken(AccessTokenT &&value)
OAuthCredentials & WithOAuthRequest(OAuthRequestT &&value)
void SetClientSecret(ClientSecretT &&value)
AWS_APPFLOW_API OAuthCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetClientId() const
bool AccessTokenHasBeenSet() const
const Aws::String & GetAccessToken() const
bool ClientIdHasBeenSet() const
AWS_APPFLOW_API OAuthCredentials(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRefreshToken() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
OAuthCredentials & WithClientId(ClientIdT &&value)
const ConnectorOAuthRequest & GetOAuthRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue