using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Amazon.S3.Model { /// /// A container specifying replication metrics-related information, including whether /// emitting metrics and Amazon S3 events for replication are enabled. In addition, contains /// configurations related to specific metrics or events. Must be specified together with a /// ReplicationTime block. /// 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; } } }