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

The properties that are applied when the custom connector is being used as a * source.

See Also:

AWS * API Reference

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

The entity specified in the custom connector as a source in the flow.

*/ inline const Aws::String& GetEntityName() const{ return m_entityName; } /** *

The entity specified in the custom connector as a source in the flow.

*/ inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } /** *

The entity specified in the custom connector as a source in the flow.

*/ inline void SetEntityName(const Aws::String& value) { m_entityNameHasBeenSet = true; m_entityName = value; } /** *

The entity specified in the custom connector as a source in the flow.

*/ inline void SetEntityName(Aws::String&& value) { m_entityNameHasBeenSet = true; m_entityName = std::move(value); } /** *

The entity specified in the custom connector as a source in the flow.

*/ inline void SetEntityName(const char* value) { m_entityNameHasBeenSet = true; m_entityName.assign(value); } /** *

The entity specified in the custom connector as a source in the flow.

*/ inline CustomConnectorSourceProperties& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} /** *

The entity specified in the custom connector as a source in the flow.

*/ inline CustomConnectorSourceProperties& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} /** *

The entity specified in the custom connector as a source in the flow.

*/ inline CustomConnectorSourceProperties& WithEntityName(const char* value) { SetEntityName(value); return *this;} /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline const Aws::Map& GetCustomProperties() const{ return m_customProperties; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline void SetCustomProperties(const Aws::Map& value) { m_customPropertiesHasBeenSet = true; m_customProperties = value; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline void SetCustomProperties(Aws::Map&& value) { m_customPropertiesHasBeenSet = true; m_customProperties = std::move(value); } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& WithCustomProperties(const Aws::Map& value) { SetCustomProperties(value); return *this;} /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& WithCustomProperties(Aws::Map&& value) { SetCustomProperties(std::move(value)); return *this;} /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } /** *

Custom properties that are required to use the custom connector as a * source.

*/ inline CustomConnectorSourceProperties& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline const DataTransferApi& GetDataTransferApi() const{ return m_dataTransferApi; } /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline bool DataTransferApiHasBeenSet() const { return m_dataTransferApiHasBeenSet; } /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline void SetDataTransferApi(const DataTransferApi& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = value; } /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline void SetDataTransferApi(DataTransferApi&& value) { m_dataTransferApiHasBeenSet = true; m_dataTransferApi = std::move(value); } /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline CustomConnectorSourceProperties& WithDataTransferApi(const DataTransferApi& value) { SetDataTransferApi(value); return *this;} /** *

The API of the connector application that Amazon AppFlow uses to transfer * your data.

*/ inline CustomConnectorSourceProperties& WithDataTransferApi(DataTransferApi&& value) { SetDataTransferApi(std::move(value)); return *this;} private: Aws::String m_entityName; bool m_entityNameHasBeenSet = false; Aws::Map m_customProperties; bool m_customPropertiesHasBeenSet = false; DataTransferApi m_dataTransferApi; bool m_dataTransferApiHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws