/** * 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 an exit from a state during an * execution.

See Also:

AWS * API Reference

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The name of the state.

A name must not contain:

  • *

    white space

  • brackets < > { } [ ]

    *
  • wildcard characters ? *

  • special * characters " # % \ ^ | ~ ` $ & , ; : /

  • *

    control characters (U+0000-001F, U+007F-009F)

    *

To enable logging with CloudWatch Logs, the name should only * contain 0-9, A-Z, a-z, - and _.

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

The JSON output data of the state. 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 output data of the state. 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 output data of the state. 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 output data of the state. 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 output data of the state. 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 output data of the state. Length constraints apply to the payload * size, and are expressed as bytes in UTF-8 encoding.

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

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

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

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

*/ inline StateExitedEventDetails& 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 StateExitedEventDetails& WithOutputDetails(const HistoryEventExecutionDataDetails& value) { SetOutputDetails(value); return *this;} /** *

Contains details about the output of an execution history event.

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