/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).See Also:
AWS
* API Reference
A policy ID.
*/ inline const Aws::String& GetPolicyId() const{ return m_policyId; } /** *A policy ID.
*/ inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; } /** *A policy ID.
*/ inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; } /** *A policy ID.
*/ inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); } /** *A policy ID.
*/ inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); } /** *A policy ID.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;} /** *A policy ID.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;} /** *A policy ID.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyId(const char* value) { SetPolicyId(value); return *this;} /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline const Aws::String& GetPolicyHash() const{ return m_policyHash; } /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline bool PolicyHashHasBeenSet() const { return m_policyHashHasBeenSet; } /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline void SetPolicyHash(const Aws::String& value) { m_policyHashHasBeenSet = true; m_policyHash = value; } /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline void SetPolicyHash(Aws::String&& value) { m_policyHashHasBeenSet = true; m_policyHash = std::move(value); } /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline void SetPolicyHash(const char* value) { m_policyHashHasBeenSet = true; m_policyHash.assign(value); } /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyHash(const Aws::String& value) { SetPolicyHash(value); return *this;} /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyHash(Aws::String&& value) { SetPolicyHash(std::move(value)); return *this;} /** *ID of the current policy version. The hash helps to prevent a situation where * multiple users attempt to overwrite a policy. You must provide this hash when * updating or deleting a policy.
*/ inline GetResourcePoliciesResponseEntry& WithPolicyHash(const char* value) { SetPolicyHash(value); return *this;} /** *A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).
A resource policy helps you to define the IAM entity (for example, an Amazon
* Web Services account) that can manage your Systems Manager resources. Currently,
* OpsItemGroup
is the only resource that supports Systems Manager
* resource policies. The resource policy for OpsItemGroup
enables
* Amazon Web Services accounts to view and interact with OpsCenter operational
* work items (OpsItems).