/*
* 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 states-2016-11-23.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.StepFunctions.Model
{
///
/// Contains details about an activity scheduled during an execution.
///
public partial class ActivityScheduledEventDetails
{
private long? _heartbeatInSeconds;
private string _input;
private HistoryEventExecutionDataDetails _inputDetails;
private string _resource;
private long? _timeoutInSeconds;
///
/// Gets and sets the property HeartbeatInSeconds.
///
/// The maximum allowed duration between two heartbeats for the activity task.
///
///
public long HeartbeatInSeconds
{
get { return this._heartbeatInSeconds.GetValueOrDefault(); }
set { this._heartbeatInSeconds = value; }
}
// Check to see if HeartbeatInSeconds property is set
internal bool IsSetHeartbeatInSeconds()
{
return this._heartbeatInSeconds.HasValue;
}
///
/// Gets and sets the property Input.
///
/// The JSON data input to the activity task. Length constraints apply to the payload
/// size, and are expressed as bytes in UTF-8 encoding.
///
///
[AWSProperty(Sensitive=true, Max=262144)]
public string Input
{
get { return this._input; }
set { this._input = value; }
}
// Check to see if Input property is set
internal bool IsSetInput()
{
return this._input != null;
}
///
/// Gets and sets the property InputDetails.
///
/// Contains details about the input for an execution history event.
///
///
public HistoryEventExecutionDataDetails InputDetails
{
get { return this._inputDetails; }
set { this._inputDetails = value; }
}
// Check to see if InputDetails property is set
internal bool IsSetInputDetails()
{
return this._inputDetails != null;
}
///
/// Gets and sets the property Resource.
///
/// The Amazon Resource Name (ARN) of the scheduled activity.
///
///
[AWSProperty(Required=true, Min=1, Max=256)]
public string Resource
{
get { return this._resource; }
set { this._resource = value; }
}
// Check to see if Resource property is set
internal bool IsSetResource()
{
return this._resource != null;
}
///
/// Gets and sets the property TimeoutInSeconds.
///
/// The maximum allowed duration of the activity task.
///
///
public long TimeoutInSeconds
{
get { return this._timeoutInSeconds.GetValueOrDefault(); }
set { this._timeoutInSeconds = value; }
}
// Check to see if TimeoutInSeconds property is set
internal bool IsSetTimeoutInSeconds()
{
return this._timeoutInSeconds.HasValue;
}
}
}