/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an attached permissions boundary. An
* attached permissions boundary is a managed policy that has been attached to a
* user or role to set the permissions boundary. For more information about
* permissions boundaries, see Permissions
* boundaries for IAM identities in the IAM User Guide.See
* Also:
AWS
* API Reference
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The permissions boundary usage type that indicates what type of IAM resource
* is used as the permissions boundary for an entity. This data type can only have
* a value of Policy
.
The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline const Aws::String& GetPermissionsBoundaryArn() const{ return m_permissionsBoundaryArn; } /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline bool PermissionsBoundaryArnHasBeenSet() const { return m_permissionsBoundaryArnHasBeenSet; } /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline void SetPermissionsBoundaryArn(const Aws::String& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = value; } /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline void SetPermissionsBoundaryArn(Aws::String&& value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn = std::move(value); } /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline void SetPermissionsBoundaryArn(const char* value) { m_permissionsBoundaryArnHasBeenSet = true; m_permissionsBoundaryArn.assign(value); } /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline AttachedPermissionsBoundary& WithPermissionsBoundaryArn(const Aws::String& value) { SetPermissionsBoundaryArn(value); return *this;} /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline AttachedPermissionsBoundary& WithPermissionsBoundaryArn(Aws::String&& value) { SetPermissionsBoundaryArn(std::move(value)); return *this;} /** *The ARN of the policy used to set the permissions boundary for the user or * role.
*/ inline AttachedPermissionsBoundary& WithPermissionsBoundaryArn(const char* value) { SetPermissionsBoundaryArn(value); return *this;} private: PermissionsBoundaryAttachmentType m_permissionsBoundaryType; bool m_permissionsBoundaryTypeHasBeenSet = false; Aws::String m_permissionsBoundaryArn; bool m_permissionsBoundaryArnHasBeenSet = false; }; } // namespace Model } // namespace IAM } // namespace Aws