/* * 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 codedeploy-2014-10-06.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.CodeDeploy.Model { /// /// Information about the location of application artifacts stored in Amazon S3. /// public partial class S3Location { private string _bucket; private BundleType _bundleType; private string _eTag; private string _key; private string _version; /// /// Gets and sets the property Bucket. /// /// The name of the Amazon S3 bucket where the application revision is stored. /// /// public string Bucket { get { return this._bucket; } set { this._bucket = value; } } // Check to see if Bucket property is set internal bool IsSetBucket() { return this._bucket != null; } /// /// Gets and sets the property BundleType. /// /// The file type of the application revision. Must be one of the following: /// /// /// public BundleType BundleType { get { return this._bundleType; } set { this._bundleType = value; } } // Check to see if BundleType property is set internal bool IsSetBundleType() { return this._bundleType != null; } /// /// Gets and sets the property ETag. /// /// The ETag of the Amazon S3 object that represents the bundled artifacts for the application /// revision. /// /// /// /// If the ETag is not specified as an input parameter, ETag validation of the object /// is skipped. /// /// public string ETag { get { return this._eTag; } set { this._eTag = value; } } // Check to see if ETag property is set internal bool IsSetETag() { return this._eTag != null; } /// /// Gets and sets the property Key. /// /// The name of the Amazon S3 object that represents the bundled artifacts for the application /// revision. /// /// public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// /// Gets and sets the property Version. /// /// A specific version of the Amazon S3 object that represents the bundled artifacts for /// the application revision. /// /// /// /// If the version is not specified, the system uses the most recent version by default. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } } }