/*
* 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 transfer-2018-11-05.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.Transfer.Model
{
///
/// Container for the parameters to the SendWorkflowStepState operation.
/// Sends a callback for asynchronous custom steps.
///
///
///
/// The ExecutionId
, WorkflowId
, and Token
are
/// passed to the target resource during execution of a custom step of a workflow. You
/// must include those with their callback as well as providing a status.
///
///
public partial class SendWorkflowStepStateRequest : AmazonTransferRequest
{
private string _executionId;
private CustomStepStatus _status;
private string _token;
private string _workflowId;
///
/// Gets and sets the property ExecutionId.
///
/// A unique identifier for the execution of a workflow.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
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 Status.
///
/// Indicates whether the specified step succeeded or failed.
///
///
[AWSProperty(Required=true)]
public CustomStepStatus 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 Token.
///
/// Used to distinguish between multiple callbacks for multiple Lambda steps within the
/// same execution.
///
///
[AWSProperty(Required=true, Min=1, Max=64)]
public string Token
{
get { return this._token; }
set { this._token = value; }
}
// Check to see if Token property is set
internal bool IsSetToken()
{
return this._token != null;
}
///
/// Gets and sets the property WorkflowId.
///
/// A unique identifier for the workflow.
///
///
[AWSProperty(Required=true, Min=19, Max=19)]
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;
}
}
}