/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains high-level information about the specified stack
* resource.See Also:
AWS
* API Reference
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 StackResourceSummary& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;} /** *The logical name of the resource specified in the template.
*/ inline StackResourceSummary& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;} /** *The logical name of the resource specified in the template.
*/ inline StackResourceSummary& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; } /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; } /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; } /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); } /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); } /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline StackResourceSummary& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline StackResourceSummary& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of * the resource.
*/ inline StackResourceSummary& 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 StackResourceSummary& 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 StackResourceSummary& 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 StackResourceSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *Time the status was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *Time the status was updated.
*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *Time the status was updated.
*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *Time the status was updated.
*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *Time the status was updated.
*/ inline StackResourceSummary& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *Time the status was updated.
*/ inline StackResourceSummary& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(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 StackResourceSummary& WithResourceStatus(const ResourceStatus& value) { SetResourceStatus(value); return *this;} /** *Current status of the resource.
*/ inline StackResourceSummary& 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 StackResourceSummary& WithResourceStatusReason(const Aws::String& value) { SetResourceStatusReason(value); return *this;} /** *Success/failure message associated with the resource.
*/ inline StackResourceSummary& WithResourceStatusReason(Aws::String&& value) { SetResourceStatusReason(std::move(value)); return *this;} /** *Success/failure message associated with the resource.
*/ inline StackResourceSummary& WithResourceStatusReason(const char* value) { SetResourceStatusReason(value); return *this;} /** *Information about whether the resource'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 StackResourceDriftInformationSummary& GetDriftInformation() const{ return m_driftInformation; } /** *Information about whether the resource'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; } /** *Information about whether the resource'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 StackResourceDriftInformationSummary& value) { m_driftInformationHasBeenSet = true; m_driftInformation = value; } /** *Information about whether the resource'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(StackResourceDriftInformationSummary&& value) { m_driftInformationHasBeenSet = true; m_driftInformation = std::move(value); } /** *Information about whether the resource'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 StackResourceSummary& WithDriftInformation(const StackResourceDriftInformationSummary& value) { SetDriftInformation(value); return *this;} /** *Information about whether the resource'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 StackResourceSummary& WithDriftInformation(StackResourceDriftInformationSummary&& value) { SetDriftInformation(std::move(value)); return *this;} /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline const ModuleInfo& GetModuleInfo() const{ return m_moduleInfo; } /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline bool ModuleInfoHasBeenSet() const { return m_moduleInfoHasBeenSet; } /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline void SetModuleInfo(const ModuleInfo& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = value; } /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline void SetModuleInfo(ModuleInfo&& value) { m_moduleInfoHasBeenSet = true; m_moduleInfo = std::move(value); } /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline StackResourceSummary& WithModuleInfo(const ModuleInfo& value) { SetModuleInfo(value); return *this;} /** *Contains information about the module from which the resource was created, if * the resource was created from a module included in the stack template.
*/ inline StackResourceSummary& WithModuleInfo(ModuleInfo&& value) { SetModuleInfo(std::move(value)); return *this;} private: 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_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; ResourceStatus m_resourceStatus; bool m_resourceStatusHasBeenSet = false; Aws::String m_resourceStatusReason; bool m_resourceStatusReasonHasBeenSet = false; StackResourceDriftInformationSummary m_driftInformation; bool m_driftInformationHasBeenSet = false; ModuleInfo m_moduleInfo; bool m_moduleInfoHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws