/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 a DescribeStackResource action.

See * Also:

AWS * API Reference

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

A StackResourceDetail structure containing the description of * the specified resource in the specified stack.

*/ inline const StackResourceDetail& GetStackResourceDetail() const{ return m_stackResourceDetail; } /** *

A StackResourceDetail structure containing the description of * the specified resource in the specified stack.

*/ inline void SetStackResourceDetail(const StackResourceDetail& value) { m_stackResourceDetail = value; } /** *

A StackResourceDetail structure containing the description of * the specified resource in the specified stack.

*/ inline void SetStackResourceDetail(StackResourceDetail&& value) { m_stackResourceDetail = std::move(value); } /** *

A StackResourceDetail structure containing the description of * the specified resource in the specified stack.

*/ inline DescribeStackResourceResult& WithStackResourceDetail(const StackResourceDetail& value) { SetStackResourceDetail(value); return *this;} /** *

A StackResourceDetail structure containing the description of * the specified resource in the specified stack.

*/ inline DescribeStackResourceResult& WithStackResourceDetail(StackResourceDetail&& value) { SetStackResourceDetail(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 DescribeStackResourceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeStackResourceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: StackResourceDetail m_stackResourceDetail; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws