/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an update to a static policy.See
* Also:
AWS
* API Reference
Specifies the description to be added to or replaced on the static * policy.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline UpdateStaticPolicyDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline UpdateStaticPolicyDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *Specifies the description to be added to or replaced on the static * policy.
*/ inline UpdateStaticPolicyDefinition& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.
Specifies the Cedar policy language text to be added to or replaced on the * static policy.
You can change only the following elements * from the original content:
The action
referenced
* by the policy.
Any conditional clauses, such as
* when
or unless
clauses.
You * can't change the following elements:
Changing from
* StaticPolicy
to TemplateLinkedPolicy
.
The effect (permit
or forbid
) of the policy.
The principal
referenced by the policy.
The resource
referenced by the policy.