/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration properties of a peer node.See Also:
AWS
* API Reference
The unique identifier of the network that the node is in.
*/ inline const Aws::String& GetNetworkId() const{ return m_networkId; } /** *The unique identifier of the network that the node is in.
*/ inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; } /** *The unique identifier of the network that the node is in.
*/ inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; } /** *The unique identifier of the network that the node is in.
*/ inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); } /** *The unique identifier of the network that the node is in.
*/ inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); } /** *The unique identifier of the network that the node is in.
*/ inline Node& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;} /** *The unique identifier of the network that the node is in.
*/ inline Node& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;} /** *The unique identifier of the network that the node is in.
*/ inline Node& WithNetworkId(const char* value) { SetNetworkId(value); return *this;} /** *The unique identifier of the member to which the node belongs.
*/ inline const Aws::String& GetMemberId() const{ return m_memberId; } /** *The unique identifier of the member to which the node belongs.
*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *The unique identifier of the member to which the node belongs.
*/ inline void SetMemberId(const Aws::String& value) { m_memberIdHasBeenSet = true; m_memberId = value; } /** *The unique identifier of the member to which the node belongs.
*/ inline void SetMemberId(Aws::String&& value) { m_memberIdHasBeenSet = true; m_memberId = std::move(value); } /** *The unique identifier of the member to which the node belongs.
*/ inline void SetMemberId(const char* value) { m_memberIdHasBeenSet = true; m_memberId.assign(value); } /** *The unique identifier of the member to which the node belongs.
*/ inline Node& WithMemberId(const Aws::String& value) { SetMemberId(value); return *this;} /** *The unique identifier of the member to which the node belongs.
*/ inline Node& WithMemberId(Aws::String&& value) { SetMemberId(std::move(value)); return *this;} /** *The unique identifier of the member to which the node belongs.
*/ inline Node& WithMemberId(const char* value) { SetMemberId(value); return *this;} /** *The unique identifier of the node.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier of the node.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier of the node.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier of the node.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier of the node.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier of the node.
*/ inline Node& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier of the node.
*/ inline Node& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier of the node.
*/ inline Node& WithId(const char* value) { SetId(value); return *this;} /** *The instance type of the node.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type of the node.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type of the node.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type of the node.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type of the node.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type of the node.
*/ inline Node& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type of the node.
*/ inline Node& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type of the node.
*/ inline Node& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The Availability Zone in which the node exists.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *The Availability Zone in which the node exists.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *The Availability Zone in which the node exists.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *The Availability Zone in which the node exists.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *The Availability Zone in which the node exists.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *The Availability Zone in which the node exists.
*/ inline Node& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone in which the node exists.
*/ inline Node& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone in which the node exists.
*/ inline Node& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *Attributes of the blockchain framework being used.
*/ inline const NodeFrameworkAttributes& GetFrameworkAttributes() const{ return m_frameworkAttributes; } /** *Attributes of the blockchain framework being used.
*/ inline bool FrameworkAttributesHasBeenSet() const { return m_frameworkAttributesHasBeenSet; } /** *Attributes of the blockchain framework being used.
*/ inline void SetFrameworkAttributes(const NodeFrameworkAttributes& value) { m_frameworkAttributesHasBeenSet = true; m_frameworkAttributes = value; } /** *Attributes of the blockchain framework being used.
*/ inline void SetFrameworkAttributes(NodeFrameworkAttributes&& value) { m_frameworkAttributesHasBeenSet = true; m_frameworkAttributes = std::move(value); } /** *Attributes of the blockchain framework being used.
*/ inline Node& WithFrameworkAttributes(const NodeFrameworkAttributes& value) { SetFrameworkAttributes(value); return *this;} /** *Attributes of the blockchain framework being used.
*/ inline Node& WithFrameworkAttributes(NodeFrameworkAttributes&& value) { SetFrameworkAttributes(std::move(value)); return *this;} /** * */ inline const NodeLogPublishingConfiguration& GetLogPublishingConfiguration() const{ return m_logPublishingConfiguration; } /** * */ inline bool LogPublishingConfigurationHasBeenSet() const { return m_logPublishingConfigurationHasBeenSet; } /** * */ inline void SetLogPublishingConfiguration(const NodeLogPublishingConfiguration& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = value; } /** * */ inline void SetLogPublishingConfiguration(NodeLogPublishingConfiguration&& value) { m_logPublishingConfigurationHasBeenSet = true; m_logPublishingConfiguration = std::move(value); } /** * */ inline Node& WithLogPublishingConfiguration(const NodeLogPublishingConfiguration& value) { SetLogPublishingConfiguration(value); return *this;} /** * */ inline Node& WithLogPublishingConfiguration(NodeLogPublishingConfiguration&& value) { SetLogPublishingConfiguration(std::move(value)); return *this;} /** *The status of the node.
*/ inline const NodeStatus& GetStatus() const{ return m_status; } /** *The status of the node.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the node.
*/ inline void SetStatus(const NodeStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the node.
*/ inline void SetStatus(NodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the node.
*/ inline Node& WithStatus(const NodeStatus& value) { SetStatus(value); return *this;} /** *The status of the node.
*/ inline Node& WithStatus(NodeStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The date and time that the node was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date and time that the node was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date and time that the node was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date and time that the node was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date and time that the node was created.
*/ inline Node& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date and time that the node was created.
*/ inline Node& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_networkId; bool m_networkIdHasBeenSet; Aws::String m_memberId; bool m_memberIdHasBeenSet; Aws::String m_id; bool m_idHasBeenSet; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet; NodeFrameworkAttributes m_frameworkAttributes; bool m_frameworkAttributesHasBeenSet; NodeLogPublishingConfiguration m_logPublishingConfiguration; bool m_logPublishingConfigurationHasBeenSet; NodeStatus m_status; bool m_statusHasBeenSet; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws