/* * 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 RequestedServiceQuotaChange { private string _caseId; private DateTime? _created; private double? _desiredValue; private bool? _globalQuota; private string _id; private DateTime? _lastUpdated; private string _quotaArn; private string _quotaCode; private string _quotaName; private string _requester; private string _serviceCode; private string _serviceName; private RequestStatus _status; private string _unit; /// /// Gets and sets the property CaseId. /// /// The case ID. /// /// public string CaseId { get { return this._caseId; } set { this._caseId = value; } } // Check to see if CaseId property is set internal bool IsSetCaseId() { return this._caseId != null; } /// /// Gets and sets the property Created. /// /// The date and time when the quota increase request was received and the case ID was /// created. /// /// public DateTime Created { get { return this._created.GetValueOrDefault(); } set { this._created = value; } } // Check to see if Created property is set internal bool IsSetCreated() { return this._created.HasValue; } /// /// Gets and sets the property DesiredValue. /// /// The new, increased value for 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 Id. /// /// The unique identifier. /// /// [AWSProperty(Min=1, Max=128)] 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 LastUpdated. /// /// The date and time of the most recent change. /// /// public DateTime LastUpdated { get { return this._lastUpdated.GetValueOrDefault(); } set { this._lastUpdated = value; } } // Check to see if LastUpdated property is set internal bool IsSetLastUpdated() { return this._lastUpdated.HasValue; } /// /// Gets and sets the property QuotaArn. /// /// The Amazon Resource Name (ARN) of the quota. /// /// public string QuotaArn { get { return this._quotaArn; } set { this._quotaArn = value; } } // Check to see if QuotaArn property is set internal bool IsSetQuotaArn() { return this._quotaArn != null; } /// /// 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 Requester. /// /// The IAM identity of the requester. /// /// public string Requester { get { return this._requester; } set { this._requester = value; } } // Check to see if Requester property is set internal bool IsSetRequester() { return this._requester != 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 Status. /// /// The state of the quota increase request. /// /// public RequestStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != 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; } } }