/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Stack data type.See Also:
AWS
* API Reference
Unique identifier of the stack.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *Unique identifier of the stack.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *Unique identifier of the stack.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *Unique identifier of the stack.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *Unique identifier of the stack.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *Unique identifier of the stack.
*/ inline Stack& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *Unique identifier of the stack.
*/ inline Stack& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *Unique identifier of the stack.
*/ inline Stack& 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 Stack& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *The name associated with the stack.
*/ inline Stack& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *The name associated with the stack.
*/ inline Stack& WithStackName(const char* value) { SetStackName(value); return *this;} /** *The unique ID of the change set.
*/ inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; } /** *The unique ID of the change set.
*/ inline bool ChangeSetIdHasBeenSet() const { return m_changeSetIdHasBeenSet; } /** *The unique ID of the change set.
*/ inline void SetChangeSetId(const Aws::String& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = value; } /** *The unique ID of the change set.
*/ inline void SetChangeSetId(Aws::String&& value) { m_changeSetIdHasBeenSet = true; m_changeSetId = std::move(value); } /** *The unique ID of the change set.
*/ inline void SetChangeSetId(const char* value) { m_changeSetIdHasBeenSet = true; m_changeSetId.assign(value); } /** *The unique ID of the change set.
*/ inline Stack& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;} /** *The unique ID of the change set.
*/ inline Stack& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;} /** *The unique ID of the change set.
*/ inline Stack& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;} /** *A user-defined description associated with the stack.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A user-defined description associated with the stack.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A user-defined description associated with the stack.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A user-defined description associated with the stack.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A user-defined description associated with the stack.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A user-defined description associated with the stack.
*/ inline Stack& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A user-defined description associated with the stack.
*/ inline Stack& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A user-defined description associated with the stack.
*/ inline Stack& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
A list of Parameter
structures.
The time at which the stack was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time at which the stack was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time at which the stack was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time at which the stack was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time at which the stack was created.
*/ inline Stack& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time at which the stack was created.
*/ inline Stack& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 Stack& WithDeletionTime(const Aws::Utils::DateTime& value) { SetDeletionTime(value); return *this;} /** *The time the stack was deleted.
*/ inline Stack& WithDeletionTime(Aws::Utils::DateTime&& value) { SetDeletionTime(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 Stack& 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 Stack& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline const RollbackConfiguration& GetRollbackConfiguration() const{ return m_rollbackConfiguration; } /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline bool RollbackConfigurationHasBeenSet() const { return m_rollbackConfigurationHasBeenSet; } /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline void SetRollbackConfiguration(const RollbackConfiguration& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = value; } /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline void SetRollbackConfiguration(RollbackConfiguration&& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = std::move(value); } /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline Stack& WithRollbackConfiguration(const RollbackConfiguration& value) { SetRollbackConfiguration(value); return *this;} /** *The rollback triggers for CloudFormation to monitor during stack creation and * updating operations, and for the specified monitoring period afterwards.
*/ inline Stack& WithRollbackConfiguration(RollbackConfiguration&& value) { SetRollbackConfiguration(std::move(value)); return *this;} /** *Current status of the stack.
*/ inline const StackStatus& GetStackStatus() const{ return m_stackStatus; } /** *Current status of the stack.
*/ inline bool StackStatusHasBeenSet() const { return m_stackStatusHasBeenSet; } /** *Current status of the stack.
*/ inline void SetStackStatus(const StackStatus& value) { m_stackStatusHasBeenSet = true; m_stackStatus = value; } /** *Current status of the stack.
*/ inline void SetStackStatus(StackStatus&& value) { m_stackStatusHasBeenSet = true; m_stackStatus = std::move(value); } /** *Current status of the stack.
*/ inline Stack& WithStackStatus(const StackStatus& value) { SetStackStatus(value); return *this;} /** *Current status of the stack.
*/ inline Stack& 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 Stack& WithStackStatusReason(const Aws::String& value) { SetStackStatusReason(value); return *this;} /** *Success/failure message associated with the stack status.
*/ inline Stack& WithStackStatusReason(Aws::String&& value) { SetStackStatusReason(std::move(value)); return *this;} /** *Success/failure message associated with the stack status.
*/ inline Stack& WithStackStatusReason(const char* value) { SetStackStatusReason(value); return *this;} /** *Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.
* false
: enable rollback.
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.
* false
: enable rollback.
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.
* false
: enable rollback.
Boolean to enable or disable rollback on stack creation failures:
true
: disable rollback.
* false
: enable rollback.
Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline const Aws::VectorAmazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline bool NotificationARNsHasBeenSet() const { return m_notificationARNsHasBeenSet; } /** *Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline void SetNotificationARNs(const Aws::VectorAmazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline void SetNotificationARNs(Aws::VectorAmazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline Stack& WithNotificationARNs(const Aws::VectorAmazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline Stack& WithNotificationARNs(Aws::VectorAmazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline Stack& AddNotificationARNs(const Aws::String& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(value); return *this; } /** *Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline Stack& AddNotificationARNs(Aws::String&& value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(std::move(value)); return *this; } /** *Amazon SNS topic Amazon Resource Names (ARNs) to which stack related events * are published.
*/ inline Stack& AddNotificationARNs(const char* value) { m_notificationARNsHasBeenSet = true; m_notificationARNs.push_back(value); return *this; } /** *The amount of time within which stack creation should complete.
*/ inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; } /** *The amount of time within which stack creation should complete.
*/ inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; } /** *The amount of time within which stack creation should complete.
*/ inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; } /** *The amount of time within which stack creation should complete.
*/ inline Stack& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;} /** *The capabilities allowed in the stack.
*/ inline const Aws::VectorThe capabilities allowed in the stack.
*/ inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; } /** *The capabilities allowed in the stack.
*/ inline void SetCapabilities(const Aws::VectorThe capabilities allowed in the stack.
*/ inline void SetCapabilities(Aws::VectorThe capabilities allowed in the stack.
*/ inline Stack& WithCapabilities(const Aws::VectorThe capabilities allowed in the stack.
*/ inline Stack& WithCapabilities(Aws::VectorThe capabilities allowed in the stack.
*/ inline Stack& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; } /** *The capabilities allowed in the stack.
*/ inline Stack& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; } /** *A list of output structures.
*/ inline const Aws::Vector