/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about whether the stack's actual configuration differs,
* or has drifted, from its expected configuration, as defined in the stack
* template and any values specified as template parameters. A stack is considered
* to have drifted if one or more of its resources have drifted.See
* Also:
AWS
* API Reference
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Status of the stack's actual configuration compared to its expected template * configuration.
DRIFTED
: The stack differs from
* its expected template configuration. A stack is considered to have drifted if
* one or more of its resources have drifted.
* NOT_CHECKED
: CloudFormation hasn't checked if the stack differs
* from its expected template configuration.
* IN_SYNC
: The stack's actual configuration matches its expected
* template configuration.
UNKNOWN
: This value is
* reserved for future use.
Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline const Aws::Utils::DateTime& GetLastCheckTimestamp() const{ return m_lastCheckTimestamp; } /** *Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline bool LastCheckTimestampHasBeenSet() const { return m_lastCheckTimestampHasBeenSet; } /** *Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline void SetLastCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = value; } /** *Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline void SetLastCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastCheckTimestampHasBeenSet = true; m_lastCheckTimestamp = std::move(value); } /** *Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline StackDriftInformationSummary& WithLastCheckTimestamp(const Aws::Utils::DateTime& value) { SetLastCheckTimestamp(value); return *this;} /** *Most recent time when a drift detection operation was initiated on the stack, * or any of its individual resources that support drift detection.
*/ inline StackDriftInformationSummary& WithLastCheckTimestamp(Aws::Utils::DateTime&& value) { SetLastCheckTimestamp(std::move(value)); return *this;} private: StackDriftStatus m_stackDriftStatus; bool m_stackDriftStatusHasBeenSet = false; Aws::Utils::DateTime m_lastCheckTimestamp; bool m_lastCheckTimestampHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws