/*
* 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 service-quotas-2019-06-24.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.ServiceQuotas.Model
{
///
/// Information about a quota increase request.
///
public partial class ServiceQuotaIncreaseRequestInTemplate
{
private string _awsRegion;
private double? _desiredValue;
private bool? _globalQuota;
private string _quotaCode;
private string _quotaName;
private string _serviceCode;
private string _serviceName;
private string _unit;
///
/// Gets and sets the property AwsRegion.
///
/// The AWS Region.
///
///
[AWSProperty(Min=1, Max=64)]
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
///
/// Gets and sets the property DesiredValue.
///
/// The new, increased value of the quota.
///
///
[AWSProperty(Min=0, Max=10000000000)]
public double DesiredValue
{
get { return this._desiredValue.GetValueOrDefault(); }
set { this._desiredValue = value; }
}
// Check to see if DesiredValue property is set
internal bool IsSetDesiredValue()
{
return this._desiredValue.HasValue;
}
///
/// Gets and sets the property GlobalQuota.
///
/// Indicates whether the quota is global.
///
///
public bool GlobalQuota
{
get { return this._globalQuota.GetValueOrDefault(); }
set { this._globalQuota = value; }
}
// Check to see if GlobalQuota property is set
internal bool IsSetGlobalQuota()
{
return this._globalQuota.HasValue;
}
///
/// Gets and sets the property QuotaCode.
///
/// The quota identifier.
///
///
[AWSProperty(Min=1, Max=128)]
public string QuotaCode
{
get { return this._quotaCode; }
set { this._quotaCode = value; }
}
// Check to see if QuotaCode property is set
internal bool IsSetQuotaCode()
{
return this._quotaCode != null;
}
///
/// Gets and sets the property QuotaName.
///
/// The quota name.
///
///
public string QuotaName
{
get { return this._quotaName; }
set { this._quotaName = value; }
}
// Check to see if QuotaName property is set
internal bool IsSetQuotaName()
{
return this._quotaName != null;
}
///
/// Gets and sets the property ServiceCode.
///
/// The service identifier.
///
///
[AWSProperty(Min=1, Max=63)]
public string ServiceCode
{
get { return this._serviceCode; }
set { this._serviceCode = value; }
}
// Check to see if ServiceCode property is set
internal bool IsSetServiceCode()
{
return this._serviceCode != null;
}
///
/// Gets and sets the property ServiceName.
///
/// The service name.
///
///
public string ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
///
/// Gets and sets the property Unit.
///
/// The unit of measurement.
///
///
public string Unit
{
get { return this._unit; }
set { this._unit = value; }
}
// Check to see if Unit property is set
internal bool IsSetUnit()
{
return this._unit != null;
}
}
}