/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 the state machine.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; } /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline StateMachineListItem& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline StateMachineListItem& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the state machine.

*/ inline StateMachineListItem& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;} /** *

The name of the state machine.

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 machine.

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 machine.

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 machine.

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 machine.

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 machine.

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 StateMachineListItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the state machine.

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 StateMachineListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the state machine.

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 StateMachineListItem& WithName(const char* value) { SetName(value); return *this;} /** *

*/ inline const StateMachineType& GetType() const{ return m_type; } /** *

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

*/ inline void SetType(const StateMachineType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

*/ inline void SetType(StateMachineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

*/ inline StateMachineListItem& WithType(const StateMachineType& value) { SetType(value); return *this;} /** *

*/ inline StateMachineListItem& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;} /** *

The date the state machine is created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The date the state machine is created.

*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *

The date the state machine is created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *

The date the state machine is created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *

The date the state machine is created.

*/ inline StateMachineListItem& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The date the state machine is created.

*/ inline StateMachineListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_stateMachineArn; bool m_stateMachineArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; StateMachineType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws