/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Transfer { namespace Model { /** */ class DeleteAccessRequest : public TransferRequest { public: AWS_TRANSFER_API DeleteAccessRequest(); // 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 "DeleteAccess"; } AWS_TRANSFER_API Aws::String SerializePayload() const override; AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline const Aws::String& GetServerId() const{ return m_serverId; } /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; } /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; } /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); } /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); } /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline DeleteAccessRequest& WithServerId(const Aws::String& value) { SetServerId(value); return *this;} /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline DeleteAccessRequest& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;} /** *

A system-assigned unique identifier for a server that has this user * assigned.

*/ inline DeleteAccessRequest& WithServerId(const char* value) { SetServerId(value); return *this;} /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline const Aws::String& GetExternalId() const{ return m_externalId; } /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; } /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; } /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); } /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); } /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline DeleteAccessRequest& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;} /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline DeleteAccessRequest& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;} /** *

A unique identifier that is required to identify specific groups within your * directory. The users of the group that you associate have access to your Amazon * S3 or Amazon EFS resources over the enabled protocols using Transfer Family. If * you know the group name, you can view the SID values by running the following * command using Windows PowerShell.

Get-ADGroup -Filter * {samAccountName -like "YourGroupName*"} -Properties * | Select * SamAccountName,ObjectSid

In that command, replace * YourGroupName with the name of your Active Directory group.

The * regular expression used to validate this parameter is a string of characters * consisting of uppercase and lowercase alphanumeric characters with no spaces. * You can also include underscores or any of the following characters: =,.@:/-

*/ inline DeleteAccessRequest& WithExternalId(const char* value) { SetExternalId(value); return *this;} private: Aws::String m_serverId; bool m_serverIdHasBeenSet = false; Aws::String m_externalId; bool m_externalIdHasBeenSet = false; }; } // namespace Model } // namespace Transfer } // namespace Aws