/** * 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 AWS_CLOUDHSMV2_API DeleteHsmResult { public: DeleteHsmResult(); DeleteHsmResult(const Aws::AmazonWebServiceResult& result); 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;} private: Aws::String m_hsmId; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws