/* * 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 DescribeConnectorProfiles operation. /// Returns a list of connector-profile details matching the provided connector-profile /// names and connector-types. Both input lists are optional, and you can /// use them to filter the result. /// /// /// /// If no names or connector-types are provided, returns all connector profiles /// in a paginated form. If there is no match, this operation returns an empty list. /// /// public partial class DescribeConnectorProfilesRequest : AmazonAppflowRequest { private string _connectorLabel; private List _connectorProfileNames = new List(); private ConnectorType _connectorType; private int? _maxResults; private string _nextToken; /// /// Gets and sets the property ConnectorLabel. /// /// The name of the connector. The name 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 ConnectorProfileNames. /// /// The name of the connector profile. The name is unique for each ConnectorProfile /// in the Amazon Web Services account. /// /// [AWSProperty(Min=0, Max=100)] public List ConnectorProfileNames { get { return this._connectorProfileNames; } set { this._connectorProfileNames = value; } } // Check to see if ConnectorProfileNames property is set internal bool IsSetConnectorProfileNames() { return this._connectorProfileNames != null && this._connectorProfileNames.Count > 0; } /// /// Gets and sets the property ConnectorType. /// /// The type of connector, such as Salesforce, Amplitude, and so on. /// /// 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 MaxResults. /// /// Specifies the maximum number of items that should be returned in the result set. /// The default for maxResults is 20 (for all paginated API operations). /// /// /// [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// The pagination token for the next page of data. /// /// [AWSProperty(Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }