/* * 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 apprunner-2020-05-15.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.AppRunner.Model { /// /// Provides summary information for an operation that occurred on an App Runner service. /// public partial class OperationSummary { private DateTime? _endedAt; private string _id; private DateTime? _startedAt; private OperationStatus _status; private string _targetArn; private OperationType _type; private DateTime? _updatedAt; /// /// Gets and sets the property EndedAt. /// /// The time when the operation ended. It's in the Unix time stamp format. /// /// public DateTime EndedAt { get { return this._endedAt.GetValueOrDefault(); } set { this._endedAt = value; } } // Check to see if EndedAt property is set internal bool IsSetEndedAt() { return this._endedAt.HasValue; } /// /// Gets and sets the property Id. /// /// A unique ID of this operation. It's unique in the scope of the App Runner service. /// /// [AWSProperty(Min=36, Max=36)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// /// Gets and sets the property StartedAt. /// /// The time when the operation started. It's in the Unix time stamp format. /// /// public DateTime StartedAt { get { return this._startedAt.GetValueOrDefault(); } set { this._startedAt = value; } } // Check to see if StartedAt property is set internal bool IsSetStartedAt() { return this._startedAt.HasValue; } /// /// Gets and sets the property Status. /// /// The current state of the operation. /// /// public OperationStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property TargetArn. /// /// The Amazon Resource Name (ARN) of the resource that the operation acted on (for example, /// an App Runner service). /// /// [AWSProperty(Min=1, Max=1011)] public string TargetArn { get { return this._targetArn; } set { this._targetArn = value; } } // Check to see if TargetArn property is set internal bool IsSetTargetArn() { return this._targetArn != null; } /// /// Gets and sets the property Type. /// /// The type of operation. It indicates a specific action that occured. /// /// public OperationType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// /// Gets and sets the property UpdatedAt. /// /// The time when the operation was last updated. It's in the Unix time stamp format. /// /// public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }