/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the properties of the specified workflowSee Also:
* AWS
* API Reference
Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline DescribedWorkflow& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline DescribedWorkflow& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *Specifies the unique Amazon Resource Name (ARN) for the workflow.
*/ inline DescribedWorkflow& WithArn(const char* value) { SetArn(value); return *this;} /** *Specifies the text description for the workflow.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Specifies the text description for the workflow.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Specifies the text description for the workflow.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Specifies the text description for the workflow.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Specifies the text description for the workflow.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Specifies the text description for the workflow.
*/ inline DescribedWorkflow& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Specifies the text description for the workflow.
*/ inline DescribedWorkflow& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Specifies the text description for the workflow.
*/ inline DescribedWorkflow& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Specifies the details for the steps that are in the specified workflow.
*/ inline const Aws::VectorSpecifies the details for the steps that are in the specified workflow.
*/ inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; } /** *Specifies the details for the steps that are in the specified workflow.
*/ inline void SetSteps(const Aws::VectorSpecifies the details for the steps that are in the specified workflow.
*/ inline void SetSteps(Aws::VectorSpecifies the details for the steps that are in the specified workflow.
*/ inline DescribedWorkflow& WithSteps(const Aws::VectorSpecifies the details for the steps that are in the specified workflow.
*/ inline DescribedWorkflow& WithSteps(Aws::VectorSpecifies the details for the steps that are in the specified workflow.
*/ inline DescribedWorkflow& AddSteps(const WorkflowStep& value) { m_stepsHasBeenSet = true; m_steps.push_back(value); return *this; } /** *Specifies the details for the steps that are in the specified workflow.
*/ inline DescribedWorkflow& AddSteps(WorkflowStep&& value) { m_stepsHasBeenSet = true; m_steps.push_back(std::move(value)); return *this; } /** *Specifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline const Aws::VectorSpecifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline bool OnExceptionStepsHasBeenSet() const { return m_onExceptionStepsHasBeenSet; } /** *Specifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline void SetOnExceptionSteps(const Aws::VectorSpecifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline void SetOnExceptionSteps(Aws::VectorSpecifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline DescribedWorkflow& WithOnExceptionSteps(const Aws::VectorSpecifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline DescribedWorkflow& WithOnExceptionSteps(Aws::VectorSpecifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline DescribedWorkflow& AddOnExceptionSteps(const WorkflowStep& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(value); return *this; } /** *Specifies the steps (actions) to take if errors are encountered during * execution of the workflow.
*/ inline DescribedWorkflow& AddOnExceptionSteps(WorkflowStep&& value) { m_onExceptionStepsHasBeenSet = true; m_onExceptionSteps.push_back(std::move(value)); return *this; } /** *A unique identifier for the workflow.
*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *A unique identifier for the workflow.
*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *A unique identifier for the workflow.
*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *A unique identifier for the workflow.
*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *A unique identifier for the workflow.
*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *A unique identifier for the workflow.
*/ inline DescribedWorkflow& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *A unique identifier for the workflow.
*/ inline DescribedWorkflow& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *A unique identifier for the workflow.
*/ inline DescribedWorkflow& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *Key-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline const Aws::VectorKey-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Key-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline void SetTags(const Aws::VectorKey-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline void SetTags(Aws::VectorKey-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline DescribedWorkflow& WithTags(const Aws::VectorKey-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline DescribedWorkflow& WithTags(Aws::VectorKey-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline DescribedWorkflow& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Key-value pairs that can be used to group and search for workflows. Tags are * metadata attached to workflows for any purpose.
*/ inline DescribedWorkflow& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector