7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ApiKeyCredentials.h>
9#include <aws/appflow/model/AuthenticationType.h>
10#include <aws/appflow/model/BasicAuthCredentials.h>
11#include <aws/appflow/model/CustomAuthCredentials.h>
12#include <aws/appflow/model/OAuth2Credentials.h>
47 m_authenticationTypeHasBeenSet =
true;
48 m_authenticationType = value;
63 template <
typename BasicT = BasicAuthCredentials>
65 m_basicHasBeenSet =
true;
66 m_basic = std::forward<BasicT>(value);
68 template <
typename BasicT = BasicAuthCredentials>
70 SetBasic(std::forward<BasicT>(value));
81 template <
typename Oauth2T = OAuth2Credentials>
83 m_oauth2HasBeenSet =
true;
84 m_oauth2 = std::forward<Oauth2T>(value);
86 template <
typename Oauth2T = OAuth2Credentials>
99 template <
typename ApiKeyT = ApiKeyCredentials>
101 m_apiKeyHasBeenSet =
true;
102 m_apiKey = std::forward<ApiKeyT>(value);
104 template <
typename ApiKeyT = ApiKeyCredentials>
118 template <
typename CustomT = CustomAuthCredentials>
120 m_customHasBeenSet =
true;
121 m_custom = std::forward<CustomT>(value);
123 template <
typename CustomT = CustomAuthCredentials>
132 BasicAuthCredentials m_basic;
134 OAuth2Credentials m_oauth2;
136 ApiKeyCredentials m_apiKey;
138 CustomAuthCredentials m_custom;
139 bool m_authenticationTypeHasBeenSet =
false;
140 bool m_basicHasBeenSet =
false;
141 bool m_oauth2HasBeenSet =
false;
142 bool m_apiKeyHasBeenSet =
false;
143 bool m_customHasBeenSet =
false;
void SetBasic(BasicT &&value)
CustomConnectorProfileCredentials & WithApiKey(ApiKeyT &&value)
const OAuth2Credentials & GetOauth2() const
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomHasBeenSet() const
bool BasicHasBeenSet() const
bool Oauth2HasBeenSet() const
bool AuthenticationTypeHasBeenSet() const
CustomConnectorProfileCredentials & WithOauth2(Oauth2T &&value)
bool ApiKeyHasBeenSet() const
const CustomAuthCredentials & GetCustom() const
const ApiKeyCredentials & GetApiKey() const
CustomConnectorProfileCredentials & WithBasic(BasicT &&value)
AWS_APPFLOW_API CustomConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOauth2(Oauth2T &&value)
void SetApiKey(ApiKeyT &&value)
CustomConnectorProfileCredentials & WithAuthenticationType(AuthenticationType value)
CustomConnectorProfileCredentials & WithCustom(CustomT &&value)
AuthenticationType GetAuthenticationType() const
void SetCustom(CustomT &&value)
void SetAuthenticationType(AuthenticationType value)
AWS_APPFLOW_API CustomConnectorProfileCredentials()=default
const BasicAuthCredentials & GetBasic() const
AWS_APPFLOW_API CustomConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue