/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details of the StartLambdaFunctionFailed
event. It
* isn't set for other event types.See Also:
AWS
* API Reference
The ID of the ActivityTaskScheduled
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 ActivityTaskScheduled
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 ActivityTaskScheduled
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 ActivityTaskScheduled
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 cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
The cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
The cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
The cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
The cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
The cause of the failure. To help diagnose issues, use this information to * trace back the chain of events leading up to this event.
If
* cause
is set to OPERATION_NOT_PERMITTED
, the decision
* failed because the IAM role attached to the execution lacked sufficient
* permissions. For details and example IAM policies, see Lambda
* Tasks in the Amazon SWF Developer Guide.
A description that can help diagnose the cause of the fault.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A description that can help diagnose the cause of the fault.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A description that can help diagnose the cause of the fault.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A description that can help diagnose the cause of the fault.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A description that can help diagnose the cause of the fault.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A description that can help diagnose the cause of the fault.
*/ inline StartLambdaFunctionFailedEventAttributes& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A description that can help diagnose the cause of the fault.
*/ inline StartLambdaFunctionFailedEventAttributes& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A description that can help diagnose the cause of the fault.
*/ inline StartLambdaFunctionFailedEventAttributes& WithMessage(const char* value) { SetMessage(value); return *this;} private: long long m_scheduledEventId; bool m_scheduledEventIdHasBeenSet = false; StartLambdaFunctionFailedCause m_cause; bool m_causeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws