/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudHSMV2 { namespace Model { class DeleteHsmResult { public: AWS_CLOUDHSMV2_API DeleteHsmResult(); AWS_CLOUDHSMV2_API DeleteHsmResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDHSMV2_API DeleteHsmResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

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

The identifier (ID) of the HSM that was deleted.

*/ inline DeleteHsmResult& WithHsmId(const char* value) { SetHsmId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteHsmResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteHsmResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteHsmResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hsmId; Aws::String m_requestId; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws