/** * 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 an UpdateStack action.

See Also:

AWS * API Reference

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

Unique identifier of the stack.

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

Unique identifier of the stack.

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

Unique identifier of the stack.

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

Unique identifier of the stack.

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

Unique identifier of the stack.

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

Unique identifier of the stack.

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

Unique identifier of the stack.

*/ inline UpdateStackResult& WithStackId(const char* value) { SetStackId(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 UpdateStackResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline UpdateStackResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_stackId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws