/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the SetStackPolicy action.See Also:
AWS
* API Reference
The name or unique stack ID that you want to associate a policy with.
*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *The name or unique stack ID that you want to associate a policy with.
*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *The name or unique stack ID that you want to associate a policy with.
*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *The name or unique stack ID that you want to associate a policy with.
*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *The name or unique stack ID that you want to associate a policy with.
*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *The name or unique stack ID that you want to associate a policy with.
*/ inline SetStackPolicyRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *The name or unique stack ID that you want to associate a policy with.
*/ inline SetStackPolicyRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *The name or unique stack ID that you want to associate a policy with.
*/ inline SetStackPolicyRequest& WithStackName(const char* value) { SetStackName(value); return *this;} /** *Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Structure containing the stack policy body. For more information, go to
* Prevent updates to stack resources in the CloudFormation User Guide. You can
* specify either the StackPolicyBody
or the
* StackPolicyURL
parameter, but not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.
Location of a file containing the stack policy. The URL must point to a
* policy (maximum size: 16 KB) located in an Amazon S3 bucket in the same Amazon
* Web Services Region as the stack. You can specify either the
* StackPolicyBody
or the StackPolicyURL
parameter, but
* not both.