/* * 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 glacier-2012-06-01.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.Glacier.Model { /// /// Contains information about the location in Amazon S3 where the select job results /// are stored. /// public partial class S3Location { private List _accessControlList = new List(); private string _bucketName; private CannedACL _cannedACL; private Encryption _encryption; private string _prefix; private StorageClass _storageClass; private Dictionary _tagging = new Dictionary(); private Dictionary _userMetadata = new Dictionary(); /// /// Gets and sets the property AccessControlList. /// /// A list of grants that control access to the staged results. /// /// public List AccessControlList { get { return this._accessControlList; } set { this._accessControlList = value; } } // Check to see if AccessControlList property is set internal bool IsSetAccessControlList() { return this._accessControlList != null && this._accessControlList.Count > 0; } /// /// Gets and sets the property BucketName. /// /// The name of the Amazon S3 bucket where the job results are stored. /// /// public string BucketName { get { return this._bucketName; } set { this._bucketName = value; } } // Check to see if BucketName property is set internal bool IsSetBucketName() { return this._bucketName != null; } /// /// Gets and sets the property CannedACL. /// /// The canned access control list (ACL) to apply to the job results. /// /// public CannedACL CannedACL { get { return this._cannedACL; } set { this._cannedACL = value; } } // Check to see if CannedACL property is set internal bool IsSetCannedACL() { return this._cannedACL != null; } /// /// Gets and sets the property Encryption. /// /// Contains information about the encryption used to store the job results in Amazon /// S3. /// /// public Encryption Encryption { get { return this._encryption; } set { this._encryption = value; } } // Check to see if Encryption property is set internal bool IsSetEncryption() { return this._encryption != null; } /// /// Gets and sets the property Prefix. /// /// The prefix that is prepended to the results for this request. /// /// public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// /// Gets and sets the property StorageClass. /// /// The storage class used to store the job results. /// /// public StorageClass StorageClass { get { return this._storageClass; } set { this._storageClass = value; } } // Check to see if StorageClass property is set internal bool IsSetStorageClass() { return this._storageClass != null; } /// /// Gets and sets the property Tagging. /// /// The tag-set that is applied to the job results. /// /// public Dictionary Tagging { get { return this._tagging; } set { this._tagging = value; } } // Check to see if Tagging property is set internal bool IsSetTagging() { return this._tagging != null && this._tagging.Count > 0; } /// /// Gets and sets the property UserMetadata. /// /// A map of metadata to store with the job results in Amazon S3. /// /// public Dictionary UserMetadata { get { return this._userMetadata; } set { this._userMetadata = value; } } // Check to see if UserMetadata property is set internal bool IsSetUserMetadata() { return this._userMetadata != null && this._userMetadata.Count > 0; } } }