/*******************************************************************************
* Copyright 2008-2013 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.
* *****************************************************************************
* __ _ _ ___
* ( )( \/\/ )/ __)
* /__\ \ / \__ \
* (_)(_) \/\/ (___/
*
* AWS SDK for .NET
* API Version: 2006-03-01
*
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.S3.Model
{
///
/// Container for values of the response headers that will be set on a response from a GetObject request.
/// These values override any headers that were set when the object was uploaded to S3.
///
public class ResponseHeaderOverrides
{
internal const string RESPONSE_CONTENT_TYPE = "response-content-type";
internal const string RESPONSE_CONTENT_LANGUAGE = "response-content-language";
internal const string RESPONSE_EXPIRES = "response-expires";
internal const string RESPONSE_CACHE_CONTROL = "response-cache-control";
internal const string RESPONSE_CONTENT_DISPOSITION = "response-content-disposition";
internal const string RESPONSE_CONTENT_ENCODING = "response-content-encoding";
string _contentType;
string _contentLanguage;
string _expires;
string _cacheControl;
string _contentDisposition;
string _contentEncoding;
///
/// A standard MIME type describing the format of the object data.
///
///
/// The content type for the content being uploaded. This property defaults to "binary/octet-stream".
/// For more information, refer to:
///
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
///
/// ContentLanguage header value.
///
public string ContentLanguage
{
get { return this._contentLanguage; }
set { this._contentLanguage = value; }
}
///
/// Expiry header value.
///
public string Expires
{
get { return this._expires; }
set { this._expires = value; }
}
///
/// CacheControl header value.
///
public string CacheControl
{
get { return this._cacheControl; }
set { this._cacheControl = value; }
}
///
/// The ContentDisposition header value.
///
public string ContentDisposition
{
get { return this._contentDisposition; }
set { this._contentDisposition = value; }
}
///
/// The ContentEncoding header value.
///
public string ContentEncoding
{
get { return this._contentEncoding; }
set { this._contentEncoding = value; }
}
}
}