/** * 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 namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { /** *

The StackEvent data type.

See Also:

AWS * API Reference

*/ class StackEvent { public: AWS_CLOUDFORMATION_API StackEvent(); AWS_CLOUDFORMATION_API StackEvent(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API StackEvent& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

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

The unique ID name of the instance of the stack.

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

The unique ID of this event.

*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *

The unique ID of this event.

*/ inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } /** *

The unique ID of this event.

*/ inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } /** *

The unique ID of this event.

*/ inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } /** *

The unique ID of this event.

*/ inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } /** *

The unique ID of this event.

*/ inline StackEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *

The unique ID of this event.

*/ inline StackEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *

The unique ID of this event.

*/ inline StackEvent& WithEventId(const char* value) { SetEventId(value); return *this;} /** *

The name associated with a stack.

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

The name associated with a stack.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The name associated with a stack.

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

The name associated with a stack.

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

The name associated with a stack.

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

The name associated with a stack.

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

The name associated with a stack.

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

The name associated with a stack.

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

The logical name of the resource specified in the template.

*/ inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; } /** *

The logical name of the resource specified in the template.

*/ inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; } /** *

The logical name of the resource specified in the template.

*/ inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; } /** *

The logical name of the resource specified in the template.

*/ inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); } /** *

The logical name of the resource specified in the template.

*/ inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); } /** *

The logical name of the resource specified in the template.

*/ inline StackEvent& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;} /** *

The logical name of the resource specified in the template.

*/ inline StackEvent& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;} /** *

The logical name of the resource specified in the template.

*/ inline StackEvent& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;} /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; } /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; } /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; } /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); } /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); } /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline StackEvent& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;} /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline StackEvent& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;} /** *

The name or unique identifier associated with the physical instance of the * resource.

*/ inline StackEvent& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;} /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline StackEvent& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline StackEvent& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *

Type of resource. (For more information, go to Amazon * Web Services Resource Types Reference in the CloudFormation User Guide.)

*/ inline StackEvent& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *

Time the status was updated.

*/ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } /** *

Time the status was updated.

*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *

Time the status was updated.

*/ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *

Time the status was updated.

*/ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *

Time the status was updated.

*/ inline StackEvent& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} /** *

Time the status was updated.

*/ inline StackEvent& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} /** *

Current status of the resource.

*/ inline const ResourceStatus& GetResourceStatus() const{ return m_resourceStatus; } /** *

Current status of the resource.

*/ inline bool ResourceStatusHasBeenSet() const { return m_resourceStatusHasBeenSet; } /** *

Current status of the resource.

*/ inline void SetResourceStatus(const ResourceStatus& value) { m_resourceStatusHasBeenSet = true; m_resourceStatus = value; } /** *

Current status of the resource.

*/ inline void SetResourceStatus(ResourceStatus&& value) { m_resourceStatusHasBeenSet = true; m_resourceStatus = std::move(value); } /** *

Current status of the resource.

*/ inline StackEvent& WithResourceStatus(const ResourceStatus& value) { SetResourceStatus(value); return *this;} /** *

Current status of the resource.

*/ inline StackEvent& WithResourceStatus(ResourceStatus&& value) { SetResourceStatus(std::move(value)); return *this;} /** *

Success/failure message associated with the resource.

*/ inline const Aws::String& GetResourceStatusReason() const{ return m_resourceStatusReason; } /** *

Success/failure message associated with the resource.

*/ inline bool ResourceStatusReasonHasBeenSet() const { return m_resourceStatusReasonHasBeenSet; } /** *

Success/failure message associated with the resource.

*/ inline void SetResourceStatusReason(const Aws::String& value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason = value; } /** *

Success/failure message associated with the resource.

*/ inline void SetResourceStatusReason(Aws::String&& value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason = std::move(value); } /** *

Success/failure message associated with the resource.

*/ inline void SetResourceStatusReason(const char* value) { m_resourceStatusReasonHasBeenSet = true; m_resourceStatusReason.assign(value); } /** *

Success/failure message associated with the resource.

*/ inline StackEvent& WithResourceStatusReason(const Aws::String& value) { SetResourceStatusReason(value); return *this;} /** *

Success/failure message associated with the resource.

*/ inline StackEvent& WithResourceStatusReason(Aws::String&& value) { SetResourceStatusReason(std::move(value)); return *this;} /** *

Success/failure message associated with the resource.

*/ inline StackEvent& WithResourceStatusReason(const char* value) { SetResourceStatusReason(value); return *this;} /** *

BLOB of the properties used to create the resource.

*/ inline const Aws::String& GetResourceProperties() const{ return m_resourceProperties; } /** *

BLOB of the properties used to create the resource.

*/ inline bool ResourcePropertiesHasBeenSet() const { return m_resourcePropertiesHasBeenSet; } /** *

BLOB of the properties used to create the resource.

*/ inline void SetResourceProperties(const Aws::String& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = value; } /** *

BLOB of the properties used to create the resource.

*/ inline void SetResourceProperties(Aws::String&& value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties = std::move(value); } /** *

BLOB of the properties used to create the resource.

*/ inline void SetResourceProperties(const char* value) { m_resourcePropertiesHasBeenSet = true; m_resourceProperties.assign(value); } /** *

BLOB of the properties used to create the resource.

*/ inline StackEvent& WithResourceProperties(const Aws::String& value) { SetResourceProperties(value); return *this;} /** *

BLOB of the properties used to create the resource.

*/ inline StackEvent& WithResourceProperties(Aws::String&& value) { SetResourceProperties(std::move(value)); return *this;} /** *

BLOB of the properties used to create the resource.

*/ inline StackEvent& WithResourceProperties(const char* value) { SetResourceProperties(value); return *this;} /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline StackEvent& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline StackEvent& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

The token passed to the operation that generated this event.

All * events triggered by a given stack operation are assigned the same client request * token, which you can use to track operations. For example, if you execute a * CreateStack operation with the token token1, then all * the StackEvents generated by that operation will have * ClientRequestToken set as token1.

In the * console, stack operations display the client request token on the Events tab. * Stack operations that are initiated from the console use the token format * Console-StackOperation-ID, which helps you easily identify the stack * operation . For example, if you create a stack using the console, each stack * event would be assigned the same token in the following format: * Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

*/ inline StackEvent& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The name of the hook.

*/ inline const Aws::String& GetHookType() const{ return m_hookType; } /** *

The name of the hook.

*/ inline bool HookTypeHasBeenSet() const { return m_hookTypeHasBeenSet; } /** *

The name of the hook.

*/ inline void SetHookType(const Aws::String& value) { m_hookTypeHasBeenSet = true; m_hookType = value; } /** *

The name of the hook.

*/ inline void SetHookType(Aws::String&& value) { m_hookTypeHasBeenSet = true; m_hookType = std::move(value); } /** *

The name of the hook.

*/ inline void SetHookType(const char* value) { m_hookTypeHasBeenSet = true; m_hookType.assign(value); } /** *

The name of the hook.

*/ inline StackEvent& WithHookType(const Aws::String& value) { SetHookType(value); return *this;} /** *

The name of the hook.

*/ inline StackEvent& WithHookType(Aws::String&& value) { SetHookType(std::move(value)); return *this;} /** *

The name of the hook.

*/ inline StackEvent& WithHookType(const char* value) { SetHookType(value); return *this;} /** *

Provides the status of the change set hook.

*/ inline const HookStatus& GetHookStatus() const{ return m_hookStatus; } /** *

Provides the status of the change set hook.

*/ inline bool HookStatusHasBeenSet() const { return m_hookStatusHasBeenSet; } /** *

Provides the status of the change set hook.

*/ inline void SetHookStatus(const HookStatus& value) { m_hookStatusHasBeenSet = true; m_hookStatus = value; } /** *

Provides the status of the change set hook.

*/ inline void SetHookStatus(HookStatus&& value) { m_hookStatusHasBeenSet = true; m_hookStatus = std::move(value); } /** *

Provides the status of the change set hook.

*/ inline StackEvent& WithHookStatus(const HookStatus& value) { SetHookStatus(value); return *this;} /** *

Provides the status of the change set hook.

*/ inline StackEvent& WithHookStatus(HookStatus&& value) { SetHookStatus(std::move(value)); return *this;} /** *

Provides the reason for the hook status.

*/ inline const Aws::String& GetHookStatusReason() const{ return m_hookStatusReason; } /** *

Provides the reason for the hook status.

*/ inline bool HookStatusReasonHasBeenSet() const { return m_hookStatusReasonHasBeenSet; } /** *

Provides the reason for the hook status.

*/ inline void SetHookStatusReason(const Aws::String& value) { m_hookStatusReasonHasBeenSet = true; m_hookStatusReason = value; } /** *

Provides the reason for the hook status.

*/ inline void SetHookStatusReason(Aws::String&& value) { m_hookStatusReasonHasBeenSet = true; m_hookStatusReason = std::move(value); } /** *

Provides the reason for the hook status.

*/ inline void SetHookStatusReason(const char* value) { m_hookStatusReasonHasBeenSet = true; m_hookStatusReason.assign(value); } /** *

Provides the reason for the hook status.

*/ inline StackEvent& WithHookStatusReason(const Aws::String& value) { SetHookStatusReason(value); return *this;} /** *

Provides the reason for the hook status.

*/ inline StackEvent& WithHookStatusReason(Aws::String&& value) { SetHookStatusReason(std::move(value)); return *this;} /** *

Provides the reason for the hook status.

*/ inline StackEvent& WithHookStatusReason(const char* value) { SetHookStatusReason(value); return *this;} /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline const HookInvocationPoint& GetHookInvocationPoint() const{ return m_hookInvocationPoint; } /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline bool HookInvocationPointHasBeenSet() const { return m_hookInvocationPointHasBeenSet; } /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline void SetHookInvocationPoint(const HookInvocationPoint& value) { m_hookInvocationPointHasBeenSet = true; m_hookInvocationPoint = value; } /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline void SetHookInvocationPoint(HookInvocationPoint&& value) { m_hookInvocationPointHasBeenSet = true; m_hookInvocationPoint = std::move(value); } /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline StackEvent& WithHookInvocationPoint(const HookInvocationPoint& value) { SetHookInvocationPoint(value); return *this;} /** *

Invocation points are points in provisioning logic where hooks are * initiated.

*/ inline StackEvent& WithHookInvocationPoint(HookInvocationPoint&& value) { SetHookInvocationPoint(std::move(value)); return *this;} /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline const HookFailureMode& GetHookFailureMode() const{ return m_hookFailureMode; } /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline bool HookFailureModeHasBeenSet() const { return m_hookFailureModeHasBeenSet; } /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline void SetHookFailureMode(const HookFailureMode& value) { m_hookFailureModeHasBeenSet = true; m_hookFailureMode = value; } /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline void SetHookFailureMode(HookFailureMode&& value) { m_hookFailureModeHasBeenSet = true; m_hookFailureMode = std::move(value); } /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline StackEvent& WithHookFailureMode(const HookFailureMode& value) { SetHookFailureMode(value); return *this;} /** *

Specify the hook failure mode for non-compliant resources in the followings * ways.

  • FAIL Stops provisioning resources.

    *
  • WARN Allows provisioning to continue with a warning * message.

*/ inline StackEvent& WithHookFailureMode(HookFailureMode&& value) { SetHookFailureMode(std::move(value)); return *this;} private: Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::String m_eventId; bool m_eventIdHasBeenSet = false; Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::String m_logicalResourceId; bool m_logicalResourceIdHasBeenSet = false; Aws::String m_physicalResourceId; bool m_physicalResourceIdHasBeenSet = false; Aws::String m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Utils::DateTime m_timestamp; bool m_timestampHasBeenSet = false; ResourceStatus m_resourceStatus; bool m_resourceStatusHasBeenSet = false; Aws::String m_resourceStatusReason; bool m_resourceStatusReasonHasBeenSet = false; Aws::String m_resourceProperties; bool m_resourcePropertiesHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_hookType; bool m_hookTypeHasBeenSet = false; HookStatus m_hookStatus; bool m_hookStatusHasBeenSet = false; Aws::String m_hookStatusReason; bool m_hookStatusReasonHasBeenSet = false; HookInvocationPoint m_hookInvocationPoint; bool m_hookInvocationPointHasBeenSet = false; HookFailureMode m_hookFailureMode; bool m_hookFailureModeHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws