142 lines
4.1 KiB
C
142 lines
4.1 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/states/SFN_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SFN
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains details about the start of the execution.</p><p><h3>See Also:</h3>
|
|||
|
|
* <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ExecutionStartedEventDetails">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
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;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetInput() const{ return m_input; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline ExecutionStartedEventDetails& WithInput(const Aws::String& value) { SetInput(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline ExecutionStartedEventDetails& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The JSON data input to the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline ExecutionStartedEventDetails& WithInput(const char* value) { SetInput(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline ExecutionStartedEventDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
inline ExecutionStartedEventDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the IAM role used for executing AWS Lambda
|
|||
|
|
* tasks.</p>
|
|||
|
|
*/
|
|||
|
|
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
|