/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

The detailed status of the stack instance.

See Also:

AWS * API Reference

*/ class StackInstanceComprehensiveStatus { public: AWS_CLOUDFORMATION_API StackInstanceComprehensiveStatus(); AWS_CLOUDFORMATION_API StackInstanceComprehensiveStatus(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API StackInstanceComprehensiveStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline const StackInstanceDetailedStatus& GetDetailedStatus() const{ return m_detailedStatus; } /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline bool DetailedStatusHasBeenSet() const { return m_detailedStatusHasBeenSet; } /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline void SetDetailedStatus(const StackInstanceDetailedStatus& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = value; } /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline void SetDetailedStatus(StackInstanceDetailedStatus&& value) { m_detailedStatusHasBeenSet = true; m_detailedStatus = std::move(value); } /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline StackInstanceComprehensiveStatus& WithDetailedStatus(const StackInstanceDetailedStatus& value) { SetDetailedStatus(value); return *this;} /** *
  • CANCELLED: The operation in the specified account and * Region has been canceled. This is either because a user has stopped the stack * set operation, or because the failure tolerance of the stack set operation has * been exceeded.

  • FAILED: The operation in the * specified account and Region failed. If the stack set operation fails in enough * accounts within a Region, the failure tolerance for the stack set operation as a * whole might be exceeded.

  • INOPERABLE: A * DeleteStackInstances operation has failed and left the stack in an * unstable state. Stacks in this state are excluded from further * UpdateStackSet operations. You might need to perform a * DeleteStackInstances operation, with RetainStacks set * to true, to delete the stack instance, and then delete the stack * manually.

  • PENDING: The operation in the * specified account and Region has yet to start.

  • * RUNNING: The operation in the specified account and Region is * currently in progress.

  • * SKIPPED_SUSPENDED_ACCOUNT: The operation in the specified account * and Region has been skipped because the account was suspended at the time of the * operation.

  • SUCCEEDED: The operation in the * specified account and Region completed successfully.

*/ inline StackInstanceComprehensiveStatus& WithDetailedStatus(StackInstanceDetailedStatus&& value) { SetDetailedStatus(std::move(value)); return *this;} private: StackInstanceDetailedStatus m_detailedStatus; bool m_detailedStatusHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws