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

Configuration properties of the member.

See Also:

AWS * API Reference

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

The name of the member.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the member.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the member.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the member.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the member.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the member.

*/ inline MemberConfiguration& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the member.

*/ inline MemberConfiguration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the member.

*/ inline MemberConfiguration& WithName(const char* value) { SetName(value); return *this;} /** *

An optional description of the member.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

An optional description of the member.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

An optional description of the member.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

An optional description of the member.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

An optional description of the member.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

An optional description of the member.

*/ inline MemberConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

An optional description of the member.

*/ inline MemberConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

An optional description of the member.

*/ inline MemberConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline const MemberFrameworkConfiguration& GetFrameworkConfiguration() const{ return m_frameworkConfiguration; } /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline bool FrameworkConfigurationHasBeenSet() const { return m_frameworkConfigurationHasBeenSet; } /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline void SetFrameworkConfiguration(const MemberFrameworkConfiguration& value) { m_frameworkConfigurationHasBeenSet = true; m_frameworkConfiguration = value; } /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline void SetFrameworkConfiguration(MemberFrameworkConfiguration&& value) { m_frameworkConfigurationHasBeenSet = true; m_frameworkConfiguration = std::move(value); } /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline MemberConfiguration& WithFrameworkConfiguration(const MemberFrameworkConfiguration& value) { SetFrameworkConfiguration(value); return *this;} /** *

Configuration properties of the blockchain framework relevant to the * member.

*/ inline MemberConfiguration& WithFrameworkConfiguration(MemberFrameworkConfiguration&& value) { SetFrameworkConfiguration(std::move(value)); return *this;} /** *

*/ inline const MemberLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; } /** *

*/ inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; } /** *

*/ inline void SetLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; } /** *

*/ inline void SetLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); } /** *

*/ inline MemberConfiguration& WithLogPublishingConfiguration(const MemberLogPublishingConfiguration& value) { SetLogPublishingConfiguration(value); return *this;} /** *

*/ inline MemberConfiguration& WithLogPublishingConfiguration(MemberLogPublishingConfiguration&& value) { SetLogPublishingConfiguration(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; MemberFrameworkConfiguration m_frameworkConfiguration; bool m_frameworkConfigurationHasBeenSet; MemberLogPublishingConfiguration m_logPublishingConfiguration; bool m_logPublishingConfigurationHasBeenSet; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws