/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 that successfully terminated during * an execution.

See Also:

AWS * API Reference

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

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline const Aws::String& GetOutput() const{ return m_output; } /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline void SetOutput(const Aws::String& value) { m_outputHasBeenSet = true; m_output = value; } /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline void SetOutput(Aws::String&& value) { m_outputHasBeenSet = true; m_output = std::move(value); } /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline void SetOutput(const char* value) { m_outputHasBeenSet = true; m_output.assign(value); } /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline LambdaFunctionSucceededEventDetails& WithOutput(const Aws::String& value) { SetOutput(value); return *this;} /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline LambdaFunctionSucceededEventDetails& WithOutput(Aws::String&& value) { SetOutput(std::move(value)); return *this;} /** *

The JSON data output by the Lambda function. Length constraints apply to the * payload size, and are expressed as bytes in UTF-8 encoding.

*/ inline LambdaFunctionSucceededEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;} /** *

Contains details about the output of an execution history event.

*/ inline const HistoryEventExecutionDataDetails& GetOutputDetails() const{ return m_outputDetails; } /** *

Contains details about the output of an execution history event.

*/ inline bool OutputDetailsHasBeenSet() const { return m_outputDetailsHasBeenSet; } /** *

Contains details about the output of an execution history event.

*/ inline void SetOutputDetails(const HistoryEventExecutionDataDetails& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = value; } /** *

Contains details about the output of an execution history event.

*/ inline void SetOutputDetails(HistoryEventExecutionDataDetails&& value) { m_outputDetailsHasBeenSet = true; m_outputDetails = std::move(value); } /** *

Contains details about the output of an execution history event.

*/ inline LambdaFunctionSucceededEventDetails& WithOutputDetails(const HistoryEventExecutionDataDetails& value) { SetOutputDetails(value); return *this;} /** *

Contains details about the output of an execution history event.

*/ inline LambdaFunctionSucceededEventDetails& WithOutputDetails(HistoryEventExecutionDataDetails&& value) { SetOutputDetails(std::move(value)); return *this;} private: Aws::String m_output; bool m_outputHasBeenSet = false; HistoryEventExecutionDataDetails m_outputDetails; bool m_outputDetailsHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws