using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Amazon.S3.Model { /// ///A container specifying settings for configuring replication metrics and events. /// public class Metrics { private MetricsStatus status; private ReplicationTimeValue eventThreshold; /// /// Specifies whether the replication metrics are enabled. /// public MetricsStatus Status { get { return this.status; } set { this.status = value; } } /// /// A container specifying the time threshold for emitting the /// s3:Replication:OperationMissedThreshold event. /// public ReplicationTimeValue EventThreshold { get { return this.eventThreshold; } set { this.eventThreshold = value; } } internal bool IsSetStatus() { return this.status != null; } internal bool IsSetEventThreshold() { return this.eventThreshold != null; } } }