/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Appflow.Model { /// /// The properties that are applied when the custom connector is being used as a destination. /// public partial class CustomConnectorDestinationProperties { private Dictionary _customProperties = new Dictionary(); private string _entityName; private ErrorHandlingConfig _errorHandlingConfig; private List _idFieldNames = new List(); private WriteOperationType _writeOperationType; /// /// Gets and sets the property CustomProperties. /// /// The custom properties that are specific to the connector when it's used as a destination /// in the flow. /// /// [AWSProperty(Min=0, Max=50)] public Dictionary CustomProperties { get { return this._customProperties; } set { this._customProperties = value; } } // Check to see if CustomProperties property is set internal bool IsSetCustomProperties() { return this._customProperties != null && this._customProperties.Count > 0; } /// /// Gets and sets the property EntityName. /// /// The entity specified in the custom connector as a destination in the flow. /// /// [AWSProperty(Required=true, Max=1024)] public string EntityName { get { return this._entityName; } set { this._entityName = value; } } // Check to see if EntityName property is set internal bool IsSetEntityName() { return this._entityName != null; } /// /// Gets and sets the property ErrorHandlingConfig. /// /// The settings that determine how Amazon AppFlow handles an error when placing data /// in the custom connector as destination. /// /// public ErrorHandlingConfig ErrorHandlingConfig { get { return this._errorHandlingConfig; } set { this._errorHandlingConfig = value; } } // Check to see if ErrorHandlingConfig property is set internal bool IsSetErrorHandlingConfig() { return this._errorHandlingConfig != null; } /// /// Gets and sets the property IdFieldNames. /// /// The name of the field that Amazon AppFlow uses as an ID when performing a write operation /// such as update, delete, or upsert. /// /// [AWSProperty(Min=0)] public List IdFieldNames { get { return this._idFieldNames; } set { this._idFieldNames = value; } } // Check to see if IdFieldNames property is set internal bool IsSetIdFieldNames() { return this._idFieldNames != null && this._idFieldNames.Count > 0; } /// /// Gets and sets the property WriteOperationType. /// /// Specifies the type of write operation to be performed in the custom connector when /// it's used as destination. /// /// public WriteOperationType WriteOperationType { get { return this._writeOperationType; } set { this._writeOperationType = value; } } // Check to see if WriteOperationType property is set internal bool IsSetWriteOperationType() { return this._writeOperationType != null; } } }