/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure that contains summary information about a stack
* instance.See Also:
AWS
* API Reference
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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *The ID of the stack instance.
*/ inline StackInstanceSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *The ID of the stack instance.
*/ inline StackInstanceSummary& WithStackId(const char* value) { SetStackId(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.
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.
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.
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.
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.
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.
The explanation for the specific status code assigned to this stack * instance.
*/ inline const Aws::String& GetStatusReason() const{ return m_statusReason; } /** *The explanation for the specific status code assigned to this stack * instance.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The explanation for the specific status code 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 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 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 assigned to this stack * instance.
*/ inline StackInstanceSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;} /** *The explanation for the specific status code assigned to this stack * instance.
*/ inline StackInstanceSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;} /** *The explanation for the specific status code assigned to this stack * instance.
*/ inline StackInstanceSummary& WithStatusReason(const char* value) { SetStatusReason(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 StackInstanceSummary& WithStackInstanceStatus(const StackInstanceComprehensiveStatus& value) { SetStackInstanceStatus(value); return *this;} /** *The detailed status of the stack instance.
*/ inline StackInstanceSummary& WithStackInstanceStatus(StackInstanceComprehensiveStatus&& value) { SetStackInstanceStatus(std::move(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 StackInstanceSummary& 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 StackInstanceSummary& 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 StackInstanceSummary& 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 StackInstanceSummary& WithLastOperationId(const Aws::String& value) { SetLastOperationId(value); return *this;} /** *The last unique ID of a StackSet operation performed on a stack instance.
*/ inline StackInstanceSummary& WithLastOperationId(Aws::String&& value) { SetLastOperationId(std::move(value)); return *this;} /** *The last unique ID of a StackSet operation performed on a stack instance.
*/ inline StackInstanceSummary& 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; StackInstanceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusReason; bool m_statusReasonHasBeenSet = false; StackInstanceComprehensiveStatus m_stackInstanceStatus; bool m_stackInstanceStatusHasBeenSet = 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