/** * 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 CloudHSM { namespace Model { /** *

Contains the output of the CreateHsm operation.

See * Also:

AWS * API Reference

*/ class AWS_CLOUDHSM_API CreateHsmResult { public: CreateHsmResult(); CreateHsmResult(const Aws::AmazonWebServiceResult& result); CreateHsmResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the HSM.

*/ inline const Aws::String& GetHsmArn() const{ return m_hsmArn; } /** *

The ARN of the HSM.

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

The ARN of the HSM.

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

The ARN of the HSM.

*/ inline void SetHsmArn(const char* value) { m_hsmArn.assign(value); } /** *

The ARN of the HSM.

*/ inline CreateHsmResult& WithHsmArn(const Aws::String& value) { SetHsmArn(value); return *this;} /** *

The ARN of the HSM.

*/ inline CreateHsmResult& WithHsmArn(Aws::String&& value) { SetHsmArn(std::move(value)); return *this;} /** *

The ARN of the HSM.

*/ inline CreateHsmResult& WithHsmArn(const char* value) { SetHsmArn(value); return *this;} private: Aws::String m_hsmArn; }; } // namespace Model } // namespace CloudHSM } // namespace Aws