/** * 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 version.

See * Also:

AWS * API Reference

*/ class StateMachineVersionListItem { public: AWS_SFN_API StateMachineVersionListItem(); AWS_SFN_API StateMachineVersionListItem(Aws::Utils::Json::JsonView jsonValue); AWS_SFN_API StateMachineVersionListItem& 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 version. The * version ARN is a combination of state machine ARN and the version number * separated by a colon (:). For example, stateMachineARN:1.

*/ inline const Aws::String& GetStateMachineVersionArn() const{ return m_stateMachineVersionArn; } /** *

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

*/ inline bool StateMachineVersionArnHasBeenSet() const { return m_stateMachineVersionArnHasBeenSet; } /** *

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

*/ inline void SetStateMachineVersionArn(const Aws::String& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = value; } /** *

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

*/ inline void SetStateMachineVersionArn(Aws::String&& value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn = std::move(value); } /** *

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

*/ inline void SetStateMachineVersionArn(const char* value) { m_stateMachineVersionArnHasBeenSet = true; m_stateMachineVersionArn.assign(value); } /** *

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

*/ inline StateMachineVersionListItem& WithStateMachineVersionArn(const Aws::String& value) { SetStateMachineVersionArn(value); return *this;} /** *

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

*/ inline StateMachineVersionListItem& WithStateMachineVersionArn(Aws::String&& value) { SetStateMachineVersionArn(std::move(value)); return *this;} /** *

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

*/ inline StateMachineVersionListItem& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(value); return *this;} /** *

The creation date of a state machine version.

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

The creation date of a state machine version.

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

The creation date of a state machine version.

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

The creation date of a state machine version.

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

The creation date of a state machine version.

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

The creation date of a state machine version.

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