/** * 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 CloudHSMV2 { namespace Model { /** */ class DeleteHsmRequest : public CloudHSMV2Request { public: AWS_CLOUDHSMV2_API DeleteHsmRequest(); // 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 "DeleteHsm"; } AWS_CLOUDHSMV2_API Aws::String SerializePayload() const override; AWS_CLOUDHSMV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; } /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; } /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); } /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); } /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The identifier (ID) of the cluster that contains the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;} /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline const Aws::String& GetHsmId() const{ return m_hsmId; } /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline bool HsmIdHasBeenSet() const { return m_hsmIdHasBeenSet; } /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline void SetHsmId(const Aws::String& value) { m_hsmIdHasBeenSet = true; m_hsmId = value; } /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline void SetHsmId(Aws::String&& value) { m_hsmIdHasBeenSet = true; m_hsmId = std::move(value); } /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline void SetHsmId(const char* value) { m_hsmIdHasBeenSet = true; m_hsmId.assign(value); } /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline DeleteHsmRequest& WithHsmId(const Aws::String& value) { SetHsmId(value); return *this;} /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline DeleteHsmRequest& WithHsmId(Aws::String&& value) { SetHsmId(std::move(value)); return *this;} /** *

The identifier (ID) of the HSM that you are deleting.

*/ inline DeleteHsmRequest& WithHsmId(const char* value) { SetHsmId(value); return *this;} /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline const Aws::String& GetEniId() const{ return m_eniId; } /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; } /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline void SetEniId(const Aws::String& value) { m_eniIdHasBeenSet = true; m_eniId = value; } /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline void SetEniId(Aws::String&& value) { m_eniIdHasBeenSet = true; m_eniId = std::move(value); } /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline void SetEniId(const char* value) { m_eniIdHasBeenSet = true; m_eniId.assign(value); } /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline DeleteHsmRequest& WithEniId(const Aws::String& value) { SetEniId(value); return *this;} /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline DeleteHsmRequest& WithEniId(Aws::String&& value) { SetEniId(std::move(value)); return *this;} /** *

The identifier (ID) of the elastic network interface (ENI) of the HSM that * you are deleting.

*/ inline DeleteHsmRequest& WithEniId(const char* value) { SetEniId(value); return *this;} /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline const Aws::String& GetEniIp() const{ return m_eniIp; } /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline bool EniIpHasBeenSet() const { return m_eniIpHasBeenSet; } /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline void SetEniIp(const Aws::String& value) { m_eniIpHasBeenSet = true; m_eniIp = value; } /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline void SetEniIp(Aws::String&& value) { m_eniIpHasBeenSet = true; m_eniIp = std::move(value); } /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline void SetEniIp(const char* value) { m_eniIpHasBeenSet = true; m_eniIp.assign(value); } /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithEniIp(const Aws::String& value) { SetEniIp(value); return *this;} /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithEniIp(Aws::String&& value) { SetEniIp(std::move(value)); return *this;} /** *

The IP address of the elastic network interface (ENI) of the HSM that you are * deleting.

*/ inline DeleteHsmRequest& WithEniIp(const char* value) { SetEniIp(value); return *this;} private: Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; Aws::String m_hsmId; bool m_hsmIdHasBeenSet = false; Aws::String m_eniId; bool m_eniIdHasBeenSet = false; Aws::String m_eniIp; bool m_eniIpHasBeenSet = false; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws