/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the authentication config that the connector
* supports.See Also:
AWS
* API Reference
Indicates whether basic authentication is supported by the connector.
*/ inline bool GetIsBasicAuthSupported() const{ return m_isBasicAuthSupported; } /** *Indicates whether basic authentication is supported by the connector.
*/ inline bool IsBasicAuthSupportedHasBeenSet() const { return m_isBasicAuthSupportedHasBeenSet; } /** *Indicates whether basic authentication is supported by the connector.
*/ inline void SetIsBasicAuthSupported(bool value) { m_isBasicAuthSupportedHasBeenSet = true; m_isBasicAuthSupported = value; } /** *Indicates whether basic authentication is supported by the connector.
*/ inline AuthenticationConfig& WithIsBasicAuthSupported(bool value) { SetIsBasicAuthSupported(value); return *this;} /** *Indicates whether API key authentication is supported by the connector
*/ inline bool GetIsApiKeyAuthSupported() const{ return m_isApiKeyAuthSupported; } /** *Indicates whether API key authentication is supported by the connector
*/ inline bool IsApiKeyAuthSupportedHasBeenSet() const { return m_isApiKeyAuthSupportedHasBeenSet; } /** *Indicates whether API key authentication is supported by the connector
*/ inline void SetIsApiKeyAuthSupported(bool value) { m_isApiKeyAuthSupportedHasBeenSet = true; m_isApiKeyAuthSupported = value; } /** *Indicates whether API key authentication is supported by the connector
*/ inline AuthenticationConfig& WithIsApiKeyAuthSupported(bool value) { SetIsApiKeyAuthSupported(value); return *this;} /** *Indicates whether OAuth 2.0 authentication is supported by the connector.
*/ inline bool GetIsOAuth2Supported() const{ return m_isOAuth2Supported; } /** *Indicates whether OAuth 2.0 authentication is supported by the connector.
*/ inline bool IsOAuth2SupportedHasBeenSet() const { return m_isOAuth2SupportedHasBeenSet; } /** *Indicates whether OAuth 2.0 authentication is supported by the connector.
*/ inline void SetIsOAuth2Supported(bool value) { m_isOAuth2SupportedHasBeenSet = true; m_isOAuth2Supported = value; } /** *Indicates whether OAuth 2.0 authentication is supported by the connector.
*/ inline AuthenticationConfig& WithIsOAuth2Supported(bool value) { SetIsOAuth2Supported(value); return *this;} /** *Indicates whether custom authentication is supported by the connector
*/ inline bool GetIsCustomAuthSupported() const{ return m_isCustomAuthSupported; } /** *Indicates whether custom authentication is supported by the connector
*/ inline bool IsCustomAuthSupportedHasBeenSet() const { return m_isCustomAuthSupportedHasBeenSet; } /** *Indicates whether custom authentication is supported by the connector
*/ inline void SetIsCustomAuthSupported(bool value) { m_isCustomAuthSupportedHasBeenSet = true; m_isCustomAuthSupported = value; } /** *Indicates whether custom authentication is supported by the connector
*/ inline AuthenticationConfig& WithIsCustomAuthSupported(bool value) { SetIsCustomAuthSupported(value); return *this;} /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline const OAuth2Defaults& GetOAuth2Defaults() const{ return m_oAuth2Defaults; } /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline bool OAuth2DefaultsHasBeenSet() const { return m_oAuth2DefaultsHasBeenSet; } /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline void SetOAuth2Defaults(const OAuth2Defaults& value) { m_oAuth2DefaultsHasBeenSet = true; m_oAuth2Defaults = value; } /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline void SetOAuth2Defaults(OAuth2Defaults&& value) { m_oAuth2DefaultsHasBeenSet = true; m_oAuth2Defaults = std::move(value); } /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline AuthenticationConfig& WithOAuth2Defaults(const OAuth2Defaults& value) { SetOAuth2Defaults(value); return *this;} /** *Contains the default values required for OAuth 2.0 authentication.
*/ inline AuthenticationConfig& WithOAuth2Defaults(OAuth2Defaults&& value) { SetOAuth2Defaults(std::move(value)); return *this;} /** *Contains information required for custom authentication.
*/ inline const Aws::VectorContains information required for custom authentication.
*/ inline bool CustomAuthConfigsHasBeenSet() const { return m_customAuthConfigsHasBeenSet; } /** *Contains information required for custom authentication.
*/ inline void SetCustomAuthConfigs(const Aws::VectorContains information required for custom authentication.
*/ inline void SetCustomAuthConfigs(Aws::VectorContains information required for custom authentication.
*/ inline AuthenticationConfig& WithCustomAuthConfigs(const Aws::VectorContains information required for custom authentication.
*/ inline AuthenticationConfig& WithCustomAuthConfigs(Aws::VectorContains information required for custom authentication.
*/ inline AuthenticationConfig& AddCustomAuthConfigs(const CustomAuthConfig& value) { m_customAuthConfigsHasBeenSet = true; m_customAuthConfigs.push_back(value); return *this; } /** *Contains information required for custom authentication.
*/ inline AuthenticationConfig& AddCustomAuthConfigs(CustomAuthConfig&& value) { m_customAuthConfigsHasBeenSet = true; m_customAuthConfigs.push_back(std::move(value)); return *this; } private: bool m_isBasicAuthSupported; bool m_isBasicAuthSupportedHasBeenSet = false; bool m_isApiKeyAuthSupported; bool m_isApiKeyAuthSupportedHasBeenSet = false; bool m_isOAuth2Supported; bool m_isOAuth2SupportedHasBeenSet = false; bool m_isCustomAuthSupported; bool m_isCustomAuthSupportedHasBeenSet = false; OAuth2Defaults m_oAuth2Defaults; bool m_oAuth2DefaultsHasBeenSet = false; Aws::Vector