/** * 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 SFN { namespace Model { /** *

Contains details about a lambda function scheduled during an * execution.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline const Aws::String& GetResource() const{ return m_resource; } /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; } /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); } /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline LambdaFunctionScheduledEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;} /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline LambdaFunctionScheduledEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the scheduled lambda function.

*/ inline LambdaFunctionScheduledEventDetails& WithResource(const char* value) { SetResource(value); return *this;} /** *

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The JSON data input to the lambda function.

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

The maximum allowed duration of the lambda function.

*/ inline long long GetTimeoutInSeconds() const{ return m_timeoutInSeconds; } /** *

The maximum allowed duration of the lambda function.

*/ inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } /** *

The maximum allowed duration of the lambda function.

*/ inline void SetTimeoutInSeconds(long long value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; } /** *

The maximum allowed duration of the lambda function.

*/ inline LambdaFunctionScheduledEventDetails& WithTimeoutInSeconds(long long value) { SetTimeoutInSeconds(value); return *this;} private: Aws::String m_resource; bool m_resourceHasBeenSet; Aws::String m_input; bool m_inputHasBeenSet; long long m_timeoutInSeconds; bool m_timeoutInSecondsHasBeenSet; }; } // namespace Model } // namespace SFN } // namespace Aws