/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchain { namespace Model { /** *

Attributes of Hyperledger Fabric for a member in a Managed Blockchain network * using the Hyperledger Fabric framework.

See Also:

AWS * API Reference

*/ class MemberFabricAttributes { public: AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes(); AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API MemberFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The user name for the initial administrator user for the member.

*/ inline const Aws::String& GetAdminUsername() const{ return m_adminUsername; } /** *

The user name for the initial administrator user for the member.

*/ inline bool AdminUsernameHasBeenSet() const { return m_adminUsernameHasBeenSet; } /** *

The user name for the initial administrator user for the member.

*/ inline void SetAdminUsername(const Aws::String& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = value; } /** *

The user name for the initial administrator user for the member.

*/ inline void SetAdminUsername(Aws::String&& value) { m_adminUsernameHasBeenSet = true; m_adminUsername = std::move(value); } /** *

The user name for the initial administrator user for the member.

*/ inline void SetAdminUsername(const char* value) { m_adminUsernameHasBeenSet = true; m_adminUsername.assign(value); } /** *

The user name for the initial administrator user for the member.

*/ inline MemberFabricAttributes& WithAdminUsername(const Aws::String& value) { SetAdminUsername(value); return *this;} /** *

The user name for the initial administrator user for the member.

*/ inline MemberFabricAttributes& WithAdminUsername(Aws::String&& value) { SetAdminUsername(std::move(value)); return *this;} /** *

The user name for the initial administrator user for the member.

*/ inline MemberFabricAttributes& WithAdminUsername(const char* value) { SetAdminUsername(value); return *this;} /** *

The endpoint used to access the member's certificate authority.

*/ inline const Aws::String& GetCaEndpoint() const{ return m_caEndpoint; } /** *

The endpoint used to access the member's certificate authority.

*/ inline bool CaEndpointHasBeenSet() const { return m_caEndpointHasBeenSet; } /** *

The endpoint used to access the member's certificate authority.

*/ inline void SetCaEndpoint(const Aws::String& value) { m_caEndpointHasBeenSet = true; m_caEndpoint = value; } /** *

The endpoint used to access the member's certificate authority.

*/ inline void SetCaEndpoint(Aws::String&& value) { m_caEndpointHasBeenSet = true; m_caEndpoint = std::move(value); } /** *

The endpoint used to access the member's certificate authority.

*/ inline void SetCaEndpoint(const char* value) { m_caEndpointHasBeenSet = true; m_caEndpoint.assign(value); } /** *

The endpoint used to access the member's certificate authority.

*/ inline MemberFabricAttributes& WithCaEndpoint(const Aws::String& value) { SetCaEndpoint(value); return *this;} /** *

The endpoint used to access the member's certificate authority.

*/ inline MemberFabricAttributes& WithCaEndpoint(Aws::String&& value) { SetCaEndpoint(std::move(value)); return *this;} /** *

The endpoint used to access the member's certificate authority.

*/ inline MemberFabricAttributes& WithCaEndpoint(const char* value) { SetCaEndpoint(value); return *this;} private: Aws::String m_adminUsername; bool m_adminUsernameHasBeenSet = false; Aws::String m_caEndpoint; bool m_caEndpointHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws