/* * 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 { /// /// Details about a version of an AWS /// Lambda layer. /// public partial class LayerVersionContentOutput { private string _codeSha256; private long? _codeSize; private string _location; /// /// Gets and sets the property CodeSha256. /// /// The SHA-256 hash of the layer archive. /// /// public string CodeSha256 { get { return this._codeSha256; } set { this._codeSha256 = value; } } // Check to see if CodeSha256 property is set internal bool IsSetCodeSha256() { return this._codeSha256 != null; } /// /// Gets and sets the property CodeSize. /// /// The size of the layer archive in bytes. /// /// public long CodeSize { get { return this._codeSize.GetValueOrDefault(); } set { this._codeSize = value; } } // Check to see if CodeSize property is set internal bool IsSetCodeSize() { return this._codeSize.HasValue; } /// /// Gets and sets the property Location. /// /// A link to the layer archive in Amazon S3 that is valid for 10 minutes. /// /// public string Location { get { return this._location; } set { this._location = value; } } // Check to see if Location property is set internal bool IsSetLocation() { return this._location != null; } } }