/*
* Copyright 2010-2014 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 lambda-2015-03-31.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Lambda.Model
{
///
/// Limits that are related to concurrency and storage. All file and storage sizes are
/// in bytes.
///
public partial class AccountLimit
{
private long? _codeSizeUnzipped;
private long? _codeSizeZipped;
private int? _concurrentExecutions;
private long? _totalCodeSize;
private int? _unreservedConcurrentExecutions;
///
/// Gets and sets the property CodeSizeUnzipped.
///
/// The maximum size of a function's deployment package and layers when they're extracted.
///
///
public long CodeSizeUnzipped
{
get { return this._codeSizeUnzipped.GetValueOrDefault(); }
set { this._codeSizeUnzipped = value; }
}
// Check to see if CodeSizeUnzipped property is set
internal bool IsSetCodeSizeUnzipped()
{
return this._codeSizeUnzipped.HasValue;
}
///
/// Gets and sets the property CodeSizeZipped.
///
/// The maximum size of a deployment package when it's uploaded directly to AWS Lambda.
/// Use Amazon S3 for larger files.
///
///
public long CodeSizeZipped
{
get { return this._codeSizeZipped.GetValueOrDefault(); }
set { this._codeSizeZipped = value; }
}
// Check to see if CodeSizeZipped property is set
internal bool IsSetCodeSizeZipped()
{
return this._codeSizeZipped.HasValue;
}
///
/// Gets and sets the property ConcurrentExecutions.
///
/// The maximum number of simultaneous function executions.
///
///
public int ConcurrentExecutions
{
get { return this._concurrentExecutions.GetValueOrDefault(); }
set { this._concurrentExecutions = value; }
}
// Check to see if ConcurrentExecutions property is set
internal bool IsSetConcurrentExecutions()
{
return this._concurrentExecutions.HasValue;
}
///
/// Gets and sets the property TotalCodeSize.
///
/// The amount of storage space that you can use for all deployment packages and layer
/// archives.
///
///
public long TotalCodeSize
{
get { return this._totalCodeSize.GetValueOrDefault(); }
set { this._totalCodeSize = value; }
}
// Check to see if TotalCodeSize property is set
internal bool IsSetTotalCodeSize()
{
return this._totalCodeSize.HasValue;
}
///
/// Gets and sets the property UnreservedConcurrentExecutions.
///
/// The maximum number of simultaneous function executions, minus the capacity that's
/// reserved for individual functions with PutFunctionConcurrency.
///
///
[AWSProperty(Min=0)]
public int UnreservedConcurrentExecutions
{
get { return this._unreservedConcurrentExecutions.GetValueOrDefault(); }
set { this._unreservedConcurrentExecutions = value; }
}
// Check to see if UnreservedConcurrentExecutions property is set
internal bool IsSetUnreservedConcurrentExecutions()
{
return this._unreservedConcurrentExecutions.HasValue;
}
}
}