/* * 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 configuration settings related to a given connector. /// public partial class ConnectorConfiguration { private AuthenticationConfig _authenticationConfig; private bool? _canUseAsDestination; private bool? _canUseAsSource; private string _connectorArn; private string _connectorDescription; private string _connectorLabel; private ConnectorMetadata _connectorMetadata; private List _connectorModes = new List(); private string _connectorName; private string _connectorOwner; private ConnectorProvisioningConfig _connectorProvisioningConfig; private ConnectorProvisioningType _connectorProvisioningType; private List _connectorRuntimeSettings = new List(); private ConnectorType _connectorType; private string _connectorVersion; private bool? _isPrivateLinkEnabled; private bool? _isPrivateLinkEndpointUrlRequired; private string _logourl; private DateTime? _registeredAt; private string _registeredBy; private List _supportedApiVersions = new List(); private List _supportedDataTransferApis = new List(); private List _supportedDataTransferTypes = new List(); private List _supportedDestinationConnectors = new List(); private List _supportedOperators = new List(); private List _supportedSchedulingFrequencies = new List(); private List _supportedTriggerTypes = new List(); private List _supportedWriteOperations = new List(); /// /// Gets and sets the property AuthenticationConfig. /// /// The authentication config required for the connector. /// /// public AuthenticationConfig AuthenticationConfig { get { return this._authenticationConfig; } set { this._authenticationConfig = value; } } // Check to see if AuthenticationConfig property is set internal bool IsSetAuthenticationConfig() { return this._authenticationConfig != null; } /// /// Gets and sets the property CanUseAsDestination. /// /// Specifies whether the connector can be used as a destination. /// /// public bool CanUseAsDestination { get { return this._canUseAsDestination.GetValueOrDefault(); } set { this._canUseAsDestination = value; } } // Check to see if CanUseAsDestination property is set internal bool IsSetCanUseAsDestination() { return this._canUseAsDestination.HasValue; } /// /// Gets and sets the property CanUseAsSource. /// /// Specifies whether the connector can be used as a source. /// /// public bool CanUseAsSource { get { return this._canUseAsSource.GetValueOrDefault(); } set { this._canUseAsSource = value; } } // Check to see if CanUseAsSource property is set internal bool IsSetCanUseAsSource() { return this._canUseAsSource.HasValue; } /// /// Gets and sets the property ConnectorArn. /// /// The Amazon Resource Name (ARN) for the registered connector. /// /// [AWSProperty(Max=512)] public string ConnectorArn { get { return this._connectorArn; } set { this._connectorArn = value; } } // Check to see if ConnectorArn property is set internal bool IsSetConnectorArn() { return this._connectorArn != null; } /// /// Gets and sets the property ConnectorDescription. /// /// A description about the connector. /// /// [AWSProperty(Max=2048)] public string ConnectorDescription { get { return this._connectorDescription; } set { this._connectorDescription = value; } } // Check to see if ConnectorDescription property is set internal bool IsSetConnectorDescription() { return this._connectorDescription != null; } /// /// Gets and sets the property ConnectorLabel. /// /// The label used for registering the connector. /// /// [AWSProperty(Max=256)] public string ConnectorLabel { get { return this._connectorLabel; } set { this._connectorLabel = value; } } // Check to see if ConnectorLabel property is set internal bool IsSetConnectorLabel() { return this._connectorLabel != null; } /// /// Gets and sets the property ConnectorMetadata. /// /// Specifies connector-specific metadata such as oAuthScopes, supportedRegions, /// privateLinkServiceUrl, and so on. /// /// public ConnectorMetadata ConnectorMetadata { get { return this._connectorMetadata; } set { this._connectorMetadata = value; } } // Check to see if ConnectorMetadata property is set internal bool IsSetConnectorMetadata() { return this._connectorMetadata != null; } /// /// Gets and sets the property ConnectorModes. /// /// The connection modes that the connector supports. /// /// public List ConnectorModes { get { return this._connectorModes; } set { this._connectorModes = value; } } // Check to see if ConnectorModes property is set internal bool IsSetConnectorModes() { return this._connectorModes != null && this._connectorModes.Count > 0; } /// /// Gets and sets the property ConnectorName. /// /// The connector name. /// /// [AWSProperty(Max=256)] public string ConnectorName { get { return this._connectorName; } set { this._connectorName = value; } } // Check to see if ConnectorName property is set internal bool IsSetConnectorName() { return this._connectorName != null; } /// /// Gets and sets the property ConnectorOwner. /// /// The owner who developed the connector. /// /// [AWSProperty(Max=256)] public string ConnectorOwner { get { return this._connectorOwner; } set { this._connectorOwner = value; } } // Check to see if ConnectorOwner property is set internal bool IsSetConnectorOwner() { return this._connectorOwner != null; } /// /// Gets and sets the property ConnectorProvisioningConfig. /// /// The configuration required for registering the connector. /// /// public ConnectorProvisioningConfig ConnectorProvisioningConfig { get { return this._connectorProvisioningConfig; } set { this._connectorProvisioningConfig = value; } } // Check to see if ConnectorProvisioningConfig property is set internal bool IsSetConnectorProvisioningConfig() { return this._connectorProvisioningConfig != null; } /// /// Gets and sets the property ConnectorProvisioningType. /// /// The provisioning type used to register the connector. /// /// public ConnectorProvisioningType ConnectorProvisioningType { get { return this._connectorProvisioningType; } set { this._connectorProvisioningType = value; } } // Check to see if ConnectorProvisioningType property is set internal bool IsSetConnectorProvisioningType() { return this._connectorProvisioningType != null; } /// /// Gets and sets the property ConnectorRuntimeSettings. /// /// The required connector runtime settings. /// /// public List ConnectorRuntimeSettings { get { return this._connectorRuntimeSettings; } set { this._connectorRuntimeSettings = value; } } // Check to see if ConnectorRuntimeSettings property is set internal bool IsSetConnectorRuntimeSettings() { return this._connectorRuntimeSettings != null && this._connectorRuntimeSettings.Count > 0; } /// /// Gets and sets the property ConnectorType. /// /// The connector type. /// /// public ConnectorType ConnectorType { get { return this._connectorType; } set { this._connectorType = value; } } // Check to see if ConnectorType property is set internal bool IsSetConnectorType() { return this._connectorType != null; } /// /// Gets and sets the property ConnectorVersion. /// /// The connector version. /// /// [AWSProperty(Max=256)] public string ConnectorVersion { get { return this._connectorVersion; } set { this._connectorVersion = value; } } // Check to see if ConnectorVersion property is set internal bool IsSetConnectorVersion() { return this._connectorVersion != null; } /// /// Gets and sets the property IsPrivateLinkEnabled. /// /// Specifies if PrivateLink is enabled for that connector. /// /// public bool IsPrivateLinkEnabled { get { return this._isPrivateLinkEnabled.GetValueOrDefault(); } set { this._isPrivateLinkEnabled = value; } } // Check to see if IsPrivateLinkEnabled property is set internal bool IsSetIsPrivateLinkEnabled() { return this._isPrivateLinkEnabled.HasValue; } /// /// Gets and sets the property IsPrivateLinkEndpointUrlRequired. /// /// Specifies if a PrivateLink endpoint URL is required. /// /// public bool IsPrivateLinkEndpointUrlRequired { get { return this._isPrivateLinkEndpointUrlRequired.GetValueOrDefault(); } set { this._isPrivateLinkEndpointUrlRequired = value; } } // Check to see if IsPrivateLinkEndpointUrlRequired property is set internal bool IsSetIsPrivateLinkEndpointUrlRequired() { return this._isPrivateLinkEndpointUrlRequired.HasValue; } /// /// Gets and sets the property LogoURL. /// /// Logo URL of the connector. /// /// [AWSProperty(Max=256)] public string LogoURL { get { return this._logourl; } set { this._logourl = value; } } // Check to see if LogoURL property is set internal bool IsSetLogoURL() { return this._logourl != null; } /// /// Gets and sets the property RegisteredAt. /// /// The date on which the connector was registered. /// /// public DateTime RegisteredAt { get { return this._registeredAt.GetValueOrDefault(); } set { this._registeredAt = value; } } // Check to see if RegisteredAt property is set internal bool IsSetRegisteredAt() { return this._registeredAt.HasValue; } /// /// Gets and sets the property RegisteredBy. /// /// Information about who registered the connector. /// /// [AWSProperty(Max=512)] public string RegisteredBy { get { return this._registeredBy; } set { this._registeredBy = value; } } // Check to see if RegisteredBy property is set internal bool IsSetRegisteredBy() { return this._registeredBy != null; } /// /// Gets and sets the property SupportedApiVersions. /// /// A list of API versions that are supported by the connector. /// /// public List SupportedApiVersions { get { return this._supportedApiVersions; } set { this._supportedApiVersions = value; } } // Check to see if SupportedApiVersions property is set internal bool IsSetSupportedApiVersions() { return this._supportedApiVersions != null && this._supportedApiVersions.Count > 0; } /// /// Gets and sets the property SupportedDataTransferApis. /// /// The APIs of the connector application that Amazon AppFlow can use to transfer your /// data. /// /// public List SupportedDataTransferApis { get { return this._supportedDataTransferApis; } set { this._supportedDataTransferApis = value; } } // Check to see if SupportedDataTransferApis property is set internal bool IsSetSupportedDataTransferApis() { return this._supportedDataTransferApis != null && this._supportedDataTransferApis.Count > 0; } /// /// Gets and sets the property SupportedDataTransferTypes. /// /// The data transfer types that the connector supports. /// ///
RECORD
/// /// Structured records. /// ///
FILE
/// /// Files or binary data. /// ///
///
public List SupportedDataTransferTypes { get { return this._supportedDataTransferTypes; } set { this._supportedDataTransferTypes = value; } } // Check to see if SupportedDataTransferTypes property is set internal bool IsSetSupportedDataTransferTypes() { return this._supportedDataTransferTypes != null && this._supportedDataTransferTypes.Count > 0; } /// /// Gets and sets the property SupportedDestinationConnectors. /// /// Lists the connectors that are available for use as destinations. /// /// [AWSProperty(Min=0, Max=100)] public List SupportedDestinationConnectors { get { return this._supportedDestinationConnectors; } set { this._supportedDestinationConnectors = value; } } // Check to see if SupportedDestinationConnectors property is set internal bool IsSetSupportedDestinationConnectors() { return this._supportedDestinationConnectors != null && this._supportedDestinationConnectors.Count > 0; } /// /// Gets and sets the property SupportedOperators. /// /// A list of operators supported by the connector. /// /// public List SupportedOperators { get { return this._supportedOperators; } set { this._supportedOperators = value; } } // Check to see if SupportedOperators property is set internal bool IsSetSupportedOperators() { return this._supportedOperators != null && this._supportedOperators.Count > 0; } /// /// Gets and sets the property SupportedSchedulingFrequencies. /// /// Specifies the supported flow frequency for that connector. /// /// public List SupportedSchedulingFrequencies { get { return this._supportedSchedulingFrequencies; } set { this._supportedSchedulingFrequencies = value; } } // Check to see if SupportedSchedulingFrequencies property is set internal bool IsSetSupportedSchedulingFrequencies() { return this._supportedSchedulingFrequencies != null && this._supportedSchedulingFrequencies.Count > 0; } /// /// Gets and sets the property SupportedTriggerTypes. /// /// Specifies the supported trigger types for the flow. /// /// public List SupportedTriggerTypes { get { return this._supportedTriggerTypes; } set { this._supportedTriggerTypes = value; } } // Check to see if SupportedTriggerTypes property is set internal bool IsSetSupportedTriggerTypes() { return this._supportedTriggerTypes != null && this._supportedTriggerTypes.Count > 0; } /// /// Gets and sets the property SupportedWriteOperations. /// /// A list of write operations supported by the connector. /// /// public List SupportedWriteOperations { get { return this._supportedWriteOperations; } set { this._supportedWriteOperations = value; } } // Check to see if SupportedWriteOperations property is set internal bool IsSetSupportedWriteOperations() { return this._supportedWriteOperations != null && this._supportedWriteOperations.Count > 0; } } }