/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #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 a node.

See Also:

AWS * API Reference

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

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

*/ inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; } /** *

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

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

The unique identifier of the network that the node is on.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

*/ inline bool MemberIdHasBeenSet() const { return m_memberIdHasBeenSet; } /** *

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

*/ 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.

Applies * only to Hyperledger Fabric.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

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

The unique identifier of the member to which the node belongs.

Applies * only to Hyperledger Fabric.

*/ 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. Required for Ethereum nodes. *

*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline Node& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ inline Node& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *

The Availability Zone in which the node exists. Required for Ethereum nodes. *

*/ 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;} /** *

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

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

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

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

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

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

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

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

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

*/ inline Node& WithLogPublishingConfiguration(const NodeLogPublishingConfiguration& value) { SetLogPublishingConfiguration(value); return *this;} /** *

Configuration properties for logging events associated with a peer node on a * Hyperledger Fabric network on Managed Blockchain.

*/ inline Node& WithLogPublishingConfiguration(NodeLogPublishingConfiguration&& value) { SetLogPublishingConfiguration(std::move(value)); return *this;} /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline const StateDBType& GetStateDB() const{ return m_stateDB; } /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline bool StateDBHasBeenSet() const { return m_stateDBHasBeenSet; } /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline void SetStateDB(const StateDBType& value) { m_stateDBHasBeenSet = true; m_stateDB = value; } /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline void SetStateDB(StateDBType&& value) { m_stateDBHasBeenSet = true; m_stateDB = std::move(value); } /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline Node& WithStateDB(const StateDBType& value) { SetStateDB(value); return *this;} /** *

The state database that the node uses. Values are LevelDB or * CouchDB.

Applies only to Hyperledger Fabric.

*/ inline Node& WithStateDB(StateDBType&& value) { SetStateDB(std::move(value)); return *this;} /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ inline const NodeStatus& GetStatus() const{ return m_status; } /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ inline void SetStatus(const NodeStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ inline void SetStatus(NodeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ inline Node& WithStatus(const NodeStatus& value) { SetStatus(value); return *this;} /** *

The status of the node.

  • CREATING - The Amazon * Web Services account is in the process of creating a node.

  • * AVAILABLE - The node has been created and can participate in the * network.

  • UNHEALTHY - The node is impaired and * might not function as expected. Amazon Managed Blockchain automatically finds * nodes in this state and tries to recover them. If a node is recoverable, it * returns to AVAILABLE. Otherwise, it moves to FAILED * status.

  • CREATE_FAILED - The Amazon Web Services * account attempted to create a node and creation failed.

  • * UPDATING - The node is in the process of being updated.

  • *
  • DELETING - The node is in the process of being * deleted.

  • DELETED - The node can no longer * participate on the network.

  • FAILED - The node is * no longer functional, cannot be recovered, and must be deleted.

  • *

    INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might * not function as expected because it cannot access the specified customer managed * key in KMS for encryption at rest. Either the KMS key was disabled or deleted, * or the grants on the key were revoked.

    The effect of disabling or * deleting a key or of revoking a grant isn't immediate. It might take some time * for the node resource to discover that the key is inaccessible. When a resource * is in this state, we recommend deleting and recreating the resource.

  • *
*/ 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;} /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to the node. Each tag consists of a key and optional value.

*

For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, * or Tagging * Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

*/ inline Node& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline Node& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline Node& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the node. For more information about ARNs * and their format, see Amazon * Resource Names (ARNs) in the Amazon Web Services General * Reference.

*/ inline Node& WithArn(const char* value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline Node& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline Node& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the customer managed key in Key Management * Service (KMS) that the node uses for encryption at rest. If the value of this * parameter is "AWS Owned KMS Key", the node uses an Amazon Web * Services owned KMS key for encryption. The node inherits this parameter from the * member that it belongs to.

For more information, see Encryption * at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer * Guide.

Applies only to Hyperledger Fabric.

*/ inline Node& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: Aws::String m_networkId; bool m_networkIdHasBeenSet = false; Aws::String m_memberId; bool m_memberIdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; NodeFrameworkAttributes m_frameworkAttributes; bool m_frameworkAttributesHasBeenSet = false; NodeLogPublishingConfiguration m_logPublishingConfiguration; bool m_logPublishingConfigurationHasBeenSet = false; StateDBType m_stateDB; bool m_stateDBHasBeenSet = false; NodeStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws