/** * 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 { class DescribeStackInstanceResult { public: AWS_CLOUDFORMATION_API DescribeStackInstanceResult(); AWS_CLOUDFORMATION_API DescribeStackInstanceResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API DescribeStackInstanceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The stack instance that matches the specified request parameters.

*/ inline const StackInstance& GetStackInstance() const{ return m_stackInstance; } /** *

The stack instance that matches the specified request parameters.

*/ inline void SetStackInstance(const StackInstance& value) { m_stackInstance = value; } /** *

The stack instance that matches the specified request parameters.

*/ inline void SetStackInstance(StackInstance&& value) { m_stackInstance = std::move(value); } /** *

The stack instance that matches the specified request parameters.

*/ inline DescribeStackInstanceResult& WithStackInstance(const StackInstance& value) { SetStackInstance(value); return *this;} /** *

The stack instance that matches the specified request parameters.

*/ inline DescribeStackInstanceResult& WithStackInstance(StackInstance&& value) { SetStackInstance(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 DescribeStackInstanceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeStackInstanceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: StackInstance m_stackInstance; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws