/*
 * 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 omics-2022-11-28.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.Omics.Model
{
    /// 
    /// A run group.
    /// 
    public partial class RunGroupListItem
    {
        private string _arn;
        private DateTime? _creationTime;
        private string _id;
        private int? _maxCpus;
        private int? _maxDuration;
        private int? _maxGpus;
        private int? _maxRuns;
        private string _name;
        /// 
        /// Gets and sets the property Arn. 
        /// 
        /// The group's ARN.
        /// 
        /// 
        [AWSProperty(Min=1, Max=128)]
        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. 
        /// 
        /// When the group 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 Id. 
        /// 
        /// The group's ID.
        /// 
        /// 
        [AWSProperty(Min=1, Max=18)]
        public string Id
        {
            get { return this._id; }
            set { this._id = value; }
        }
        // Check to see if Id property is set
        internal bool IsSetId()
        {
            return this._id != null;
        }
        /// 
        /// Gets and sets the property MaxCpus. 
        /// 
        /// The group's maximum CPU count setting.
        /// 
        /// 
        [AWSProperty(Min=1, Max=100000)]
        public int MaxCpus
        {
            get { return this._maxCpus.GetValueOrDefault(); }
            set { this._maxCpus = value; }
        }
        // Check to see if MaxCpus property is set
        internal bool IsSetMaxCpus()
        {
            return this._maxCpus.HasValue; 
        }
        /// 
        /// Gets and sets the property MaxDuration. 
        /// 
        /// The group's maximum duration setting in minutes.
        /// 
        /// 
        [AWSProperty(Min=1, Max=100000)]
        public int MaxDuration
        {
            get { return this._maxDuration.GetValueOrDefault(); }
            set { this._maxDuration = value; }
        }
        // Check to see if MaxDuration property is set
        internal bool IsSetMaxDuration()
        {
            return this._maxDuration.HasValue; 
        }
        /// 
        /// Gets and sets the property MaxGpus. 
        /// 
        ///  The maximum GPUs that can be used by a run group. 
        /// 
        /// 
        [AWSProperty(Min=1, Max=100000)]
        public int MaxGpus
        {
            get { return this._maxGpus.GetValueOrDefault(); }
            set { this._maxGpus = value; }
        }
        // Check to see if MaxGpus property is set
        internal bool IsSetMaxGpus()
        {
            return this._maxGpus.HasValue; 
        }
        /// 
        /// Gets and sets the property MaxRuns. 
        /// 
        /// The group's maximum concurrent run setting.
        /// 
        /// 
        [AWSProperty(Min=1, Max=100000)]
        public int MaxRuns
        {
            get { return this._maxRuns.GetValueOrDefault(); }
            set { this._maxRuns = value; }
        }
        // Check to see if MaxRuns property is set
        internal bool IsSetMaxRuns()
        {
            return this._maxRuns.HasValue; 
        }
        /// 
        /// Gets and sets the property Name. 
        /// 
        /// The group's name.
        /// 
        /// 
        [AWSProperty(Min=1, Max=128)]
        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;
        }
    }
}