/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SFN { namespace Model { class CreateStateMachineAliasResult { public: AWS_SFN_API CreateStateMachineAliasResult(); AWS_SFN_API CreateStateMachineAliasResult(const Aws::AmazonWebServiceResult& result); AWS_SFN_API CreateStateMachineAliasResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The date the state machine alias was created.

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

The date the state machine alias was created.

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

The date the state machine alias was created.

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

The date the state machine alias was created.

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

The date the state machine alias was created.

*/ inline CreateStateMachineAliasResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateStateMachineAliasResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateStateMachineAliasResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateStateMachineAliasResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_stateMachineAliasArn; Aws::Utils::DateTime m_creationDate; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws