/** * 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 { /** *

Contains information about the configuration of destination connectors * present in the flow.

See Also:

AWS * API Reference

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

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline const ConnectorType& GetConnectorType() const{ return m_connectorType; } /** *

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; } /** *

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; } /** *

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); } /** *

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline DestinationFlowConfig& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;} /** *

The type of connector, such as Salesforce, Amplitude, and so on.

*/ inline DestinationFlowConfig& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;} /** *

The API version that the destination connector uses.

*/ inline const Aws::String& GetApiVersion() const{ return m_apiVersion; } /** *

The API version that the destination connector uses.

*/ inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; } /** *

The API version that the destination connector uses.

*/ inline void SetApiVersion(const Aws::String& value) { m_apiVersionHasBeenSet = true; m_apiVersion = value; } /** *

The API version that the destination connector uses.

*/ inline void SetApiVersion(Aws::String&& value) { m_apiVersionHasBeenSet = true; m_apiVersion = std::move(value); } /** *

The API version that the destination connector uses.

*/ inline void SetApiVersion(const char* value) { m_apiVersionHasBeenSet = true; m_apiVersion.assign(value); } /** *

The API version that the destination connector uses.

*/ inline DestinationFlowConfig& WithApiVersion(const Aws::String& value) { SetApiVersion(value); return *this;} /** *

The API version that the destination connector uses.

*/ inline DestinationFlowConfig& WithApiVersion(Aws::String&& value) { SetApiVersion(std::move(value)); return *this;} /** *

The API version that the destination connector uses.

*/ inline DestinationFlowConfig& WithApiVersion(const char* value) { SetApiVersion(value); return *this;} /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; } /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; } /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; } /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); } /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); } /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline DestinationFlowConfig& WithConnectorProfileName(const Aws::String& value) { SetConnectorProfileName(value); return *this;} /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline DestinationFlowConfig& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;} /** *

The name of the connector profile. This name must be unique for each * connector profile in the Amazon Web Services account.

*/ inline DestinationFlowConfig& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;} /** *

This stores the information that is required to query a particular * connector.

*/ inline const DestinationConnectorProperties& GetDestinationConnectorProperties() const{ return m_destinationConnectorProperties; } /** *

This stores the information that is required to query a particular * connector.

*/ inline bool DestinationConnectorPropertiesHasBeenSet() const { return m_destinationConnectorPropertiesHasBeenSet; } /** *

This stores the information that is required to query a particular * connector.

*/ inline void SetDestinationConnectorProperties(const DestinationConnectorProperties& value) { m_destinationConnectorPropertiesHasBeenSet = true; m_destinationConnectorProperties = value; } /** *

This stores the information that is required to query a particular * connector.

*/ inline void SetDestinationConnectorProperties(DestinationConnectorProperties&& value) { m_destinationConnectorPropertiesHasBeenSet = true; m_destinationConnectorProperties = std::move(value); } /** *

This stores the information that is required to query a particular * connector.

*/ inline DestinationFlowConfig& WithDestinationConnectorProperties(const DestinationConnectorProperties& value) { SetDestinationConnectorProperties(value); return *this;} /** *

This stores the information that is required to query a particular * connector.

*/ inline DestinationFlowConfig& WithDestinationConnectorProperties(DestinationConnectorProperties&& value) { SetDestinationConnectorProperties(std::move(value)); return *this;} private: ConnectorType m_connectorType; bool m_connectorTypeHasBeenSet = false; Aws::String m_apiVersion; bool m_apiVersionHasBeenSet = false; Aws::String m_connectorProfileName; bool m_connectorProfileNameHasBeenSet = false; DestinationConnectorProperties m_destinationConnectorProperties; bool m_destinationConnectorPropertiesHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws