/*
* 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 mediatailor-2018-04-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.MediaTailor.Model
{
///
/// VOD source configuration parameters.
///
public partial class VodSource
{
private string _arn;
private DateTime? _creationTime;
private List _httpPackageConfigurations = new List();
private DateTime? _lastModifiedTime;
private string _sourceLocationName;
private Dictionary _tags = new Dictionary();
private string _vodSourceName;
///
/// Gets and sets the property Arn.
///
/// The ARN for the VOD source.
///
///
[AWSProperty(Required=true)]
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 timestamp that indicates when the VOD source 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 HttpPackageConfigurations.
///
/// The HTTP package configurations for the VOD source.
///
///
[AWSProperty(Required=true)]
public List HttpPackageConfigurations
{
get { return this._httpPackageConfigurations; }
set { this._httpPackageConfigurations = value; }
}
// Check to see if HttpPackageConfigurations property is set
internal bool IsSetHttpPackageConfigurations()
{
return this._httpPackageConfigurations != null && this._httpPackageConfigurations.Count > 0;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The timestamp that indicates when the VOD source was last modified.
///
///
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 SourceLocationName.
///
/// The name of the source location that the VOD source is associated with.
///
///
[AWSProperty(Required=true)]
public string SourceLocationName
{
get { return this._sourceLocationName; }
set { this._sourceLocationName = value; }
}
// Check to see if SourceLocationName property is set
internal bool IsSetSourceLocationName()
{
return this._sourceLocationName != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags assigned to the VOD source. Tags are key-value pairs that you can associate
/// with Amazon resources to help with organization, access control, and cost tracking.
/// For more information, see Tagging
/// AWS Elemental MediaTailor Resources.
///
///
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 VodSourceName.
///
/// The name of the VOD source.
///
///
[AWSProperty(Required=true)]
public string VodSourceName
{
get { return this._vodSourceName; }
set { this._vodSourceName = value; }
}
// Check to see if VodSourceName property is set
internal bool IsSetVodSourceName()
{
return this._vodSourceName != null;
}
}
}