/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Automation failure.See Also:
AWS
* API Reference
The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline const Aws::String& GetFailureStage() const{ return m_failureStage; } /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline bool FailureStageHasBeenSet() const { return m_failureStageHasBeenSet; } /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline void SetFailureStage(const Aws::String& value) { m_failureStageHasBeenSet = true; m_failureStage = value; } /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline void SetFailureStage(Aws::String&& value) { m_failureStageHasBeenSet = true; m_failureStage = std::move(value); } /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline void SetFailureStage(const char* value) { m_failureStageHasBeenSet = true; m_failureStage.assign(value); } /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline FailureDetails& WithFailureStage(const Aws::String& value) { SetFailureStage(value); return *this;} /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline FailureDetails& WithFailureStage(Aws::String&& value) { SetFailureStage(std::move(value)); return *this;} /** *The stage of the Automation execution when the failure occurred. The stages * include the following: InputValidation, PreVerification, Invocation, * PostVerification.
*/ inline FailureDetails& WithFailureStage(const char* value) { SetFailureStage(value); return *this;} /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline const Aws::String& GetFailureType() const{ return m_failureType; } /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline bool FailureTypeHasBeenSet() const { return m_failureTypeHasBeenSet; } /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline void SetFailureType(const Aws::String& value) { m_failureTypeHasBeenSet = true; m_failureType = value; } /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline void SetFailureType(Aws::String&& value) { m_failureTypeHasBeenSet = true; m_failureType = std::move(value); } /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline void SetFailureType(const char* value) { m_failureTypeHasBeenSet = true; m_failureType.assign(value); } /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline FailureDetails& WithFailureType(const Aws::String& value) { SetFailureType(value); return *this;} /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline FailureDetails& WithFailureType(Aws::String&& value) { SetFailureType(std::move(value)); return *this;} /** *The type of Automation failure. Failure types include the following: Action, * Permission, Throttling, Verification, Internal.
*/ inline FailureDetails& WithFailureType(const char* value) { SetFailureType(value); return *this;} /** *Detailed information about the Automation step failure.
*/ inline const Aws::MapDetailed information about the Automation step failure.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *Detailed information about the Automation step failure.
*/ inline void SetDetails(const Aws::MapDetailed information about the Automation step failure.
*/ inline void SetDetails(Aws::MapDetailed information about the Automation step failure.
*/ inline FailureDetails& WithDetails(const Aws::MapDetailed information about the Automation step failure.
*/ inline FailureDetails& WithDetails(Aws::MapDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(const Aws::String& key, const Aws::VectorDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(Aws::String&& key, const Aws::VectorDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(const Aws::String& key, Aws::VectorDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(Aws::String&& key, Aws::VectorDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(const char* key, Aws::VectorDetailed information about the Automation step failure.
*/ inline FailureDetails& AddDetails(const char* key, const Aws::Vector