/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure containing summary information about resource drifts for a
* stack instance.See Also:
AWS
* API Reference
The ID of the stack instance.
*/ inline const Aws::String& GetStackId() const{ return m_stackId; } /** *The ID of the stack instance.
*/ inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } /** *The ID of the stack instance.
*/ inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; } /** *The ID of the stack instance.
*/ inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); } /** *The ID of the stack instance.
*/ inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); } /** *The ID of the stack instance.
*/ inline StackInstanceResourceDriftsSummary& WithStackId(const Aws::String& value) { SetStackId(value); return *this;} /** *The ID of the stack instance.
*/ inline StackInstanceResourceDriftsSummary& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;} /** *The ID of the stack instance.
*/ inline StackInstanceResourceDriftsSummary& WithStackId(const char* value) { SetStackId(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 StackInstanceResourceDriftsSummary& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;} /** *The logical name of the resource specified in the template.
*/ inline StackInstanceResourceDriftsSummary& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;} /** *The logical name of the resource specified in the template.
*/ inline StackInstanceResourceDriftsSummary& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of a * resource supported by CloudFormation.
*/ inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; } /** *The name or unique identifier that corresponds to a physical instance ID of a * resource supported by CloudFormation.
*/ inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; } /** *The name or unique identifier that corresponds to a physical instance ID of a * resource supported by CloudFormation.
*/ 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 a * resource supported by CloudFormation.
*/ 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 a * resource supported by CloudFormation.
*/ 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 a * resource supported by CloudFormation.
*/ inline StackInstanceResourceDriftsSummary& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of a * resource supported by CloudFormation.
*/ inline StackInstanceResourceDriftsSummary& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;} /** *The name or unique identifier that corresponds to a physical instance ID of a * resource supported by CloudFormation.
*/ inline StackInstanceResourceDriftsSummary& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;} /** *Context information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline const Aws::VectorContext information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline bool PhysicalResourceIdContextHasBeenSet() const { return m_physicalResourceIdContextHasBeenSet; } /** *Context information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline void SetPhysicalResourceIdContext(const Aws::VectorContext information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline void SetPhysicalResourceIdContext(Aws::VectorContext information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline StackInstanceResourceDriftsSummary& WithPhysicalResourceIdContext(const Aws::VectorContext information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline StackInstanceResourceDriftsSummary& WithPhysicalResourceIdContext(Aws::VectorContext information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline StackInstanceResourceDriftsSummary& AddPhysicalResourceIdContext(const PhysicalResourceIdContextKeyValuePair& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(value); return *this; } /** *Context information that enables CloudFormation to uniquely identify a * resource. CloudFormation uses context key-value pairs in cases where a * resource's logical and physical IDs aren't enough to uniquely identify that * resource. Each context key-value pair specifies a unique resource that contains * the targeted resource.
*/ inline StackInstanceResourceDriftsSummary& AddPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair&& value) { m_physicalResourceIdContextHasBeenSet = true; m_physicalResourceIdContext.push_back(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 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 StackInstanceResourceDriftsSummary& 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 StackInstanceResourceDriftsSummary& 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 StackInstanceResourceDriftsSummary& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
Status of the actual configuration of the resource compared to its expected
* configuration. These will be present only for resources whose
* StackInstanceResourceDriftStatus
is MODIFIED
.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
The drift status of the resource in a stack instance.
* DELETED
: The resource differs from its expected template
* configuration in that the resource has been deleted.
* MODIFIED
: One or more resource properties differ from their
* expected template values.
IN_SYNC
: The
* resource's actual configuration matches its expected template configuration.
NOT_CHECKED
: CloudFormation doesn't currently return
* this value.
Time at which the stack instance drift detection operation was initiated.
*/ inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; } /** *Time at which the stack instance drift detection operation was initiated.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *Time at which the stack instance drift detection operation was initiated.
*/ inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *Time at which the stack instance drift detection operation was initiated.
*/ inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *Time at which the stack instance drift detection operation was initiated.
*/ inline StackInstanceResourceDriftsSummary& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;} /** *Time at which the stack instance drift detection operation was initiated.
*/ inline StackInstanceResourceDriftsSummary& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;} private: Aws::String m_stackId; bool m_stackIdHasBeenSet = false; Aws::String m_logicalResourceId; bool m_logicalResourceIdHasBeenSet = false; Aws::String m_physicalResourceId; bool m_physicalResourceIdHasBeenSet = false; Aws::Vector