/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a workflow execution.See Also:
AWS
* API Reference
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