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

Represents a workflow execution.

See Also:

AWS * API Reference

*/ class WorkflowExecution { public: AWS_SWF_API WorkflowExecution(); AWS_SWF_API WorkflowExecution(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API WorkflowExecution& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The user defined identifier associated with the workflow execution.

*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *

The user defined identifier associated with the workflow execution.

*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *

The user defined identifier associated with the workflow execution.

*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *

The user defined identifier associated with the workflow execution.

*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *

The user defined identifier associated with the workflow execution.

*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *

The user defined identifier associated with the workflow execution.

*/ inline WorkflowExecution& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *

The user defined identifier associated with the workflow execution.

*/ inline WorkflowExecution& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *

The user defined identifier associated with the workflow execution.

*/ inline WorkflowExecution& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

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

A system-generated unique identifier for the workflow execution.

*/ inline WorkflowExecution& WithRunId(const char* value) { SetRunId(value); return *this;} private: Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws