/* * 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 events-2015-10-07.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.CloudWatchEvents.Model { /// /// This is the response object from the DescribeReplay operation. /// public partial class DescribeReplayResponse : AmazonWebServiceResponse { private string _description; private ReplayDestination _destination; private DateTime? _eventEndTime; private DateTime? _eventLastReplayedTime; private string _eventSourceArn; private DateTime? _eventStartTime; private string _replayArn; private DateTime? _replayEndTime; private string _replayName; private DateTime? _replayStartTime; private ReplayState _state; private string _stateReason; /// /// Gets and sets the property Description. /// /// The description of the replay. /// /// [AWSProperty(Max=512)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Destination. /// /// A ReplayDestination object that contains details about the replay. /// /// public ReplayDestination Destination { get { return this._destination; } set { this._destination = value; } } // Check to see if Destination property is set internal bool IsSetDestination() { return this._destination != null; } /// /// Gets and sets the property EventEndTime. /// /// The time stamp for the last event that was replayed from the archive. /// /// public DateTime EventEndTime { get { return this._eventEndTime.GetValueOrDefault(); } set { this._eventEndTime = value; } } // Check to see if EventEndTime property is set internal bool IsSetEventEndTime() { return this._eventEndTime.HasValue; } /// /// Gets and sets the property EventLastReplayedTime. /// /// The time that the event was last replayed. /// /// public DateTime EventLastReplayedTime { get { return this._eventLastReplayedTime.GetValueOrDefault(); } set { this._eventLastReplayedTime = value; } } // Check to see if EventLastReplayedTime property is set internal bool IsSetEventLastReplayedTime() { return this._eventLastReplayedTime.HasValue; } /// /// Gets and sets the property EventSourceArn. /// /// The ARN of the archive events were replayed from. /// /// [AWSProperty(Min=1, Max=1600)] public string EventSourceArn { get { return this._eventSourceArn; } set { this._eventSourceArn = value; } } // Check to see if EventSourceArn property is set internal bool IsSetEventSourceArn() { return this._eventSourceArn != null; } /// /// Gets and sets the property EventStartTime. /// /// The time stamp of the first event that was last replayed from the archive. /// /// public DateTime EventStartTime { get { return this._eventStartTime.GetValueOrDefault(); } set { this._eventStartTime = value; } } // Check to see if EventStartTime property is set internal bool IsSetEventStartTime() { return this._eventStartTime.HasValue; } /// /// Gets and sets the property ReplayArn. /// /// The ARN of the replay. /// /// [AWSProperty(Min=1, Max=1600)] public string ReplayArn { get { return this._replayArn; } set { this._replayArn = value; } } // Check to see if ReplayArn property is set internal bool IsSetReplayArn() { return this._replayArn != null; } /// /// Gets and sets the property ReplayEndTime. /// /// A time stamp for the time that the replay stopped. /// /// public DateTime ReplayEndTime { get { return this._replayEndTime.GetValueOrDefault(); } set { this._replayEndTime = value; } } // Check to see if ReplayEndTime property is set internal bool IsSetReplayEndTime() { return this._replayEndTime.HasValue; } /// /// Gets and sets the property ReplayName. /// /// The name of the replay. /// /// [AWSProperty(Min=1, Max=64)] public string ReplayName { get { return this._replayName; } set { this._replayName = value; } } // Check to see if ReplayName property is set internal bool IsSetReplayName() { return this._replayName != null; } /// /// Gets and sets the property ReplayStartTime. /// /// A time stamp for the time that the replay started. /// /// public DateTime ReplayStartTime { get { return this._replayStartTime.GetValueOrDefault(); } set { this._replayStartTime = value; } } // Check to see if ReplayStartTime property is set internal bool IsSetReplayStartTime() { return this._replayStartTime.HasValue; } /// /// Gets and sets the property State. /// /// The current state of the replay. /// /// public ReplayState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property StateReason. /// /// The reason that the replay is in the current state. /// /// [AWSProperty(Max=512)] public string StateReason { get { return this._stateReason; } set { this._stateReason = value; } } // Check to see if StateReason property is set internal bool IsSetStateReason() { return this._stateReason != null; } } }