/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details of the LambdaFunctionFailed
event. It isn't
* set for other event types.See Also:
AWS
* API Reference
The ID of the LambdaFunctionScheduled
event that was recorded
* when this activity task was scheduled. To help diagnose issues, use this
* information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled
event that was recorded
* when this activity task was scheduled. To help diagnose issues, use this
* information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled
event that was recorded
* when this activity task was scheduled. To help diagnose issues, use this
* information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionScheduled
event that was recorded
* when this activity task was scheduled. To help diagnose issues, use this
* information to trace back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this
* activity task started. To help diagnose issues, use this information to trace
* back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this
* activity task started. To help diagnose issues, use this information to trace
* back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this
* activity task started. To help diagnose issues, use this information to trace
* back the chain of events leading up to this event.
The ID of the LambdaFunctionStarted
event recorded when this
* activity task started. To help diagnose issues, use this information to trace
* back the chain of events leading up to this event.
The reason provided for the failure.
*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *The reason provided for the failure.
*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *The reason provided for the failure.
*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *The reason provided for the failure.
*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *The reason provided for the failure.
*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *The reason provided for the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;} /** *The reason provided for the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} /** *The reason provided for the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;} /** *The details of the failure.
*/ inline const Aws::String& GetDetails() const{ return m_details; } /** *The details of the failure.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *The details of the failure.
*/ inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; } /** *The details of the failure.
*/ inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); } /** *The details of the failure.
*/ inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); } /** *The details of the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;} /** *The details of the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;} /** *The details of the failure.
*/ inline LambdaFunctionFailedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;} private: long long m_scheduledEventId; bool m_scheduledEventIdHasBeenSet = false; long long m_startedEventId; bool m_startedEventIdHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; Aws::String m_details; bool m_detailsHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws