/* * 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 pipes-2015-10-07.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.Pipes.Model { /// /// Container for the parameters to the UpdatePipe operation. /// Update an existing pipe. When you call UpdatePipe, only the fields that /// are included in the request are changed, the rest are unchanged. The exception to /// this is if you modify any Amazon Web Services-service specific fields in the SourceParameters, /// EnrichmentParameters, or TargetParameters objects. The fields /// in these objects are updated atomically as one and override existing values. This /// is by design and means that if you don't specify an optional field in one of these /// Parameters objects, that field will be set to its system-default value after the update. /// /// /// /// For more information about pipes, see /// Amazon EventBridge Pipes in the Amazon EventBridge User Guide. /// /// public partial class UpdatePipeRequest : AmazonPipesRequest { private string _description; private RequestedPipeState _desiredState; private string _enrichment; private PipeEnrichmentParameters _enrichmentParameters; private string _name; private string _roleArn; private UpdatePipeSourceParameters _sourceParameters; private string _target; private PipeTargetParameters _targetParameters; /// /// Gets and sets the property Description. /// /// A description of the pipe. /// /// [AWSProperty(Sensitive=true, Min=0, Max=512)] 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 DesiredState. /// /// The state the pipe should be in. /// /// public RequestedPipeState DesiredState { get { return this._desiredState; } set { this._desiredState = value; } } // Check to see if DesiredState property is set internal bool IsSetDesiredState() { return this._desiredState != null; } /// /// Gets and sets the property Enrichment. /// /// The ARN of the enrichment resource. /// /// [AWSProperty(Min=0, Max=1600)] public string Enrichment { get { return this._enrichment; } set { this._enrichment = value; } } // Check to see if Enrichment property is set internal bool IsSetEnrichment() { return this._enrichment != null; } /// /// Gets and sets the property EnrichmentParameters. /// /// The parameters required to set up enrichment on your pipe. /// /// public PipeEnrichmentParameters EnrichmentParameters { get { return this._enrichmentParameters; } set { this._enrichmentParameters = value; } } // Check to see if EnrichmentParameters property is set internal bool IsSetEnrichmentParameters() { return this._enrichmentParameters != null; } /// /// Gets and sets the property Name. /// /// The name of the pipe. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property RoleArn. /// /// The ARN of the role that allows the pipe to send data to the target. /// /// [AWSProperty(Required=true, Min=1, Max=1600)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property SourceParameters. /// /// The parameters required to set up a source for your pipe. /// /// public UpdatePipeSourceParameters SourceParameters { get { return this._sourceParameters; } set { this._sourceParameters = value; } } // Check to see if SourceParameters property is set internal bool IsSetSourceParameters() { return this._sourceParameters != null; } /// /// Gets and sets the property Target. /// /// The ARN of the target resource. /// /// [AWSProperty(Min=1, Max=1600)] public string Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } /// /// Gets and sets the property TargetParameters. /// /// The parameters required to set up a target for your pipe. /// /// public PipeTargetParameters TargetParameters { get { return this._targetParameters; } set { this._targetParameters = value; } } // Check to see if TargetParameters property is set internal bool IsSetTargetParameters() { return this._targetParameters != null; } } }