/** * 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 ManagedBlockchain { namespace Model { class CreateNetworkResult { public: AWS_MANAGEDBLOCKCHAIN_API CreateNetworkResult(); AWS_MANAGEDBLOCKCHAIN_API CreateNetworkResult(const Aws::AmazonWebServiceResult& result); AWS_MANAGEDBLOCKCHAIN_API CreateNetworkResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier for the network.

*/ inline const Aws::String& GetNetworkId() const{ return m_networkId; } /** *

The unique identifier for the network.

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

The unique identifier for the network.

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

The unique identifier for the network.

*/ inline void SetNetworkId(const char* value) { m_networkId.assign(value); } /** *

The unique identifier for the network.

*/ inline CreateNetworkResult& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;} /** *

The unique identifier for the network.

*/ inline CreateNetworkResult& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;} /** *

The unique identifier for the network.

*/ inline CreateNetworkResult& WithNetworkId(const char* value) { SetNetworkId(value); return *this;} /** *

The unique identifier for the first member within the network.

*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *

The unique identifier for the first member within the network.

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

The unique identifier for the first member within the network.

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

The unique identifier for the first member within the network.

*/ inline void SetMemberId(const char* value) { m_memberId.assign(value); } /** *

The unique identifier for the first member within the network.

*/ inline CreateNetworkResult& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *

The unique identifier for the first member within the network.

*/ inline CreateNetworkResult& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *

The unique identifier for the first member within the network.

*/ inline CreateNetworkResult& WithMemberId(const char* value) { SetMemberId(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 CreateNetworkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNetworkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNetworkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_networkId; Aws::String m_memberId; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws