/*
* 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
{
///
/// Container for the parameters to the UpdateWorkflowStep operation.
/// Update a step in a migration workflow.
///
public partial class UpdateWorkflowStepRequest : AmazonMigrationHubOrchestratorRequest
{
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 StepStatus _status;
private StepActionType _stepActionType;
private string _stepGroupId;
private List _stepTarget = new List();
private string _workflowId;
private WorkflowStepAutomationConfiguration _workflowStepAutomationConfiguration;
///
/// Gets and sets the property Description.
///
/// The description of the step.
///
///
[AWSProperty(Min=0, Max=500)]
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(Required=true, 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.
///
///
[AWSProperty(Min=1, Max=100)]
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 a 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 Status.
///
/// The status of the step.
///
///
public StepStatus 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 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 StepGroupId.
///
/// The ID of the step group.
///
///
[AWSProperty(Required=true, 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 StepTarget.
///
/// The servers on which a step will be run.
///
///
public List StepTarget
{
get { return this._stepTarget; }
set { this._stepTarget = value; }
}
// Check to see if StepTarget property is set
internal bool IsSetStepTarget()
{
return this._stepTarget != null && this._stepTarget.Count > 0;
}
///
/// Gets and sets the property WorkflowId.
///
/// The ID of the migration workflow.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string WorkflowId
{
get { return this._workflowId; }
set { this._workflowId = value; }
}
// Check to see if WorkflowId property is set
internal bool IsSetWorkflowId()
{
return this._workflowId != null;
}
///
/// Gets and sets the property WorkflowStepAutomationConfiguration.
///
/// The custom script to run tests on the source and target environments.
///
///
public WorkflowStepAutomationConfiguration WorkflowStepAutomationConfiguration
{
get { return this._workflowStepAutomationConfiguration; }
set { this._workflowStepAutomationConfiguration = value; }
}
// Check to see if WorkflowStepAutomationConfiguration property is set
internal bool IsSetWorkflowStepAutomationConfiguration()
{
return this._workflowStepAutomationConfiguration != null;
}
}
}