/*
* 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 ssm-incidents-2018-05-10.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.SSMIncidents.Model
{
///
/// Container for the parameters to the GetTimelineEvent operation.
/// Retrieves a timeline event based on its ID and incident record.
///
public partial class GetTimelineEventRequest : AmazonSSMIncidentsRequest
{
private string _eventId;
private string _incidentRecordArn;
///
/// Gets and sets the property EventId.
///
/// The ID of the event. You can get an event's ID when you create it, or by using ListTimelineEvents
.
///
///
[AWSProperty(Required=true, Min=0, Max=50)]
public string EventId
{
get { return this._eventId; }
set { this._eventId = value; }
}
// Check to see if EventId property is set
internal bool IsSetEventId()
{
return this._eventId != null;
}
///
/// Gets and sets the property IncidentRecordArn.
///
/// The Amazon Resource Name (ARN) of the incident that includes the timeline event.
///
///
[AWSProperty(Required=true, Min=0, Max=1000)]
public string IncidentRecordArn
{
get { return this._incidentRecordArn; }
set { this._incidentRecordArn = value; }
}
// Check to see if IncidentRecordArn property is set
internal bool IsSetIncidentRecordArn()
{
return this._incidentRecordArn != null;
}
}
}