/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Decision attributes specified in * scheduleLambdaFunctionDecisionAttributes within the list of * decisions decisions passed to * RespondDecisionTaskCompleted.

See Also:

AWS * API Reference

*/ class ScheduleLambdaFunctionDecisionAttributes { public: AWS_SWF_API ScheduleLambdaFunctionDecisionAttributes(); AWS_SWF_API ScheduleLambdaFunctionDecisionAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API ScheduleLambdaFunctionDecisionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

A string that identifies the Lambda function execution in the event * history.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithId(const char* value) { SetId(value); return *this;} /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name, or ARN, of the Lambda function to schedule.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithName(const char* value) { SetName(value); return *this;} /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline const Aws::String& GetControl() const{ return m_control; } /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; } /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; } /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); } /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); } /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;} /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;} /** *

The data attached to the event that the decider can use in subsequent * workflow tasks. This data isn't sent to the Lambda task.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithControl(const char* value) { SetControl(value); return *this;} /** *

The optional input data to be supplied to the Lambda function.

*/ inline const Aws::String& GetInput() const{ return m_input; } /** *

The optional input data to be supplied to the Lambda function.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

The optional input data to be supplied to the Lambda function.

*/ inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; } /** *

The optional input data to be supplied to the Lambda function.

*/ inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *

The optional input data to be supplied to the Lambda function.

*/ inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); } /** *

The optional input data to be supplied to the Lambda function.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithInput(const Aws::String& value) { SetInput(value); return *this;} /** *

The optional input data to be supplied to the Lambda function.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;} /** *

The optional input data to be supplied to the Lambda function.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithInput(const char* value) { SetInput(value); return *this;} /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline const Aws::String& GetStartToCloseTimeout() const{ return m_startToCloseTimeout; } /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline bool StartToCloseTimeoutHasBeenSet() const { return m_startToCloseTimeoutHasBeenSet; } /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline void SetStartToCloseTimeout(const Aws::String& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = value; } /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline void SetStartToCloseTimeout(Aws::String&& value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout = std::move(value); } /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline void SetStartToCloseTimeout(const char* value) { m_startToCloseTimeoutHasBeenSet = true; m_startToCloseTimeout.assign(value); } /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithStartToCloseTimeout(const Aws::String& value) { SetStartToCloseTimeout(value); return *this;} /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithStartToCloseTimeout(Aws::String&& value) { SetStartToCloseTimeout(std::move(value)); return *this;} /** *

The timeout value, in seconds, after which the Lambda function is considered * to be failed once it has started. This can be any integer from 1-900 * (1s-15m).

If no value is supplied, then a default value of 900s is * assumed.

*/ inline ScheduleLambdaFunctionDecisionAttributes& WithStartToCloseTimeout(const char* value) { SetStartToCloseTimeout(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_control; bool m_controlHasBeenSet = false; Aws::String m_input; bool m_inputHasBeenSet = false; Aws::String m_startToCloseTimeout; bool m_startToCloseTimeoutHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws