/* * 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-2014-11-06.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.SimpleSystemsManagement.Model { /// /// This is the response object from the GetMaintenanceWindowExecutionTaskInvocation operation. /// public partial class GetMaintenanceWindowExecutionTaskInvocationResponse : AmazonWebServiceResponse { private DateTime? _endTime; private string _executionId; private string _invocationId; private string _ownerInformation; private string _parameters; private DateTime? _startTime; private MaintenanceWindowExecutionStatus _status; private string _statusDetails; private string _taskExecutionId; private MaintenanceWindowTaskType _taskType; private string _windowExecutionId; private string _windowTargetId; /// /// Gets and sets the property EndTime. /// /// The time that the task finished running on the target. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property ExecutionId. /// /// The execution ID. /// /// public string ExecutionId { get { return this._executionId; } set { this._executionId = value; } } // Check to see if ExecutionId property is set internal bool IsSetExecutionId() { return this._executionId != null; } /// /// Gets and sets the property InvocationId. /// /// The invocation ID. /// /// [AWSProperty(Min=36, Max=36)] public string InvocationId { get { return this._invocationId; } set { this._invocationId = value; } } // Check to see if InvocationId property is set internal bool IsSetInvocationId() { return this._invocationId != null; } /// /// Gets and sets the property OwnerInformation. /// /// User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge /// events raised while running tasks for these targets in this maintenance window. /// /// [AWSProperty(Sensitive=true, Min=1, Max=128)] public string OwnerInformation { get { return this._ownerInformation; } set { this._ownerInformation = value; } } // Check to see if OwnerInformation property is set internal bool IsSetOwnerInformation() { return this._ownerInformation != null; } /// /// Gets and sets the property Parameters. /// /// The parameters used at the time that the task ran. /// /// [AWSProperty(Sensitive=true)] public string Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null; } /// /// Gets and sets the property StartTime. /// /// The time that the task started running on the target. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } /// /// Gets and sets the property Status. /// /// The task status for an invocation. /// /// public MaintenanceWindowExecutionStatus 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 StatusDetails. /// /// The details explaining the status. Details are only available for certain status values. /// /// [AWSProperty(Min=0, Max=250)] public string StatusDetails { get { return this._statusDetails; } set { this._statusDetails = value; } } // Check to see if StatusDetails property is set internal bool IsSetStatusDetails() { return this._statusDetails != null; } /// /// Gets and sets the property TaskExecutionId. /// /// The task execution ID. /// /// [AWSProperty(Min=36, Max=36)] public string TaskExecutionId { get { return this._taskExecutionId; } set { this._taskExecutionId = value; } } // Check to see if TaskExecutionId property is set internal bool IsSetTaskExecutionId() { return this._taskExecutionId != null; } /// /// Gets and sets the property TaskType. /// /// Retrieves the task type for a maintenance window. /// /// public MaintenanceWindowTaskType TaskType { get { return this._taskType; } set { this._taskType = value; } } // Check to see if TaskType property is set internal bool IsSetTaskType() { return this._taskType != null; } /// /// Gets and sets the property WindowExecutionId. /// /// The maintenance window execution ID. /// /// [AWSProperty(Min=36, Max=36)] public string WindowExecutionId { get { return this._windowExecutionId; } set { this._windowExecutionId = value; } } // Check to see if WindowExecutionId property is set internal bool IsSetWindowExecutionId() { return this._windowExecutionId != null; } /// /// Gets and sets the property WindowTargetId. /// /// The maintenance window target ID. /// /// [AWSProperty(Max=36)] public string WindowTargetId { get { return this._windowTargetId; } set { this._windowTargetId = value; } } // Check to see if WindowTargetId property is set internal bool IsSetWindowTargetId() { return this._windowTargetId != null; } } }