/** * 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 #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

The output for the DescribeChangeSet action.

See Also:

* AWS * API Reference

*/ class DescribeChangeSetResult { public: AWS_CLOUDFORMATION_API DescribeChangeSetResult(); AWS_CLOUDFORMATION_API DescribeChangeSetResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API DescribeChangeSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the change set.

*/ inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; } /** *

The name of the change set.

*/ inline void SetChangeSetName(const Aws::String& value) { m_changeSetName = value; } /** *

The name of the change set.

*/ inline void SetChangeSetName(Aws::String&& value) { m_changeSetName = std::move(value); } /** *

The name of the change set.

*/ inline void SetChangeSetName(const char* value) { m_changeSetName.assign(value); } /** *

The name of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;} /** *

The name of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;} /** *

The name of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetChangeSetId(const Aws::String& value) { m_changeSetId = value; } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetChangeSetId(Aws::String&& value) { m_changeSetId = std::move(value); } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline void SetChangeSetId(const char* value) { m_changeSetId.assign(value); } /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the change set.

*/ inline DescribeChangeSetResult& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The Amazon Resource Name (ARN) of the stack that's associated with the change * set.

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

The name of the stack that's associated with the change set.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The name of the stack that's associated with the change set.

*/ inline void SetStackName(const Aws::String& value) { m_stackName = value; } /** *

The name of the stack that's associated with the change set.

*/ inline void SetStackName(Aws::String&& value) { m_stackName = std::move(value); } /** *

The name of the stack that's associated with the change set.

*/ inline void SetStackName(const char* value) { m_stackName.assign(value); } /** *

The name of the stack that's associated with the change set.

*/ inline DescribeChangeSetResult& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The name of the stack that's associated with the change set.

*/ inline DescribeChangeSetResult& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The name of the stack that's associated with the change set.

*/ inline DescribeChangeSetResult& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

Information about the change set.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Information about the change set.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

Information about the change set.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

Information about the change set.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

Information about the change set.

*/ inline DescribeChangeSetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Information about the change set.

*/ inline DescribeChangeSetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Information about the change set.

*/ inline DescribeChangeSetResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline const Aws::Vector& GetParameters() const{ return m_parameters; } /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline void SetParameters(const Aws::Vector& value) { m_parameters = value; } /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline void SetParameters(Aws::Vector&& value) { m_parameters = std::move(value); } /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline DescribeChangeSetResult& WithParameters(const Aws::Vector& value) { SetParameters(value); return *this;} /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline DescribeChangeSetResult& WithParameters(Aws::Vector&& value) { SetParameters(std::move(value)); return *this;} /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline DescribeChangeSetResult& AddParameters(const Parameter& value) { m_parameters.push_back(value); return *this; } /** *

A list of Parameter structures that describes the input * parameters and their values used to create the change set. For more information, * see the Parameter * data type.

*/ inline DescribeChangeSetResult& AddParameters(Parameter&& value) { m_parameters.push_back(std::move(value)); return *this; } /** *

The start time when the change set was created, in UTC.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The start time when the change set was created, in UTC.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The start time when the change set was created, in UTC.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } /** *

The start time when the change set was created, in UTC.

*/ inline DescribeChangeSetResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The start time when the change set was created, in UTC.

*/ inline DescribeChangeSetResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

If the change set execution status is AVAILABLE, you can execute * the change set. If you can't execute the change set, the status indicates why. * For example, a change set might be in an UNAVAILABLE state because * CloudFormation is still creating it or in an OBSOLETE state because * the stack was already updated.

*/ inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; } /** *

If the change set execution status is AVAILABLE, you can execute * the change set. If you can't execute the change set, the status indicates why. * For example, a change set might be in an UNAVAILABLE state because * CloudFormation is still creating it or in an OBSOLETE state because * the stack was already updated.

*/ inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatus = value; } /** *

If the change set execution status is AVAILABLE, you can execute * the change set. If you can't execute the change set, the status indicates why. * For example, a change set might be in an UNAVAILABLE state because * CloudFormation is still creating it or in an OBSOLETE state because * the stack was already updated.

*/ inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatus = std::move(value); } /** *

If the change set execution status is AVAILABLE, you can execute * the change set. If you can't execute the change set, the status indicates why. * For example, a change set might be in an UNAVAILABLE state because * CloudFormation is still creating it or in an OBSOLETE state because * the stack was already updated.

*/ inline DescribeChangeSetResult& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;} /** *

If the change set execution status is AVAILABLE, you can execute * the change set. If you can't execute the change set, the status indicates why. * For example, a change set might be in an UNAVAILABLE state because * CloudFormation is still creating it or in an OBSOLETE state because * the stack was already updated.

*/ inline DescribeChangeSetResult& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;} /** *

The current status of the change set, such as * CREATE_IN_PROGRESS, CREATE_COMPLETE, or * FAILED.

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

The current status of the change set, such as * CREATE_IN_PROGRESS, CREATE_COMPLETE, or * FAILED.

*/ inline void SetStatus(const ChangeSetStatus& value) { m_status = value; } /** *

The current status of the change set, such as * CREATE_IN_PROGRESS, CREATE_COMPLETE, or * FAILED.

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

The current status of the change set, such as * CREATE_IN_PROGRESS, CREATE_COMPLETE, or * FAILED.

*/ inline DescribeChangeSetResult& WithStatus(const ChangeSetStatus& value) { SetStatus(value); return *this;} /** *

The current status of the change set, such as * CREATE_IN_PROGRESS, CREATE_COMPLETE, or * FAILED.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

A description of the change set's status. For example, if your attempt to * create a change set failed, CloudFormation shows the error message.

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

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline const Aws::Vector& GetNotificationARNs() const{ return m_notificationARNs; } /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline void SetNotificationARNs(const Aws::Vector& value) { m_notificationARNs = value; } /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline void SetNotificationARNs(Aws::Vector&& value) { m_notificationARNs = std::move(value); } /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline DescribeChangeSetResult& WithNotificationARNs(const Aws::Vector& value) { SetNotificationARNs(value); return *this;} /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline DescribeChangeSetResult& WithNotificationARNs(Aws::Vector&& value) { SetNotificationARNs(std::move(value)); return *this;} /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline DescribeChangeSetResult& AddNotificationARNs(const Aws::String& value) { m_notificationARNs.push_back(value); return *this; } /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline DescribeChangeSetResult& AddNotificationARNs(Aws::String&& value) { m_notificationARNs.push_back(std::move(value)); return *this; } /** *

The ARNs of the Amazon Simple Notification Service (Amazon SNS) topics that * will be associated with the stack if you execute the change set.

*/ inline DescribeChangeSetResult& AddNotificationARNs(const char* value) { m_notificationARNs.push_back(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 void SetRollbackConfiguration(const RollbackConfiguration& value) { 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_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 DescribeChangeSetResult& 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 DescribeChangeSetResult& WithRollbackConfiguration(RollbackConfiguration&& value) { SetRollbackConfiguration(std::move(value)); return *this;} /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline const Aws::Vector& GetCapabilities() const{ return m_capabilities; } /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline void SetCapabilities(const Aws::Vector& value) { m_capabilities = value; } /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline void SetCapabilities(Aws::Vector&& value) { m_capabilities = std::move(value); } /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline DescribeChangeSetResult& WithCapabilities(const Aws::Vector& value) { SetCapabilities(value); return *this;} /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline DescribeChangeSetResult& WithCapabilities(Aws::Vector&& value) { SetCapabilities(std::move(value)); return *this;} /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline DescribeChangeSetResult& AddCapabilities(const Capability& value) { m_capabilities.push_back(value); return *this; } /** *

If you execute the change set, the list of capabilities that were explicitly * acknowledged when the change set was created.

*/ inline DescribeChangeSetResult& AddCapabilities(Capability&& value) { m_capabilities.push_back(std::move(value)); return *this; } /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline void SetTags(const Aws::Vector& value) { m_tags = value; } /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline void SetTags(Aws::Vector&& value) { m_tags = std::move(value); } /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline DescribeChangeSetResult& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline DescribeChangeSetResult& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline DescribeChangeSetResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

If you execute the change set, the tags that will be associated with the * stack.

*/ inline DescribeChangeSetResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline const Aws::Vector& GetChanges() const{ return m_changes; } /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline void SetChanges(const Aws::Vector& value) { m_changes = value; } /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline void SetChanges(Aws::Vector&& value) { m_changes = std::move(value); } /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline DescribeChangeSetResult& WithChanges(const Aws::Vector& value) { SetChanges(value); return *this;} /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline DescribeChangeSetResult& WithChanges(Aws::Vector&& value) { SetChanges(std::move(value)); return *this;} /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline DescribeChangeSetResult& AddChanges(const Change& value) { m_changes.push_back(value); return *this; } /** *

A list of Change structures that describes the resources * CloudFormation changes if you execute the change set.

*/ inline DescribeChangeSetResult& AddChanges(Change&& value) { m_changes.push_back(std::move(value)); return *this; } /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline DescribeChangeSetResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline DescribeChangeSetResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If the output exceeds 1 MB, a string that identifies the next page of * changes. If there is no additional page, this value is null.

*/ inline DescribeChangeSetResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Verifies if IncludeNestedStacks is set to True.

*/ inline bool GetIncludeNestedStacks() const{ return m_includeNestedStacks; } /** *

Verifies if IncludeNestedStacks is set to True.

*/ inline void SetIncludeNestedStacks(bool value) { m_includeNestedStacks = value; } /** *

Verifies if IncludeNestedStacks is set to True.

*/ inline DescribeChangeSetResult& WithIncludeNestedStacks(bool value) { SetIncludeNestedStacks(value); return *this;} /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline const Aws::String& GetParentChangeSetId() const{ return m_parentChangeSetId; } /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline void SetParentChangeSetId(const Aws::String& value) { m_parentChangeSetId = value; } /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline void SetParentChangeSetId(Aws::String&& value) { m_parentChangeSetId = std::move(value); } /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline void SetParentChangeSetId(const char* value) { m_parentChangeSetId.assign(value); } /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithParentChangeSetId(const Aws::String& value) { SetParentChangeSetId(value); return *this;} /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithParentChangeSetId(Aws::String&& value) { SetParentChangeSetId(std::move(value)); return *this;} /** *

Specifies the change set ID of the parent change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithParentChangeSetId(const char* value) { SetParentChangeSetId(value); return *this;} /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline const Aws::String& GetRootChangeSetId() const{ return m_rootChangeSetId; } /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline void SetRootChangeSetId(const Aws::String& value) { m_rootChangeSetId = value; } /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline void SetRootChangeSetId(Aws::String&& value) { m_rootChangeSetId = std::move(value); } /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline void SetRootChangeSetId(const char* value) { m_rootChangeSetId.assign(value); } /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithRootChangeSetId(const Aws::String& value) { SetRootChangeSetId(value); return *this;} /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithRootChangeSetId(Aws::String&& value) { SetRootChangeSetId(std::move(value)); return *this;} /** *

Specifies the change set ID of the root change set in the current nested * change set hierarchy.

*/ inline DescribeChangeSetResult& WithRootChangeSetId(const char* value) { SetRootChangeSetId(value); return *this;} /** *

Determines what action will be taken if stack creation fails. When this * parameter is specified, the DisableRollback parameter to the ExecuteChangeSet * API operation must not be specified. This must be one of these values:

    *
  • DELETE - Deletes the change set if the stack creation * fails. This is only valid when the ChangeSetType parameter is set * to CREATE. If the deletion of the stack fails, the status of the * stack is DELETE_FAILED.

  • DO_NOTHING * - if the stack creation fails, do nothing. This is equivalent to specifying * true for the DisableRollback parameter to the ExecuteChangeSet * API operation.

  • ROLLBACK - if the stack creation * fails, roll back the stack. This is equivalent to specifying false * for the DisableRollback parameter to the ExecuteChangeSet * API operation.

*/ inline const OnStackFailure& GetOnStackFailure() const{ return m_onStackFailure; } /** *

Determines what action will be taken if stack creation fails. When this * parameter is specified, the DisableRollback parameter to the ExecuteChangeSet * API operation must not be specified. This must be one of these values:

    *
  • DELETE - Deletes the change set if the stack creation * fails. This is only valid when the ChangeSetType parameter is set * to CREATE. If the deletion of the stack fails, the status of the * stack is DELETE_FAILED.

  • DO_NOTHING * - if the stack creation fails, do nothing. This is equivalent to specifying * true for the DisableRollback parameter to the ExecuteChangeSet * API operation.

  • ROLLBACK - if the stack creation * fails, roll back the stack. This is equivalent to specifying false * for the DisableRollback parameter to the ExecuteChangeSet * API operation.

*/ inline void SetOnStackFailure(const OnStackFailure& value) { m_onStackFailure = value; } /** *

Determines what action will be taken if stack creation fails. When this * parameter is specified, the DisableRollback parameter to the ExecuteChangeSet * API operation must not be specified. This must be one of these values:

    *
  • DELETE - Deletes the change set if the stack creation * fails. This is only valid when the ChangeSetType parameter is set * to CREATE. If the deletion of the stack fails, the status of the * stack is DELETE_FAILED.

  • DO_NOTHING * - if the stack creation fails, do nothing. This is equivalent to specifying * true for the DisableRollback parameter to the ExecuteChangeSet * API operation.

  • ROLLBACK - if the stack creation * fails, roll back the stack. This is equivalent to specifying false * for the DisableRollback parameter to the ExecuteChangeSet * API operation.

*/ inline void SetOnStackFailure(OnStackFailure&& value) { m_onStackFailure = std::move(value); } /** *

Determines what action will be taken if stack creation fails. When this * parameter is specified, the DisableRollback parameter to the ExecuteChangeSet * API operation must not be specified. This must be one of these values:

    *
  • DELETE - Deletes the change set if the stack creation * fails. This is only valid when the ChangeSetType parameter is set * to CREATE. If the deletion of the stack fails, the status of the * stack is DELETE_FAILED.

  • DO_NOTHING * - if the stack creation fails, do nothing. This is equivalent to specifying * true for the DisableRollback parameter to the ExecuteChangeSet * API operation.

  • ROLLBACK - if the stack creation * fails, roll back the stack. This is equivalent to specifying false * for the DisableRollback parameter to the ExecuteChangeSet * API operation.

*/ inline DescribeChangeSetResult& WithOnStackFailure(const OnStackFailure& value) { SetOnStackFailure(value); return *this;} /** *

Determines what action will be taken if stack creation fails. When this * parameter is specified, the DisableRollback parameter to the ExecuteChangeSet * API operation must not be specified. This must be one of these values:

    *
  • DELETE - Deletes the change set if the stack creation * fails. This is only valid when the ChangeSetType parameter is set * to CREATE. If the deletion of the stack fails, the status of the * stack is DELETE_FAILED.

  • DO_NOTHING * - if the stack creation fails, do nothing. This is equivalent to specifying * true for the DisableRollback parameter to the ExecuteChangeSet * API operation.

  • ROLLBACK - if the stack creation * fails, roll back the stack. This is equivalent to specifying false * for the DisableRollback parameter to the ExecuteChangeSet * API operation.

*/ inline DescribeChangeSetResult& WithOnStackFailure(OnStackFailure&& value) { SetOnStackFailure(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeChangeSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeChangeSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_changeSetName; Aws::String m_changeSetId; Aws::String m_stackId; Aws::String m_stackName; Aws::String m_description; Aws::Vector m_parameters; Aws::Utils::DateTime m_creationTime; ExecutionStatus m_executionStatus; ChangeSetStatus m_status; Aws::String m_statusReason; Aws::Vector m_notificationARNs; RollbackConfiguration m_rollbackConfiguration; Aws::Vector m_capabilities; Aws::Vector m_tags; Aws::Vector m_changes; Aws::String m_nextToken; bool m_includeNestedStacks; Aws::String m_parentChangeSetId; Aws::String m_rootChangeSetId; OnStackFailure m_onStackFailure; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws