/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SSOAdmin { namespace Model { /** */ class PutPermissionsBoundaryToPermissionSetRequest : public SSOAdminRequest { public: AWS_SSOADMIN_API PutPermissionsBoundaryToPermissionSetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "PutPermissionsBoundaryToPermissionSet"; } AWS_SSOADMIN_API Aws::String SerializePayload() const override; AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; } /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; } /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; } /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); } /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); } /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;} /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;} /** *

The ARN of the IAM Identity Center instance under which the operation will be * executed.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;} /** *

The ARN of the PermissionSet.

*/ inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; } /** *

The ARN of the PermissionSet.

*/ inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; } /** *

The ARN of the PermissionSet.

*/ inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; } /** *

The ARN of the PermissionSet.

*/ inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); } /** *

The ARN of the PermissionSet.

*/ inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); } /** *

The ARN of the PermissionSet.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;} /** *

The ARN of the PermissionSet.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;} /** *

The ARN of the PermissionSet.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;} /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline const PermissionsBoundary& GetPermissionsBoundary() const{ return m_permissionsBoundary; } /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline bool PermissionsBoundaryHasBeenSet() const { return m_permissionsBoundaryHasBeenSet; } /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline void SetPermissionsBoundary(const PermissionsBoundary& value) { m_permissionsBoundaryHasBeenSet = true; m_permissionsBoundary = value; } /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline void SetPermissionsBoundary(PermissionsBoundary&& value) { m_permissionsBoundaryHasBeenSet = true; m_permissionsBoundary = std::move(value); } /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithPermissionsBoundary(const PermissionsBoundary& value) { SetPermissionsBoundary(value); return *this;} /** *

The permissions boundary that you want to attach to a * PermissionSet.

*/ inline PutPermissionsBoundaryToPermissionSetRequest& WithPermissionsBoundary(PermissionsBoundary&& value) { SetPermissionsBoundary(std::move(value)); return *this;} private: Aws::String m_instanceArn; bool m_instanceArnHasBeenSet = false; Aws::String m_permissionSetArn; bool m_permissionSetArnHasBeenSet = false; PermissionsBoundary m_permissionsBoundary; bool m_permissionsBoundaryHasBeenSet = false; }; } // namespace Model } // namespace SSOAdmin } // namespace Aws