/*
* 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;
using Amazon.Runtime.Internal.Auth;
namespace Amazon.Omics.Model
{
///
/// Container for the parameters to the UpdateRunGroup operation.
/// Updates a run group.
///
public partial class UpdateRunGroupRequest : AmazonOmicsRequest
{
private string _id;
private int? _maxCpus;
private int? _maxDuration;
private int? _maxGpus;
private int? _maxRuns;
private string _name;
///
/// Gets and sets the property Id.
///
/// The group's ID.
///
///
[AWSProperty(Required=true, 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 maximum number of CPUs to use.
///
///
[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.
///
/// A maximum run time for the group 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 maximum number of concurrent runs for the group.
///
///
[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.
///
/// A name for the group.
///
///
[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;
}
///
/// Get the signer to use for this request.
///
/// A signer for this request.
override protected AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
}
}