/** * 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 Http { class URI; } //namespace Http namespace FinSpaceData { namespace Model { /** */ class DeletePermissionGroupRequest : public FinSpaceDataRequest { public: AWS_FINSPACEDATA_API DeletePermissionGroupRequest(); // 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 "DeletePermissionGroup"; } AWS_FINSPACEDATA_API Aws::String SerializePayload() const override; AWS_FINSPACEDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique identifier for the permission group that you want to delete.

*/ inline const Aws::String& GetPermissionGroupId() const{ return m_permissionGroupId; } /** *

The unique identifier for the permission group that you want to delete.

*/ inline bool PermissionGroupIdHasBeenSet() const { return m_permissionGroupIdHasBeenSet; } /** *

The unique identifier for the permission group that you want to delete.

*/ inline void SetPermissionGroupId(const Aws::String& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = value; } /** *

The unique identifier for the permission group that you want to delete.

*/ inline void SetPermissionGroupId(Aws::String&& value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId = std::move(value); } /** *

The unique identifier for the permission group that you want to delete.

*/ inline void SetPermissionGroupId(const char* value) { m_permissionGroupIdHasBeenSet = true; m_permissionGroupId.assign(value); } /** *

The unique identifier for the permission group that you want to delete.

*/ inline DeletePermissionGroupRequest& WithPermissionGroupId(const Aws::String& value) { SetPermissionGroupId(value); return *this;} /** *

The unique identifier for the permission group that you want to delete.

*/ inline DeletePermissionGroupRequest& WithPermissionGroupId(Aws::String&& value) { SetPermissionGroupId(std::move(value)); return *this;} /** *

The unique identifier for the permission group that you want to delete.

*/ inline DeletePermissionGroupRequest& WithPermissionGroupId(const char* value) { SetPermissionGroupId(value); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeletePermissionGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeletePermissionGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline DeletePermissionGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_permissionGroupId; bool m_permissionGroupIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws