7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/OAuth2Defaults.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/appflow/model/CustomAuthConfig.h>
49 inline void SetIsBasicAuthSupported(
bool value) { m_isBasicAuthSupportedHasBeenSet =
true; m_isBasicAuthSupported = value; }
59 inline void SetIsApiKeyAuthSupported(
bool value) { m_isApiKeyAuthSupportedHasBeenSet =
true; m_isApiKeyAuthSupported = value; }
69 inline void SetIsOAuth2Supported(
bool value) { m_isOAuth2SupportedHasBeenSet =
true; m_isOAuth2Supported = value; }
79 inline void SetIsCustomAuthSupported(
bool value) { m_isCustomAuthSupportedHasBeenSet =
true; m_isCustomAuthSupported = value; }
89 template<
typename OAuth2DefaultsT = OAuth2Defaults>
90 void SetOAuth2Defaults(OAuth2DefaultsT&& value) { m_oAuth2DefaultsHasBeenSet =
true; m_oAuth2Defaults = std::forward<OAuth2DefaultsT>(value); }
91 template<
typename OAuth2DefaultsT = OAuth2Defaults>
101 template<
typename CustomAuthConfigsT = Aws::Vector<CustomAuthConfig>>
102 void SetCustomAuthConfigs(CustomAuthConfigsT&& value) { m_customAuthConfigsHasBeenSet =
true; m_customAuthConfigs = std::forward<CustomAuthConfigsT>(value); }
103 template<
typename CustomAuthConfigsT = Aws::Vector<CustomAuthConfig>>
105 template<
typename CustomAuthConfigsT = CustomAuthConfig>
110 bool m_isBasicAuthSupported{
false};
111 bool m_isBasicAuthSupportedHasBeenSet =
false;
113 bool m_isApiKeyAuthSupported{
false};
114 bool m_isApiKeyAuthSupportedHasBeenSet =
false;
116 bool m_isOAuth2Supported{
false};
117 bool m_isOAuth2SupportedHasBeenSet =
false;
119 bool m_isCustomAuthSupported{
false};
120 bool m_isCustomAuthSupportedHasBeenSet =
false;
122 OAuth2Defaults m_oAuth2Defaults;
123 bool m_oAuth2DefaultsHasBeenSet =
false;
126 bool m_customAuthConfigsHasBeenSet =
false;
const OAuth2Defaults & GetOAuth2Defaults() const
void SetIsApiKeyAuthSupported(bool value)
AuthenticationConfig & AddCustomAuthConfigs(CustomAuthConfigsT &&value)
void SetIsOAuth2Supported(bool value)
AWS_APPFLOW_API AuthenticationConfig(Aws::Utils::Json::JsonView jsonValue)
bool GetIsApiKeyAuthSupported() const
AuthenticationConfig & WithIsOAuth2Supported(bool value)
bool IsBasicAuthSupportedHasBeenSet() const
AuthenticationConfig & WithIsApiKeyAuthSupported(bool value)
void SetIsCustomAuthSupported(bool value)
void SetIsBasicAuthSupported(bool value)
bool GetIsOAuth2Supported() const
AWS_APPFLOW_API AuthenticationConfig()=default
const Aws::Vector< CustomAuthConfig > & GetCustomAuthConfigs() const
AuthenticationConfig & WithIsBasicAuthSupported(bool value)
AuthenticationConfig & WithOAuth2Defaults(OAuth2DefaultsT &&value)
bool GetIsBasicAuthSupported() const
AuthenticationConfig & WithIsCustomAuthSupported(bool value)
bool IsApiKeyAuthSupportedHasBeenSet() const
void SetCustomAuthConfigs(CustomAuthConfigsT &&value)
bool GetIsCustomAuthSupported() const
bool IsCustomAuthSupportedHasBeenSet() const
AWS_APPFLOW_API AuthenticationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomAuthConfigsHasBeenSet() const
bool IsOAuth2SupportedHasBeenSet() const
bool OAuth2DefaultsHasBeenSet() const
AuthenticationConfig & WithCustomAuthConfigs(CustomAuthConfigsT &&value)
void SetOAuth2Defaults(OAuth2DefaultsT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue