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

An CloudFormation stack, in a specific account and Region, that's part of a * stack set operation. A stack instance is a reference to an attempted or actual * stack in a given account within a given Region. A stack instance can exist * without a stack—for example, if the stack couldn't be created for some reason. A * stack instance is associated with only one stack set. Each stack instance * contains the ID of its associated stack set, in addition to the ID of the actual * stack and the stack status.

See Also:

AWS * API Reference

*/ class StackInstance { public: AWS_CLOUDFORMATION_API StackInstance(); AWS_CLOUDFORMATION_API StackInstance(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API StackInstance& 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; /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline const Aws::String& GetStackSetId() const{ return m_stackSetId; } /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline bool StackSetIdHasBeenSet() const { return m_stackSetIdHasBeenSet; } /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline void SetStackSetId(const Aws::String& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = value; } /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline void SetStackSetId(Aws::String&& value) { m_stackSetIdHasBeenSet = true; m_stackSetId = std::move(value); } /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline void SetStackSetId(const char* value) { m_stackSetIdHasBeenSet = true; m_stackSetId.assign(value); } /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline StackInstance& WithStackSetId(const Aws::String& value) { SetStackSetId(value); return *this;} /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline StackInstance& WithStackSetId(Aws::String&& value) { SetStackSetId(std::move(value)); return *this;} /** *

The name or unique ID of the stack set that the stack instance is associated * with.

*/ inline StackInstance& WithStackSetId(const char* value) { SetStackSetId(value); return *this;} /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline StackInstance& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline StackInstance& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *

The name of the Amazon Web Services Region that the stack instance is * associated with.

*/ inline StackInstance& WithRegion(const char* value) { SetRegion(value); return *this;} /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline const Aws::String& GetAccount() const{ return m_account; } /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); } /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); } /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline StackInstance& WithAccount(const Aws::String& value) { SetAccount(value); return *this;} /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline StackInstance& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;} /** *

[Self-managed permissions] The name of the Amazon Web Services account that * the stack instance is associated with.

*/ inline StackInstance& WithAccount(const char* value) { SetAccount(value); return *this;} /** *

The ID of the stack instance.

*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *

The ID of the stack instance.

*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *

The ID of the stack instance.

*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *

The ID of the stack instance.

*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *

The ID of the stack instance.

*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *

The ID of the stack instance.

*/ inline StackInstance& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *

The ID of the stack instance.

*/ inline StackInstance& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *

The ID of the stack instance.

*/ inline StackInstance& WithStackId(const char* value) { SetStackId(value); return *this;} /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline const Aws::Vector& GetParameterOverrides() const{ return m_parameterOverrides; } /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline bool ParameterOverridesHasBeenSet() const { return m_parameterOverridesHasBeenSet; } /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline void SetParameterOverrides(const Aws::Vector& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = value; } /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline void SetParameterOverrides(Aws::Vector&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = std::move(value); } /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline StackInstance& WithParameterOverrides(const Aws::Vector& value) { SetParameterOverrides(value); return *this;} /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline StackInstance& WithParameterOverrides(Aws::Vector&& value) { SetParameterOverrides(std::move(value)); return *this;} /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline StackInstance& AddParameterOverrides(const Parameter& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(value); return *this; } /** *

A list of parameters from the stack set template whose values have been * overridden in this stack instance.

*/ inline StackInstance& AddParameterOverrides(Parameter&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(std::move(value)); return *this; } /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline const StackInstanceStatus& GetStatus() const{ return m_status; } /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline void SetStatus(const StackInstanceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline void SetStatus(StackInstanceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline StackInstance& WithStatus(const StackInstanceStatus& value) { SetStatus(value); return *this;} /** *

The status of the stack instance, in terms of its synchronization with its * associated stack set.

  • 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.

  • OUTDATED: The stack isn't currently up * to date with the stack set because:

    • The associated stack failed * during a CreateStackSet or UpdateStackSet * operation.

    • The stack was part of a CreateStackSet * or UpdateStackSet operation that failed or was stopped before the * stack was created or updated.

  • * CURRENT: The stack is currently up to date with the stack set.

    *
*/ inline StackInstance& WithStatus(StackInstanceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The detailed status of the stack instance.

*/ inline const StackInstanceComprehensiveStatus& GetStackInstanceStatus() const{ return m_stackInstanceStatus; } /** *

The detailed status of the stack instance.

*/ inline bool StackInstanceStatusHasBeenSet() const { return m_stackInstanceStatusHasBeenSet; } /** *

The detailed status of the stack instance.

*/ inline void SetStackInstanceStatus(const StackInstanceComprehensiveStatus& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = value; } /** *

The detailed status of the stack instance.

*/ inline void SetStackInstanceStatus(StackInstanceComprehensiveStatus&& value) { m_stackInstanceStatusHasBeenSet = true; m_stackInstanceStatus = std::move(value); } /** *

The detailed status of the stack instance.

*/ inline StackInstance& WithStackInstanceStatus(const StackInstanceComprehensiveStatus& value) { SetStackInstanceStatus(value); return *this;} /** *

The detailed status of the stack instance.

*/ inline StackInstance& WithStackInstanceStatus(StackInstanceComprehensiveStatus&& value) { SetStackInstanceStatus(std::move(value)); return *this;} /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); } /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline StackInstance& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline StackInstance& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *

The explanation for the specific status code that's assigned to this stack * instance.

*/ inline StackInstance& WithStatusReason(const char* value) { SetStatusReason(value); return *this;} /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; } /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; } /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; } /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); } /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); } /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline StackInstance& WithOrganizationalUnitId(const Aws::String& value) { SetOrganizationalUnitId(value); return *this;} /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline StackInstance& WithOrganizationalUnitId(Aws::String&& value) { SetOrganizationalUnitId(std::move(value)); return *this;} /** *

[Service-managed permissions] The organization root ID or organizational unit * (OU) IDs that you specified for DeploymentTargets.

*/ inline StackInstance& WithOrganizationalUnitId(const char* value) { SetOrganizationalUnitId(value); return *this;} /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline const StackDriftStatus& GetDriftStatus() const{ return m_driftStatus; } /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline bool DriftStatusHasBeenSet() const { return m_driftStatusHasBeenSet; } /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline void SetDriftStatus(const StackDriftStatus& value) { m_driftStatusHasBeenSet = true; m_driftStatus = value; } /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline void SetDriftStatus(StackDriftStatus&& value) { m_driftStatusHasBeenSet = true; m_driftStatus = std::move(value); } /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline StackInstance& WithDriftStatus(const StackDriftStatus& value) { SetDriftStatus(value); return *this;} /** *

Status of the stack instance's actual configuration compared to the expected * template and parameter configuration of the stack set to which it belongs.

*
  • DRIFTED: The stack differs from the expected template * and parameter configuration of the stack set to which it belongs. A stack * instance is considered to have drifted if one or more of the resources in the * associated stack have drifted.

  • NOT_CHECKED: * CloudFormation hasn't checked if the stack instance differs from its expected * stack set configuration.

  • IN_SYNC: The stack * instance's actual configuration matches its expected stack set * configuration.

  • UNKNOWN: This value is reserved * for future use.

*/ inline StackInstance& WithDriftStatus(StackDriftStatus&& value) { SetDriftStatus(std::move(value)); return *this;} /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline const Aws::Utils::DateTime& GetLastDriftCheckTimestamp() const{ return m_lastDriftCheckTimestamp; } /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline bool LastDriftCheckTimestampHasBeenSet() const { return m_lastDriftCheckTimestampHasBeenSet; } /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline void SetLastDriftCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = value; } /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline void SetLastDriftCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastDriftCheckTimestampHasBeenSet = true; m_lastDriftCheckTimestamp = std::move(value); } /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline StackInstance& WithLastDriftCheckTimestamp(const Aws::Utils::DateTime& value) { SetLastDriftCheckTimestamp(value); return *this;} /** *

Most recent time when CloudFormation performed a drift detection operation on * the stack instance. This value will be NULL for any stack instance * on which drift detection hasn't yet been performed.

*/ inline StackInstance& WithLastDriftCheckTimestamp(Aws::Utils::DateTime&& value) { SetLastDriftCheckTimestamp(std::move(value)); return *this;} /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline const Aws::String& GetLastOperationId() const{ return m_lastOperationId; } /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline bool LastOperationIdHasBeenSet() const { return m_lastOperationIdHasBeenSet; } /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline void SetLastOperationId(const Aws::String& value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId = value; } /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline void SetLastOperationId(Aws::String&& value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId = std::move(value); } /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline void SetLastOperationId(const char* value) { m_lastOperationIdHasBeenSet = true; m_lastOperationId.assign(value); } /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline StackInstance& WithLastOperationId(const Aws::String& value) { SetLastOperationId(value); return *this;} /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline StackInstance& WithLastOperationId(Aws::String&& value) { SetLastOperationId(std::move(value)); return *this;} /** *

The last unique ID of a StackSet operation performed on a stack instance.

*/ inline StackInstance& WithLastOperationId(const char* value) { SetLastOperationId(value); return *this;} private: Aws::String m_stackSetId; bool m_stackSetIdHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_account; bool m_accountHasBeenSet = false; Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::Vector m_parameterOverrides; bool m_parameterOverridesHasBeenSet = false; StackInstanceStatus m_status; bool m_statusHasBeenSet = false; StackInstanceComprehensiveStatus m_stackInstanceStatus; bool m_stackInstanceStatusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; Aws::String m_organizationalUnitId; bool m_organizationalUnitIdHasBeenSet = false; StackDriftStatus m_driftStatus; bool m_driftStatusHasBeenSet = false; Aws::Utils::DateTime m_lastDriftCheckTimestamp; bool m_lastDriftCheckTimestampHasBeenSet = false; Aws::String m_lastOperationId; bool m_lastOperationIdHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws