/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The StackSummary Data TypeSee Also:
AWS
* API Reference
Unique stack identifier.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *Unique stack identifier.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *Unique stack identifier.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *Unique stack identifier.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *Unique stack identifier.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *Unique stack identifier.
*/ inline StackSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *Unique stack identifier.
*/ inline StackSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *Unique stack identifier.
*/ inline StackSummary& WithStackId(const char* value) { SetStackId(value); return *this;} /** *The name associated with the stack.
*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *The name associated with the stack.
*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *The name associated with the stack.
*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *The name associated with the stack.
*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *The name associated with the stack.
*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *The name associated with the stack.
*/ inline StackSummary& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *The name associated with the stack.
*/ inline StackSummary& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *The name associated with the stack.
*/ inline StackSummary& WithStackName(const char* value) { SetStackName(value); return *this;} /** *The template description of the template used to create the stack.
*/ inline const Aws::String& GetTemplateDescription() const{ return m_templateDescription; } /** *The template description of the template used to create the stack.
*/ inline bool TemplateDescriptionHasBeenSet() const { return m_templateDescriptionHasBeenSet; } /** *The template description of the template used to create the stack.
*/ inline void SetTemplateDescription(const Aws::String& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = value; } /** *The template description of the template used to create the stack.
*/ inline void SetTemplateDescription(Aws::String&& value) { m_templateDescriptionHasBeenSet = true; m_templateDescription = std::move(value); } /** *The template description of the template used to create the stack.
*/ inline void SetTemplateDescription(const char* value) { m_templateDescriptionHasBeenSet = true; m_templateDescription.assign(value); } /** *The template description of the template used to create the stack.
*/ inline StackSummary& WithTemplateDescription(const Aws::String& value) { SetTemplateDescription(value); return *this;} /** *The template description of the template used to create the stack.
*/ inline StackSummary& WithTemplateDescription(Aws::String&& value) { SetTemplateDescription(std::move(value)); return *this;} /** *The template description of the template used to create the stack.
*/ inline StackSummary& WithTemplateDescription(const char* value) { SetTemplateDescription(value); return *this;} /** *The time the stack was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time the stack was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time the stack was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time the stack was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time the stack was created.
*/ inline StackSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time the stack was created.
*/ inline StackSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline StackSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time the stack was last updated. This field will only be returned if the * stack has been updated at least once.
*/ inline StackSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The time the stack was deleted.
*/ inline const Aws::Utils::DateTime& GetDeletionTime() const{ return m_deletionTime; } /** *The time the stack was deleted.
*/ inline bool DeletionTimeHasBeenSet() const { return m_deletionTimeHasBeenSet; } /** *The time the stack was deleted.
*/ inline void SetDeletionTime(const Aws::Utils::DateTime& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = value; } /** *The time the stack was deleted.
*/ inline void SetDeletionTime(Aws::Utils::DateTime&& value) { m_deletionTimeHasBeenSet = true; m_deletionTime = std::move(value); } /** *The time the stack was deleted.
*/ inline StackSummary& WithDeletionTime(const Aws::Utils::DateTime& value) { SetDeletionTime(value); return *this;} /** *The time the stack was deleted.
*/ inline StackSummary& WithDeletionTime(Aws::Utils::DateTime&& value) { SetDeletionTime(std::move(value)); return *this;} /** *The current status of the stack.
*/ inline const StackStatus& GetStackStatus() const{ return m_stackStatus; } /** *The current status of the stack.
*/ inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; } /** *The current status of the stack.
*/ inline void SetStackStatus(const StackStatus& value) { m_stackStatusHasBeenSet = true; m_stackStatus = value; } /** *The current status of the stack.
*/ inline void SetStackStatus(StackStatus&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::move(value); } /** *The current status of the stack.
*/ inline StackSummary& WithStackStatus(const StackStatus& value) { SetStackStatus(value); return *this;} /** *The current status of the stack.
*/ inline StackSummary& WithStackStatus(StackStatus&& value) { SetStackStatus(std::move(value)); return *this;} /** *Success/Failure message associated with the stack status.
*/ inline const Aws::String& GetStackStatusReason() const{ return m_stackStatusReason; } /** *Success/Failure message associated with the stack status.
*/ inline bool StackStatusReasonHasBeenSet() const { return m_stackStatusReasonHasBeenSet; } /** *Success/Failure message associated with the stack status.
*/ inline void SetStackStatusReason(const Aws::String& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = value; } /** *Success/Failure message associated with the stack status.
*/ inline void SetStackStatusReason(Aws::String&& value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason = std::move(value); } /** *Success/Failure message associated with the stack status.
*/ inline void SetStackStatusReason(const char* value) { m_stackStatusReasonHasBeenSet = true; m_stackStatusReason.assign(value); } /** *Success/Failure message associated with the stack status.
*/ inline StackSummary& WithStackStatusReason(const Aws::String& value) { SetStackStatusReason(value); return *this;} /** *Success/Failure message associated with the stack status.
*/ inline StackSummary& WithStackStatusReason(Aws::String&& value) { SetStackStatusReason(std::move(value)); return *this;} /** *Success/Failure message associated with the stack status.
*/ inline StackSummary& WithStackStatusReason(const char* value) { SetStackStatusReason(value); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline const Aws::String& GetParentId() const{ return m_parentId; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline bool ParentIdHasBeenSet() const { return m_parentIdHasBeenSet; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetParentId(const Aws::String& value) { m_parentIdHasBeenSet = true; m_parentId = value; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetParentId(Aws::String&& value) { m_parentIdHasBeenSet = true; m_parentId = std::move(value); } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetParentId(const char* value) { m_parentIdHasBeenSet = true; m_parentId.assign(value); } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithParentId(const Aws::String& value) { SetParentId(value); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the direct parent of this stack. For the first level of nested stacks, the * root stack is also the parent stack.
For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithParentId(const char* value) { SetParentId(value); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline const Aws::String& GetRootId() const{ return m_rootId; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline bool RootIdHasBeenSet() const { return m_rootIdHasBeenSet; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetRootId(const Aws::String& value) { m_rootIdHasBeenSet = true; m_rootId = value; } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetRootId(Aws::String&& value) { m_rootIdHasBeenSet = true; m_rootId = std::move(value); } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline void SetRootId(const char* value) { m_rootIdHasBeenSet = true; m_rootId.assign(value); } /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithRootId(const Aws::String& value) { SetRootId(value); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithRootId(Aws::String&& value) { SetRootId(std::move(value)); return *this;} /** *For nested stacks--stacks created as resources for another stack--the stack * ID of the top-level stack to which the nested stack ultimately belongs.
*For more information, see Working * with Nested Stacks in the CloudFormation User Guide.
*/ inline StackSummary& WithRootId(const char* value) { SetRootId(value); return *this;} /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline const StackDriftInformationSummary& GetDriftInformation() const{ return m_driftInformation; } /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline bool DriftInformationHasBeenSet() const { return m_driftInformationHasBeenSet; } /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline void SetDriftInformation(const StackDriftInformationSummary& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; } /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline void SetDriftInformation(StackDriftInformationSummary&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); } /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline StackSummary& WithDriftInformation(const StackDriftInformationSummary& value) { SetDriftInformation(value); return *this;} /** *Summarizes information about whether a 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. For more information, * see Detecting * Unregulated Configuration Changes to Stacks and Resources.
*/ inline StackSummary& WithDriftInformation(StackDriftInformationSummary&& value) { SetDriftInformation(std::move(value)); return *this;} private: Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_templateDescription; bool m_templateDescriptionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::Utils::DateTime m_deletionTime; bool m_deletionTimeHasBeenSet = false; StackStatus m_stackStatus; bool m_stackStatusHasBeenSet = false; Aws::String m_stackStatusReason; bool m_stackStatusReasonHasBeenSet = false; Aws::String m_parentId; bool m_parentIdHasBeenSet = false; Aws::String m_rootId; bool m_rootIdHasBeenSet = false; StackDriftInformationSummary m_driftInformation; bool m_driftInformationHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws