/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties that are applied when the custom connector is being used as a
* destination.See Also:
AWS
* API Reference
The entity specified in the custom connector as a destination in the * flow.
*/ inline const Aws::String& GetEntityName() const{ return m_entityName; } /** *The entity specified in the custom connector as a destination in the * flow.
*/ inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; } /** *The entity specified in the custom connector as a destination 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 destination 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 destination 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 destination in the * flow.
*/ inline CustomConnectorDestinationProperties& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;} /** *The entity specified in the custom connector as a destination in the * flow.
*/ inline CustomConnectorDestinationProperties& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;} /** *The entity specified in the custom connector as a destination in the * flow.
*/ inline CustomConnectorDestinationProperties& WithEntityName(const char* value) { SetEntityName(value); return *this;} /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; } /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; } /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; } /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); } /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline CustomConnectorDestinationProperties& WithErrorHandlingConfig(const ErrorHandlingConfig& value) { SetErrorHandlingConfig(value); return *this;} /** *The settings that determine how Amazon AppFlow handles an error when placing * data in the custom connector as destination.
*/ inline CustomConnectorDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfig&& value) { SetErrorHandlingConfig(std::move(value)); return *this;} /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline const WriteOperationType& GetWriteOperationType() const{ return m_writeOperationType; } /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline bool WriteOperationTypeHasBeenSet() const { return m_writeOperationTypeHasBeenSet; } /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline void SetWriteOperationType(const WriteOperationType& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = value; } /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline void SetWriteOperationType(WriteOperationType&& value) { m_writeOperationTypeHasBeenSet = true; m_writeOperationType = std::move(value); } /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline CustomConnectorDestinationProperties& WithWriteOperationType(const WriteOperationType& value) { SetWriteOperationType(value); return *this;} /** *Specifies the type of write operation to be performed in the custom connector * when it's used as destination.
*/ inline CustomConnectorDestinationProperties& WithWriteOperationType(WriteOperationType&& value) { SetWriteOperationType(std::move(value)); return *this;} /** *The name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline const Aws::VectorThe name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline bool IdFieldNamesHasBeenSet() const { return m_idFieldNamesHasBeenSet; } /** *The name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline void SetIdFieldNames(const Aws::VectorThe name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline void SetIdFieldNames(Aws::VectorThe name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline CustomConnectorDestinationProperties& WithIdFieldNames(const Aws::VectorThe name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline CustomConnectorDestinationProperties& WithIdFieldNames(Aws::VectorThe name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline CustomConnectorDestinationProperties& AddIdFieldNames(const Aws::String& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; } /** *The name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline CustomConnectorDestinationProperties& AddIdFieldNames(Aws::String&& value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(std::move(value)); return *this; } /** *The name of the field that Amazon AppFlow uses as an ID when performing a * write operation such as update, delete, or upsert.
*/ inline CustomConnectorDestinationProperties& AddIdFieldNames(const char* value) { m_idFieldNamesHasBeenSet = true; m_idFieldNames.push_back(value); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline const Aws::MapThe custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline bool CustomPropertiesHasBeenSet() const { return m_customPropertiesHasBeenSet; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline void SetCustomProperties(const Aws::MapThe custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline void SetCustomProperties(Aws::MapThe custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& WithCustomProperties(const Aws::MapThe custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& WithCustomProperties(Aws::MapThe custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(const Aws::String& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, const Aws::String& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(const Aws::String& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), std::move(value)); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(const char* key, Aws::String&& value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, std::move(value)); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(Aws::String&& key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(std::move(key), value); return *this; } /** *The custom properties that are specific to the connector when it's used as a * destination in the flow.
*/ inline CustomConnectorDestinationProperties& AddCustomProperties(const char* key, const char* value) { m_customPropertiesHasBeenSet = true; m_customProperties.emplace(key, value); return *this; } private: Aws::String m_entityName; bool m_entityNameHasBeenSet = false; ErrorHandlingConfig m_errorHandlingConfig; bool m_errorHandlingConfigHasBeenSet = false; WriteOperationType m_writeOperationType; bool m_writeOperationTypeHasBeenSet = false; Aws::Vector