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

Defines the connector-specific configuration and credentials for the * connector profile.

See Also:

AWS * API Reference

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

The connector-specific properties of the profile configuration.

*/ inline const ConnectorProfileProperties& GetConnectorProfileProperties() const{ return m_connectorProfileProperties; } /** *

The connector-specific properties of the profile configuration.

*/ inline bool ConnectorProfilePropertiesHasBeenSet() const { return m_connectorProfilePropertiesHasBeenSet; } /** *

The connector-specific properties of the profile configuration.

*/ inline void SetConnectorProfileProperties(const ConnectorProfileProperties& value) { m_connectorProfilePropertiesHasBeenSet = true; m_connectorProfileProperties = value; } /** *

The connector-specific properties of the profile configuration.

*/ inline void SetConnectorProfileProperties(ConnectorProfileProperties&& value) { m_connectorProfilePropertiesHasBeenSet = true; m_connectorProfileProperties = std::move(value); } /** *

The connector-specific properties of the profile configuration.

*/ inline ConnectorProfileConfig& WithConnectorProfileProperties(const ConnectorProfileProperties& value) { SetConnectorProfileProperties(value); return *this;} /** *

The connector-specific properties of the profile configuration.

*/ inline ConnectorProfileConfig& WithConnectorProfileProperties(ConnectorProfileProperties&& value) { SetConnectorProfileProperties(std::move(value)); return *this;} /** *

The connector-specific credentials required by each connector.

*/ inline const ConnectorProfileCredentials& GetConnectorProfileCredentials() const{ return m_connectorProfileCredentials; } /** *

The connector-specific credentials required by each connector.

*/ inline bool ConnectorProfileCredentialsHasBeenSet() const { return m_connectorProfileCredentialsHasBeenSet; } /** *

The connector-specific credentials required by each connector.

*/ inline void SetConnectorProfileCredentials(const ConnectorProfileCredentials& value) { m_connectorProfileCredentialsHasBeenSet = true; m_connectorProfileCredentials = value; } /** *

The connector-specific credentials required by each connector.

*/ inline void SetConnectorProfileCredentials(ConnectorProfileCredentials&& value) { m_connectorProfileCredentialsHasBeenSet = true; m_connectorProfileCredentials = std::move(value); } /** *

The connector-specific credentials required by each connector.

*/ inline ConnectorProfileConfig& WithConnectorProfileCredentials(const ConnectorProfileCredentials& value) { SetConnectorProfileCredentials(value); return *this;} /** *

The connector-specific credentials required by each connector.

*/ inline ConnectorProfileConfig& WithConnectorProfileCredentials(ConnectorProfileCredentials&& value) { SetConnectorProfileCredentials(std::move(value)); return *this;} private: ConnectorProfileProperties m_connectorProfileProperties; bool m_connectorProfilePropertiesHasBeenSet = false; ConnectorProfileCredentials m_connectorProfileCredentials; bool m_connectorProfileCredentialsHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws