/** * 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 { /** *

Provides the details of the LambdaFunctionScheduled event. It * isn't set for other event types.

See Also:

AWS * API Reference

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The unique ID of the Lambda task.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

The name of the Lambda function.

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

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; } /** *

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; } /** *

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; } /** *

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); } /** *

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); } /** *

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

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

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

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

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

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The input provided to the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

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

The maximum amount of time a worker can take to process the Lambda task.

*/ inline LambdaFunctionScheduledEventAttributes& WithStartToCloseTimeout(const char* value) { SetStartToCloseTimeout(value); return *this;} /** *

The ID of the LambdaFunctionCompleted event corresponding to the * decision that resulted in scheduling this activity task. To help diagnose * issues, use this information to trace back the chain of events leading up to * this event.

*/ inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; } /** *

The ID of the LambdaFunctionCompleted event corresponding to the * decision that resulted in scheduling this activity task. To help diagnose * issues, use this information to trace back the chain of events leading up to * this event.

*/ inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; } /** *

The ID of the LambdaFunctionCompleted event corresponding to the * decision that resulted in scheduling this activity task. To help diagnose * issues, use this information to trace back the chain of events leading up to * this event.

*/ inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; } /** *

The ID of the LambdaFunctionCompleted event corresponding to the * decision that resulted in scheduling this activity task. To help diagnose * issues, use this information to trace back the chain of events leading up to * this event.

*/ inline LambdaFunctionScheduledEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(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; long long m_decisionTaskCompletedEventId; bool m_decisionTaskCompletedEventIdHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws