/** * 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 CreateHsmResult { public: CreateHsmResult(); CreateHsmResult(const Aws::AmazonWebServiceResult& result); CreateHsmResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the HSM that was created.

*/ inline const Hsm& GetHsm() const{ return m_hsm; } /** *

Information about the HSM that was created.

*/ inline void SetHsm(const Hsm& value) { m_hsm = value; } /** *

Information about the HSM that was created.

*/ inline void SetHsm(Hsm&& value) { m_hsm = std::move(value); } /** *

Information about the HSM that was created.

*/ inline CreateHsmResult& WithHsm(const Hsm& value) { SetHsm(value); return *this;} /** *

Information about the HSM that was created.

*/ inline CreateHsmResult& WithHsm(Hsm&& value) { SetHsm(std::move(value)); return *this;} private: Hsm m_hsm; }; } // namespace Model } // namespace CloudHSMV2 } // namespace Aws