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

See Also:

AWS * API Reference

*/ class AWS_SFN_API StateExitedEventDetails { public: StateExitedEventDetails(); StateExitedEventDetails(Aws::Utils::Json::JsonView jsonValue); StateExitedEventDetails& operator=(Aws::Utils::Json::JsonView jsonValue); 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.

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

The JSON output data of the state.

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

The JSON output data of the state.

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

The JSON output data of the state.

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

The JSON output data of the state.

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

The JSON output data of the state.

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

The JSON output data of the state.

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

The JSON output data of the state.

*/ inline StateExitedEventDetails& WithOutput(const char* value) { SetOutput(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_output; bool m_outputHasBeenSet; }; } // namespace Model } // namespace SFN } // namespace Aws