/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Specifies the runId of a workflow execution.

See * Also:

AWS API * Reference

*/ class StartWorkflowExecutionResult { public: AWS_SWF_API StartWorkflowExecutionResult(); AWS_SWF_API StartWorkflowExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_SWF_API StartWorkflowExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

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

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

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

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

*/ inline void SetRunId(const char* value) { m_runId.assign(value); } /** *

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

*/ inline StartWorkflowExecutionResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

*/ inline StartWorkflowExecutionResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The runId of a workflow execution. This ID is generated by the * service and can be used to uniquely identify the workflow execution within a * domain.

*/ inline StartWorkflowExecutionResult& WithRunId(const char* value) { SetRunId(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 StartWorkflowExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartWorkflowExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartWorkflowExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_runId; Aws::String m_requestId; }; } // namespace Model } // namespace SWF } // namespace Aws