/** * 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 AWS_SFN_API CreateStateMachineResult { public: CreateStateMachineResult(); CreateStateMachineResult(const Aws::AmazonWebServiceResult& result); CreateStateMachineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline CreateStateMachineResult& WithStateMachineArn(const char* value) { SetStateMachineArn(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 void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The date the state machine is created.

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

The date the state machine is created.

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

The date the state machine is created.

*/ inline CreateStateMachineResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_stateMachineArn; Aws::Utils::DateTime m_creationDate; }; } // namespace Model } // namespace SFN } // namespace Aws