/** * 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 a specific state machine alias.

See * Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; } /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = value; } /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline StateMachineAliasListItem& WithStateMachineAliasArn(const Aws::String& value) { SetStateMachineAliasArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline StateMachineAliasListItem& WithStateMachineAliasArn(Aws::String&& value) { SetStateMachineAliasArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies a state machine alias. The * alias ARN is a combination of state machine ARN and the alias name separated by * a colon (:). For example, stateMachineARN:PROD.

*/ inline StateMachineAliasListItem& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;} /** *

The creation date of a state machine alias.

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

The creation date of a state machine alias.

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

The creation date of a state machine alias.

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

The creation date of a state machine alias.

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

The creation date of a state machine alias.

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

The creation date of a state machine alias.

*/ inline StateMachineAliasListItem& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_stateMachineAliasArn; bool m_stateMachineAliasArnHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws