1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace ManagedBlockchain 24 { 25 namespace Model 26 { 27 class AWS_MANAGEDBLOCKCHAIN_API CreateNetworkResult 28 { 29 public: 30 CreateNetworkResult(); 31 CreateNetworkResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 CreateNetworkResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The unique identifier for the network.</p> 37 */ GetNetworkId()38 inline const Aws::String& GetNetworkId() const{ return m_networkId; } 39 40 /** 41 * <p>The unique identifier for the network.</p> 42 */ SetNetworkId(const Aws::String & value)43 inline void SetNetworkId(const Aws::String& value) { m_networkId = value; } 44 45 /** 46 * <p>The unique identifier for the network.</p> 47 */ SetNetworkId(Aws::String && value)48 inline void SetNetworkId(Aws::String&& value) { m_networkId = std::move(value); } 49 50 /** 51 * <p>The unique identifier for the network.</p> 52 */ SetNetworkId(const char * value)53 inline void SetNetworkId(const char* value) { m_networkId.assign(value); } 54 55 /** 56 * <p>The unique identifier for the network.</p> 57 */ WithNetworkId(const Aws::String & value)58 inline CreateNetworkResult& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;} 59 60 /** 61 * <p>The unique identifier for the network.</p> 62 */ WithNetworkId(Aws::String && value)63 inline CreateNetworkResult& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;} 64 65 /** 66 * <p>The unique identifier for the network.</p> 67 */ WithNetworkId(const char * value)68 inline CreateNetworkResult& WithNetworkId(const char* value) { SetNetworkId(value); return *this;} 69 70 71 /** 72 * <p>The unique identifier for the first member within the network.</p> 73 */ GetMemberId()74 inline const Aws::String& GetMemberId() const{ return m_memberId; } 75 76 /** 77 * <p>The unique identifier for the first member within the network.</p> 78 */ SetMemberId(const Aws::String & value)79 inline void SetMemberId(const Aws::String& value) { m_memberId = value; } 80 81 /** 82 * <p>The unique identifier for the first member within the network.</p> 83 */ SetMemberId(Aws::String && value)84 inline void SetMemberId(Aws::String&& value) { m_memberId = std::move(value); } 85 86 /** 87 * <p>The unique identifier for the first member within the network.</p> 88 */ SetMemberId(const char * value)89 inline void SetMemberId(const char* value) { m_memberId.assign(value); } 90 91 /** 92 * <p>The unique identifier for the first member within the network.</p> 93 */ WithMemberId(const Aws::String & value)94 inline CreateNetworkResult& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} 95 96 /** 97 * <p>The unique identifier for the first member within the network.</p> 98 */ WithMemberId(Aws::String && value)99 inline CreateNetworkResult& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} 100 101 /** 102 * <p>The unique identifier for the first member within the network.</p> 103 */ WithMemberId(const char * value)104 inline CreateNetworkResult& WithMemberId(const char* value) { SetMemberId(value); return *this;} 105 106 private: 107 108 Aws::String m_networkId; 109 110 Aws::String m_memberId; 111 }; 112 113 } // namespace Model 114 } // namespace ManagedBlockchain 115 } // namespace Aws 116