/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

Configuration information required for custom authentication.

See * Also:

AWS * API Reference

*/ class CustomAuthConfig { public: AWS_APPFLOW_API CustomAuthConfig(); AWS_APPFLOW_API CustomAuthConfig(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API CustomAuthConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The authentication type that the custom connector uses.

*/ inline const Aws::String& GetCustomAuthenticationType() const{ return m_customAuthenticationType; } /** *

The authentication type that the custom connector uses.

*/ inline bool CustomAuthenticationTypeHasBeenSet() const { return m_customAuthenticationTypeHasBeenSet; } /** *

The authentication type that the custom connector uses.

*/ inline void SetCustomAuthenticationType(const Aws::String& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = value; } /** *

The authentication type that the custom connector uses.

*/ inline void SetCustomAuthenticationType(Aws::String&& value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType = std::move(value); } /** *

The authentication type that the custom connector uses.

*/ inline void SetCustomAuthenticationType(const char* value) { m_customAuthenticationTypeHasBeenSet = true; m_customAuthenticationType.assign(value); } /** *

The authentication type that the custom connector uses.

*/ inline CustomAuthConfig& WithCustomAuthenticationType(const Aws::String& value) { SetCustomAuthenticationType(value); return *this;} /** *

The authentication type that the custom connector uses.

*/ inline CustomAuthConfig& WithCustomAuthenticationType(Aws::String&& value) { SetCustomAuthenticationType(std::move(value)); return *this;} /** *

The authentication type that the custom connector uses.

*/ inline CustomAuthConfig& WithCustomAuthenticationType(const char* value) { SetCustomAuthenticationType(value); return *this;} /** *

Information about authentication parameters required for authentication.

*/ inline const Aws::Vector& GetAuthParameters() const{ return m_authParameters; } /** *

Information about authentication parameters required for authentication.

*/ inline bool AuthParametersHasBeenSet() const { return m_authParametersHasBeenSet; } /** *

Information about authentication parameters required for authentication.

*/ inline void SetAuthParameters(const Aws::Vector& value) { m_authParametersHasBeenSet = true; m_authParameters = value; } /** *

Information about authentication parameters required for authentication.

*/ inline void SetAuthParameters(Aws::Vector&& value) { m_authParametersHasBeenSet = true; m_authParameters = std::move(value); } /** *

Information about authentication parameters required for authentication.

*/ inline CustomAuthConfig& WithAuthParameters(const Aws::Vector& value) { SetAuthParameters(value); return *this;} /** *

Information about authentication parameters required for authentication.

*/ inline CustomAuthConfig& WithAuthParameters(Aws::Vector&& value) { SetAuthParameters(std::move(value)); return *this;} /** *

Information about authentication parameters required for authentication.

*/ inline CustomAuthConfig& AddAuthParameters(const AuthParameter& value) { m_authParametersHasBeenSet = true; m_authParameters.push_back(value); return *this; } /** *

Information about authentication parameters required for authentication.

*/ inline CustomAuthConfig& AddAuthParameters(AuthParameter&& value) { m_authParametersHasBeenSet = true; m_authParameters.push_back(std::move(value)); return *this; } private: Aws::String m_customAuthenticationType; bool m_customAuthenticationTypeHasBeenSet = false; Aws::Vector m_authParameters; bool m_authParametersHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws