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

The date and time the state machine was updated.

*/ inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; } /** *

The date and time the state machine was updated.

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

The date and time the state machine was updated.

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

The date and time the state machine was updated.

*/ inline UpdateStateMachineResult& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;} /** *

The date and time the state machine was updated.

*/ inline UpdateStateMachineResult& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;} /** *

The revision identifier for the updated state machine.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

The revision identifier for the updated state machine.

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

The revision identifier for the updated state machine.

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

The revision identifier for the updated state machine.

*/ inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } /** *

The revision identifier for the updated state machine.

*/ inline UpdateStateMachineResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

The revision identifier for the updated state machine.

*/ inline UpdateStateMachineResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

The revision identifier for the updated state machine.

*/ inline UpdateStateMachineResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

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

The Amazon Resource Name (ARN) of the published state machine version.

*

If the publish parameter isn't set to true, this * field returns null.

*/ inline UpdateStateMachineResult& WithStateMachineVersionArn(const char* value) { SetStateMachineVersionArn(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 UpdateStateMachineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateStateMachineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateStateMachineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_updateDate; Aws::String m_revisionId; Aws::String m_stateMachineVersionArn; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws