/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details of the ChildWorkflowExecutionFailed
* event.See Also:
AWS
* API Reference
The child workflow execution that failed.
*/ inline const WorkflowExecution& GetWorkflowExecution() const{ return m_workflowExecution; } /** *The child workflow execution that failed.
*/ inline bool WorkflowExecutionHasBeenSet() const { return m_workflowExecutionHasBeenSet; } /** *The child workflow execution that failed.
*/ inline void SetWorkflowExecution(const WorkflowExecution& value) { m_workflowExecutionHasBeenSet = true; m_workflowExecution = value; } /** *The child workflow execution that failed.
*/ inline void SetWorkflowExecution(WorkflowExecution&& value) { m_workflowExecutionHasBeenSet = true; m_workflowExecution = std::move(value); } /** *The child workflow execution that failed.
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithWorkflowExecution(const WorkflowExecution& value) { SetWorkflowExecution(value); return *this;} /** *The child workflow execution that failed.
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithWorkflowExecution(WorkflowExecution&& value) { SetWorkflowExecution(std::move(value)); return *this;} /** *The type of the child workflow execution.
*/ inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; } /** *The type of the child workflow execution.
*/ inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; } /** *The type of the child workflow execution.
*/ inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; } /** *The type of the child workflow execution.
*/ inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); } /** *The type of the child workflow execution.
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;} /** *The type of the child workflow execution.
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;} /** *The reason for the failure (if provided).
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason for the failure (if provided).
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason for the failure (if provided).
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason for the failure (if provided).
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason for the failure (if provided).
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason for the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason for the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason for the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;} /** *The details of the failure (if provided).
*/ inline const Aws::String& GetDetails() const{ return m_details; } /** *The details of the failure (if provided).
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *The details of the failure (if provided).
*/ inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; } /** *The details of the failure (if provided).
*/ inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } /** *The details of the failure (if provided).
*/ inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); } /** *The details of the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;} /** *The details of the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;} /** *The details of the failure (if provided).
*/ inline ChildWorkflowExecutionFailedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;} /** *The ID of the StartChildWorkflowExecutionInitiated
event
* corresponding to the StartChildWorkflowExecution
Decision to
* start this child workflow execution. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the StartChildWorkflowExecutionInitiated
event
* corresponding to the StartChildWorkflowExecution
Decision to
* start this child workflow execution. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the StartChildWorkflowExecutionInitiated
event
* corresponding to the StartChildWorkflowExecution
Decision to
* start this child workflow execution. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the StartChildWorkflowExecutionInitiated
event
* corresponding to the StartChildWorkflowExecution
Decision to
* start this child workflow execution. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the ChildWorkflowExecutionStarted
event recorded when
* this child workflow execution was started. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the ChildWorkflowExecutionStarted
event recorded when
* this child workflow execution was started. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the ChildWorkflowExecutionStarted
event recorded when
* this child workflow execution was started. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.
The ID of the ChildWorkflowExecutionStarted
event recorded when
* this child workflow execution was started. This information can be useful for
* diagnosing problems by tracing back the chain of events leading up to this
* event.