/*
 * 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 tnb-2008-10-21.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.Tnb.Model
{
    /// 
    /// Metadata related to the function package.
    /// 
    ///  
    /// 
    /// A function package is a .zip file in CSAR (Cloud Service Archive) format that contains
    /// a network function (an ETSI standard telecommunication application) and function package
    /// descriptor that uses the TOSCA standard to describe how the network functions should
    /// run on your network.
    /// 
    /// 
    public partial class GetSolFunctionPackageMetadata
    {
        private DateTime? _createdAt;
        private DateTime? _lastModified;
        private FunctionArtifactMeta _vnfd;
        /// 
        /// Gets and sets the property CreatedAt. 
        /// 
        /// The date that the resource was created.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public DateTime CreatedAt
        {
            get { return this._createdAt.GetValueOrDefault(); }
            set { this._createdAt = value; }
        }
        // Check to see if CreatedAt property is set
        internal bool IsSetCreatedAt()
        {
            return this._createdAt.HasValue; 
        }
        /// 
        /// Gets and sets the property LastModified. 
        /// 
        /// The date that the resource was last modified.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public DateTime LastModified
        {
            get { return this._lastModified.GetValueOrDefault(); }
            set { this._lastModified = value; }
        }
        // Check to see if LastModified property is set
        internal bool IsSetLastModified()
        {
            return this._lastModified.HasValue; 
        }
        /// 
        /// Gets and sets the property Vnfd. 
        /// 
        /// Metadata related to the function package descriptor of the function package.
        /// 
        /// 
        public FunctionArtifactMeta Vnfd
        {
            get { return this._vnfd; }
            set { this._vnfd = value; }
        }
        // Check to see if Vnfd property is set
        internal bool IsSetVnfd()
        {
            return this._vnfd != null;
        }
    }
}