/** * 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 the start of the execution.

See Also:

* AWS * API Reference

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The JSON data input to the execution.

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

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline ExecutionStartedEventDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline ExecutionStartedEventDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda * tasks.

*/ inline ExecutionStartedEventDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_input; bool m_inputHasBeenSet; Aws::String m_roleArn; bool m_roleArnHasBeenSet; }; } // namespace Model } // namespace SFN } // namespace Aws