7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/CustomAuthConfig.h>
9#include <aws/appflow/model/OAuth2Defaults.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 m_isBasicAuthSupportedHasBeenSet =
true;
45 m_isBasicAuthSupported = value;
60 m_isApiKeyAuthSupportedHasBeenSet =
true;
61 m_isApiKeyAuthSupported = value;
76 m_isOAuth2SupportedHasBeenSet =
true;
77 m_isOAuth2Supported = value;
92 m_isCustomAuthSupportedHasBeenSet =
true;
93 m_isCustomAuthSupported = value;
107 template <
typename OAuth2DefaultsT = OAuth2Defaults>
109 m_oAuth2DefaultsHasBeenSet =
true;
110 m_oAuth2Defaults = std::forward<OAuth2DefaultsT>(value);
112 template <
typename OAuth2DefaultsT = OAuth2Defaults>
125 template <
typename CustomAuthConfigsT = Aws::Vector<CustomAuthConfig>>
127 m_customAuthConfigsHasBeenSet =
true;
128 m_customAuthConfigs = std::forward<CustomAuthConfigsT>(value);
130 template <
typename CustomAuthConfigsT = Aws::Vector<CustomAuthConfig>>
135 template <
typename CustomAuthConfigsT = CustomAuthConfig>
137 m_customAuthConfigsHasBeenSet =
true;
138 m_customAuthConfigs.emplace_back(std::forward<CustomAuthConfigsT>(value));
143 bool m_isBasicAuthSupported{
false};
145 bool m_isApiKeyAuthSupported{
false};
147 bool m_isOAuth2Supported{
false};
149 bool m_isCustomAuthSupported{
false};
151 OAuth2Defaults m_oAuth2Defaults;
154 bool m_isBasicAuthSupportedHasBeenSet =
false;
155 bool m_isApiKeyAuthSupportedHasBeenSet =
false;
156 bool m_isOAuth2SupportedHasBeenSet =
false;
157 bool m_isCustomAuthSupportedHasBeenSet =
false;
158 bool m_oAuth2DefaultsHasBeenSet =
false;
159 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