/* * 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 UpdateFlow operation. /// Updates an existing flow. /// public partial class UpdateFlowRequest : AmazonAppflowRequest { private string _clientToken; private string _description; private List _destinationFlowConfigList = new List(); private string _flowName; private MetadataCatalogConfig _metadataCatalogConfig; private SourceFlowConfig _sourceFlowConfig; private List _tasks = new List(); private TriggerConfig _triggerConfig; /// /// Gets and sets the property ClientToken. /// /// The clientToken parameter is an idempotency token. It ensures that your /// UpdateFlow request completes only once. You choose the value to pass. /// For example, if you don't receive a response from your request, you can safely retry /// the request with the same clientToken parameter value. /// /// /// /// If you omit a clientToken value, the Amazon Web Services SDK that you /// are using inserts a value for you. This way, the SDK can safely retry requests multiple /// times after a network error. You must provide your own value for other use cases. /// /// /// /// If you specify input parameters that differ from your first request, an error occurs. /// If you use a different value for clientToken, Amazon AppFlow considers /// it a new call to UpdateFlow. The token is active for 8 hours. /// /// [AWSProperty(Min=1, Max=256)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Description. /// /// A description of the flow. /// /// [AWSProperty(Max=2048)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property DestinationFlowConfigList. /// /// The configuration that controls how Amazon AppFlow transfers data to the destination /// connector. /// /// [AWSProperty(Required=true)] public List DestinationFlowConfigList { get { return this._destinationFlowConfigList; } set { this._destinationFlowConfigList = value; } } // Check to see if DestinationFlowConfigList property is set internal bool IsSetDestinationFlowConfigList() { return this._destinationFlowConfigList != null && this._destinationFlowConfigList.Count > 0; } /// /// Gets and sets the property FlowName. /// /// The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens /// (-) only. /// /// [AWSProperty(Required=true, Max=256)] public string FlowName { get { return this._flowName; } set { this._flowName = value; } } // Check to see if FlowName property is set internal bool IsSetFlowName() { return this._flowName != null; } /// /// Gets and sets the property MetadataCatalogConfig. /// /// Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's /// transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, /// it stores metadata in a data catalog. /// /// public MetadataCatalogConfig MetadataCatalogConfig { get { return this._metadataCatalogConfig; } set { this._metadataCatalogConfig = value; } } // Check to see if MetadataCatalogConfig property is set internal bool IsSetMetadataCatalogConfig() { return this._metadataCatalogConfig != null; } /// /// Gets and sets the property SourceFlowConfig. /// [AWSProperty(Required=true)] public SourceFlowConfig SourceFlowConfig { get { return this._sourceFlowConfig; } set { this._sourceFlowConfig = value; } } // Check to see if SourceFlowConfig property is set internal bool IsSetSourceFlowConfig() { return this._sourceFlowConfig != null; } /// /// Gets and sets the property Tasks. /// /// A list of tasks that Amazon AppFlow performs while transferring the data in the flow /// run. /// /// [AWSProperty(Required=true)] public List Tasks { get { return this._tasks; } set { this._tasks = value; } } // Check to see if Tasks property is set internal bool IsSetTasks() { return this._tasks != null && this._tasks.Count > 0; } /// /// Gets and sets the property TriggerConfig. /// /// The trigger settings that determine how and when the flow runs. /// /// [AWSProperty(Required=true)] public TriggerConfig TriggerConfig { get { return this._triggerConfig; } set { this._triggerConfig = value; } } // Check to see if TriggerConfig property is set internal bool IsSetTriggerConfig() { return this._triggerConfig != null; } } }