/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the GetStackPolicy action.See Also:
AWS
* API Reference
The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline GetStackPolicyRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline GetStackPolicyRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *The name or unique stack ID that's associated with the stack whose policy you * want to get.
*/ inline GetStackPolicyRequest& WithStackName(const char* value) { SetStackName(value); return *this;} private: Aws::String m_stackName; bool m_stackNameHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws