using System.Runtime.Serialization;
namespace Amazon.Lambda.CloudWatchEvents.S3Events
{
///
/// This class represents the details of an S3 object restore event sent via EventBridge.
///
[DataContract]
public class S3ObjectRestore : S3ObjectEventDetails
{
///
/// The time when the temporary copy of the object will be deleted from S3.
///
[DataMember(Name = "restore-expiry-time")]
#if NETCOREAPP_3_1
[System.Text.Json.Serialization.JsonPropertyName("restore-expiry-time")]
#endif
public string RestoreExpiryTime { get; set; }
///
/// The storage class of the object being restored.
///
[DataMember(Name = "source-storage-class")]
#if NETCOREAPP_3_1
[System.Text.Json.Serialization.JsonPropertyName("source-storage-class")]
#endif
public string SourceStorageClass { get; set; }
}
}