/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The output for the GetStackPolicy action.See Also:
* AWS
* API Reference
Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline const Aws::String& GetStackPolicyBody() const{ return m_stackPolicyBody; } /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline void SetStackPolicyBody(const Aws::String& value) { m_stackPolicyBody = value; } /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline void SetStackPolicyBody(Aws::String&& value) { m_stackPolicyBody = std::move(value); } /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline void SetStackPolicyBody(const char* value) { m_stackPolicyBody.assign(value); } /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline GetStackPolicyResult& WithStackPolicyBody(const Aws::String& value) { SetStackPolicyBody(value); return *this;} /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline GetStackPolicyResult& WithStackPolicyBody(Aws::String&& value) { SetStackPolicyBody(std::move(value)); return *this;} /** *Structure containing the stack policy body. (For more information, go to * Prevent Updates to Stack Resources in the CloudFormation User Guide.)
*/ inline GetStackPolicyResult& WithStackPolicyBody(const char* value) { SetStackPolicyBody(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 GetStackPolicyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetStackPolicyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_stackPolicyBody; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws