/*
* 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
{
///
/// This is the response object from the DescribePipe operation.
///
public partial class DescribePipeResponse : AmazonWebServiceResponse
{
private string _arn;
private DateTime? _creationTime;
private PipeState _currentState;
private string _description;
private RequestedPipeStateDescribeResponse _desiredState;
private string _enrichment;
private PipeEnrichmentParameters _enrichmentParameters;
private DateTime? _lastModifiedTime;
private string _name;
private string _roleArn;
private string _source;
private PipeSourceParameters _sourceParameters;
private string _stateReason;
private Dictionary _tags = new Dictionary();
private string _target;
private PipeTargetParameters _targetParameters;
///
/// Gets and sets the property Arn.
///
/// The ARN of the pipe.
///
///
[AWSProperty(Min=1, Max=1600)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationTime.
///
/// The time the pipe was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property CurrentState.
///
/// The state the pipe is in.
///
///
public PipeState CurrentState
{
get { return this._currentState; }
set { this._currentState = value; }
}
// Check to see if CurrentState property is set
internal bool IsSetCurrentState()
{
return this._currentState != null;
}
///
/// 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 RequestedPipeStateDescribeResponse 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 LastModifiedTime.
///
/// When the pipe was last updated, in ISO-8601
/// format (YYYY-MM-DDThh:mm:ss.sTZD).
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the pipe.
///
///
[AWSProperty(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(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 Source.
///
/// The ARN of the source resource.
///
///
[AWSProperty(Min=1, Max=1600)]
public string Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property SourceParameters.
///
/// The parameters required to set up a source for your pipe.
///
///
public PipeSourceParameters 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 StateReason.
///
/// The reason the pipe is in its current state.
///
///
[AWSProperty(Min=0, Max=512)]
public string StateReason
{
get { return this._stateReason; }
set { this._stateReason = value; }
}
// Check to see if StateReason property is set
internal bool IsSetStateReason()
{
return this._stateReason != null;
}
///
/// Gets and sets the property Tags.
///
/// The list of key-value pairs to associate with the pipe.
///
///
[AWSProperty(Min=1, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// 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;
}
}
}