/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of configuration properties for a peer node.See
* Also:
AWS
* API Reference
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 NodeSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier of the node.
*/ inline NodeSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier of the node.
*/ inline NodeSummary& WithId(const char* value) { SetId(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 NodeSummary& WithStatus(const NodeStatus& value) { SetStatus(value); return *this;} /** *The status of the node.
*/ inline NodeSummary& 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 NodeSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date and time that the node was created.
*/ inline NodeSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(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 NodeSummary& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *The Availability Zone in which the node exists.
*/ inline NodeSummary& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *The Availability Zone in which the node exists.
*/ inline NodeSummary& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The EC2 instance type for the node.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The EC2 instance type for the node.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The EC2 instance type for the node.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The EC2 instance type for the node.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The EC2 instance type for the node.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The EC2 instance type for the node.
*/ inline NodeSummary& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The EC2 instance type for the node.
*/ inline NodeSummary& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The EC2 instance type for the node.
*/ inline NodeSummary& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; NodeStatus m_status; bool m_statusHasBeenSet; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet; }; } // namespace Model } // namespace ManagedBlockchain } // namespace Aws