/*
 * 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
{
    /// 
    /// This is the response object from the UpdateLiveSource operation.
    /// 
    public partial class UpdateLiveSourceResponse : AmazonWebServiceResponse
    {
        private string _arn;
        private DateTime? _creationTime;
        private List _httpPackageConfigurations = new List();
        private DateTime? _lastModifiedTime;
        private string _liveSourceName;
        private string _sourceLocationName;
        private Dictionary _tags = new Dictionary();
        /// 
        /// Gets and sets the property Arn. 
        /// 
        /// The Amazon Resource Name (ARN) associated with this live source.
        /// 
        /// 
        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 live 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. 
        /// 
        /// A list of HTTP package configurations for the live source on this account.
        /// 
        /// 
        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 live 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 LiveSourceName. 
        /// 
        /// The name of the live source.
        /// 
        /// 
        public string LiveSourceName
        {
            get { return this._liveSourceName; }
            set { this._liveSourceName = value; }
        }
        // Check to see if LiveSourceName property is set
        internal bool IsSetLiveSourceName()
        {
            return this._liveSourceName != null;
        }
        /// 
        /// Gets and sets the property SourceLocationName. 
        /// 
        /// The name of the source location associated with the live source.
        /// 
        /// 
        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 to assign to the live 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; 
        }
    }
}