/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about updates to be applied to a policy. This
* data type is used as a request parameter in the UpdatePolicy
* operation.See Also:
AWS
* API Reference
Contains details about the updates to be applied to a static policy.
*/ inline const UpdateStaticPolicyDefinition& GetStatic() const{ return m_static; } /** *Contains details about the updates to be applied to a static policy.
*/ inline bool StaticHasBeenSet() const { return m_staticHasBeenSet; } /** *Contains details about the updates to be applied to a static policy.
*/ inline void SetStatic(const UpdateStaticPolicyDefinition& value) { m_staticHasBeenSet = true; m_static = value; } /** *Contains details about the updates to be applied to a static policy.
*/ inline void SetStatic(UpdateStaticPolicyDefinition&& value) { m_staticHasBeenSet = true; m_static = std::move(value); } /** *Contains details about the updates to be applied to a static policy.
*/ inline UpdatePolicyDefinition& WithStatic(const UpdateStaticPolicyDefinition& value) { SetStatic(value); return *this;} /** *Contains details about the updates to be applied to a static policy.
*/ inline UpdatePolicyDefinition& WithStatic(UpdateStaticPolicyDefinition&& value) { SetStatic(std::move(value)); return *this;} private: UpdateStaticPolicyDefinition m_static; bool m_staticHasBeenSet = false; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws