/*
* 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 securityhub-2018-10-26.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.SecurityHub.Model
{
///
/// Details about an Amazon S3 object.
///
public partial class AwsS3ObjectDetails
{
private string _contentType;
private string _eTag;
private string _lastModified;
private string _serverSideEncryption;
private string _ssekmsKeyId;
private string _versionId;
///
/// Gets and sets the property ContentType.
///
/// A standard MIME type describing the format of the object data.
///
///
public string ContentType
{
get { return this._contentType; }
set { this._contentType = value; }
}
// Check to see if ContentType property is set
internal bool IsSetContentType()
{
return this._contentType != null;
}
///
/// Gets and sets the property ETag.
///
/// The opaque identifier assigned by a web server to a specific version of a resource
/// found at a URL.
///
///
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 LastModified.
///
/// Indicates when the object was last modified.
///
///
///
/// Uses the date-time
format specified in RFC
/// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces,
/// and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
///
///
public string LastModified
{
get { return this._lastModified; }
set { this._lastModified = value; }
}
// Check to see if LastModified property is set
internal bool IsSetLastModified()
{
return this._lastModified != null;
}
///
/// Gets and sets the property ServerSideEncryption.
///
/// If the object is stored using server-side encryption, the value of the server-side
/// encryption algorithm used when storing this object in Amazon S3.
///
///
public string ServerSideEncryption
{
get { return this._serverSideEncryption; }
set { this._serverSideEncryption = value; }
}
// Check to see if ServerSideEncryption property is set
internal bool IsSetServerSideEncryption()
{
return this._serverSideEncryption != null;
}
///
/// Gets and sets the property SSEKMSKeyId.
///
/// The identifier of the KMS symmetric customer managed key that was used for the object.
///
///
public string SSEKMSKeyId
{
get { return this._ssekmsKeyId; }
set { this._ssekmsKeyId = value; }
}
// Check to see if SSEKMSKeyId property is set
internal bool IsSetSSEKMSKeyId()
{
return this._ssekmsKeyId != null;
}
///
/// Gets and sets the property VersionId.
///
/// The version of the object.
///
///
public string VersionId
{
get { return this._versionId; }
set { this._versionId = value; }
}
// Check to see if VersionId property is set
internal bool IsSetVersionId()
{
return this._versionId != null;
}
}
}