/*
* 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 chime-2018-05-01.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.Chime.Model
{
///
/// A media capture pipeline object consisting of an ID, source type, source ARN, a sink
/// type, a sink ARN, and a configuration object.
///
public partial class MediaCapturePipeline
{
private ChimeSdkMeetingConfiguration _chimeSdkMeetingConfiguration;
private DateTime? _createdTimestamp;
private string _mediaPipelineId;
private string _sinkArn;
private MediaPipelineSinkType _sinkType;
private string _sourceArn;
private MediaPipelineSourceType _sourceType;
private MediaPipelineStatus _status;
private DateTime? _updatedTimestamp;
///
/// Gets and sets the property ChimeSdkMeetingConfiguration.
///
/// The configuration for a specified media capture pipeline. SourceType
/// must be ChimeSdkMeeting
.
///
///
public ChimeSdkMeetingConfiguration ChimeSdkMeetingConfiguration
{
get { return this._chimeSdkMeetingConfiguration; }
set { this._chimeSdkMeetingConfiguration = value; }
}
// Check to see if ChimeSdkMeetingConfiguration property is set
internal bool IsSetChimeSdkMeetingConfiguration()
{
return this._chimeSdkMeetingConfiguration != null;
}
///
/// Gets and sets the property CreatedTimestamp.
///
/// The time at which the capture pipeline was created, in ISO 8601 format.
///
///
public DateTime CreatedTimestamp
{
get { return this._createdTimestamp.GetValueOrDefault(); }
set { this._createdTimestamp = value; }
}
// Check to see if CreatedTimestamp property is set
internal bool IsSetCreatedTimestamp()
{
return this._createdTimestamp.HasValue;
}
///
/// Gets and sets the property MediaPipelineId.
///
/// The ID of a media capture pipeline.
///
///
public string MediaPipelineId
{
get { return this._mediaPipelineId; }
set { this._mediaPipelineId = value; }
}
// Check to see if MediaPipelineId property is set
internal bool IsSetMediaPipelineId()
{
return this._mediaPipelineId != null;
}
///
/// Gets and sets the property SinkArn.
///
/// ARN of the destination to which the media artifacts are saved.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=1024)]
public string SinkArn
{
get { return this._sinkArn; }
set { this._sinkArn = value; }
}
// Check to see if SinkArn property is set
internal bool IsSetSinkArn()
{
return this._sinkArn != null;
}
///
/// Gets and sets the property SinkType.
///
/// Destination type to which the media artifacts are saved. You must use an S3 Bucket.
///
///
public MediaPipelineSinkType SinkType
{
get { return this._sinkType; }
set { this._sinkType = value; }
}
// Check to see if SinkType property is set
internal bool IsSetSinkType()
{
return this._sinkType != null;
}
///
/// Gets and sets the property SourceArn.
///
/// ARN of the source from which the media artifacts will be saved.
///
///
[AWSProperty(Sensitive=true, Min=1, Max=1024)]
public string SourceArn
{
get { return this._sourceArn; }
set { this._sourceArn = value; }
}
// Check to see if SourceArn property is set
internal bool IsSetSourceArn()
{
return this._sourceArn != null;
}
///
/// Gets and sets the property SourceType.
///
/// Source type from which media artifacts are saved. You must use ChimeMeeting
.
///
///
public MediaPipelineSourceType SourceType
{
get { return this._sourceType; }
set { this._sourceType = value; }
}
// Check to see if SourceType property is set
internal bool IsSetSourceType()
{
return this._sourceType != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the media capture pipeline.
///
///
public MediaPipelineStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property UpdatedTimestamp.
///
/// The time at which the capture pipeline was updated, in ISO 8601 format.
///
///
public DateTime UpdatedTimestamp
{
get { return this._updatedTimestamp.GetValueOrDefault(); }
set { this._updatedTimestamp = value; }
}
// Check to see if UpdatedTimestamp property is set
internal bool IsSetUpdatedTimestamp()
{
return this._updatedTimestamp.HasValue;
}
}
}