/*
* 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 migrationhuborchestrator-2021-08-28.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.MigrationHubOrchestrator.Model
{
///
/// This is the response object from the GetTemplateStep operation.
///
public partial class GetTemplateStepResponse : AmazonWebServiceResponse
{
private string _creationTime;
private string _description;
private string _id;
private string _name;
private List _next = new List();
private List _outputs = new List();
private List _previous = new List();
private StepActionType _stepActionType;
private StepAutomationConfiguration _stepAutomationConfiguration;
private string _stepGroupId;
private string _templateId;
///
/// Gets and sets the property CreationTime.
///
/// The time at which the step was created.
///
///
public string CreationTime
{
get { return this._creationTime; }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime != null;
}
///
/// Gets and sets the property Description.
///
/// The description of the step.
///
///
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 Id.
///
/// The ID of the step.
///
///
[AWSProperty(Min=1, Max=100)]
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 Name.
///
/// The name of the step.
///
///
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Next.
///
/// The next step.
///
///
public List Next
{
get { return this._next; }
set { this._next = value; }
}
// Check to see if Next property is set
internal bool IsSetNext()
{
return this._next != null && this._next.Count > 0;
}
///
/// Gets and sets the property Outputs.
///
/// The outputs of the step.
///
///
public List Outputs
{
get { return this._outputs; }
set { this._outputs = value; }
}
// Check to see if Outputs property is set
internal bool IsSetOutputs()
{
return this._outputs != null && this._outputs.Count > 0;
}
///
/// Gets and sets the property Previous.
///
/// The previous step.
///
///
public List Previous
{
get { return this._previous; }
set { this._previous = value; }
}
// Check to see if Previous property is set
internal bool IsSetPrevious()
{
return this._previous != null && this._previous.Count > 0;
}
///
/// Gets and sets the property StepActionType.
///
/// The action type of the step. You must run and update the status of a manual step for
/// the workflow to continue after the completion of the step.
///
///
public StepActionType StepActionType
{
get { return this._stepActionType; }
set { this._stepActionType = value; }
}
// Check to see if StepActionType property is set
internal bool IsSetStepActionType()
{
return this._stepActionType != null;
}
///
/// Gets and sets the property StepAutomationConfiguration.
///
/// The custom script to run tests on source or target environments.
///
///
public StepAutomationConfiguration StepAutomationConfiguration
{
get { return this._stepAutomationConfiguration; }
set { this._stepAutomationConfiguration = value; }
}
// Check to see if StepAutomationConfiguration property is set
internal bool IsSetStepAutomationConfiguration()
{
return this._stepAutomationConfiguration != null;
}
///
/// Gets and sets the property StepGroupId.
///
/// The ID of the step group.
///
///
[AWSProperty(Min=1, Max=100)]
public string StepGroupId
{
get { return this._stepGroupId; }
set { this._stepGroupId = value; }
}
// Check to see if StepGroupId property is set
internal bool IsSetStepGroupId()
{
return this._stepGroupId != null;
}
///
/// Gets and sets the property TemplateId.
///
/// The ID of the template.
///
///
[AWSProperty(Min=1, Max=100)]
public string TemplateId
{
get { return this._templateId; }
set { this._templateId = value; }
}
// Check to see if TemplateId property is set
internal bool IsSetTemplateId()
{
return this._templateId != null;
}
}
}