/*
* 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
{
///
/// Container for the parameters to the DescribeConnector operation.
/// Describes the given custom connector registered in your Amazon Web Services account.
/// This API can be used for custom connectors that are registered in your account and
/// also for Amazon authored connectors.
///
public partial class DescribeConnectorRequest : AmazonAppflowRequest
{
private string _connectorLabel;
private ConnectorType _connectorType;
///
/// Gets and sets the property ConnectorLabel.
///
/// The label of the connector. The label is unique for each ConnectorRegistration
/// in your Amazon Web Services account. Only needed if calling for CUSTOMCONNECTOR connector
/// type/.
///
///
[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 ConnectorType.
///
/// The connector type, such as CUSTOMCONNECTOR, Saleforce, Marketo. Please choose CUSTOMCONNECTOR
/// for Lambda based custom connectors.
///
///
[AWSProperty(Required=true)]
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;
}
}
}