/* * 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 ListConnectorEntities operation. /// Returns the list of available connector entities supported by Amazon AppFlow. For /// example, you can query Salesforce for Account and Opportunity entities, /// or query ServiceNow for the Incident entity. /// public partial class ListConnectorEntitiesRequest : AmazonAppflowRequest { private string _apiVersion; private string _connectorProfileName; private ConnectorType _connectorType; private string _entitiesPath; private int? _maxResults; private string _nextToken; /// /// Gets and sets the property ApiVersion. /// /// The version of the API that's used by the connector. /// /// [AWSProperty(Max=256)] public string ApiVersion { get { return this._apiVersion; } set { this._apiVersion = value; } } // Check to see if ApiVersion property is set internal bool IsSetApiVersion() { return this._apiVersion != null; } /// /// Gets and sets the property ConnectorProfileName. /// /// The name of the connector profile. The name is unique for each ConnectorProfile /// in the Amazon Web Services account, and is used to query the downstream connector. /// /// /// [AWSProperty(Max=256)] public string ConnectorProfileName { get { return this._connectorProfileName; } set { this._connectorProfileName = value; } } // Check to see if ConnectorProfileName property is set internal bool IsSetConnectorProfileName() { return this._connectorProfileName != null; } /// /// 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 EntitiesPath. /// /// This optional parameter is specific to connector implementation. Some connectors /// support multiple levels or categories of entities. You can find out the list of roots /// for such providers by sending a request without the entitiesPath parameter. /// If the connector supports entities at different roots, this initial request returns /// the list of roots. Otherwise, this request returns all entities supported by the provider. /// /// /// [AWSProperty(Max=256)] public string EntitiesPath { get { return this._entitiesPath; } set { this._entitiesPath = value; } } // Check to see if EntitiesPath property is set internal bool IsSetEntitiesPath() { return this._entitiesPath != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of items that the operation returns in the response. /// /// [AWSProperty(Min=1, Max=10000)] 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. /// /// A token that was provided by your prior ListConnectorEntities operation /// if the response was too big for the page size. You specify this token to get the next /// page of results in paginated response. /// /// [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; } } }