/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A node in an Amazon Redshift cluster.See Also:
AWS
* API Reference
The role of the node. A node might be a leader node or a compute node.
*/ inline const Aws::String& GetNodeRole() const{ return m_nodeRole; } /** *The role of the node. A node might be a leader node or a compute node.
*/ inline bool NodeRoleHasBeenSet() const { return m_nodeRoleHasBeenSet; } /** *The role of the node. A node might be a leader node or a compute node.
*/ inline void SetNodeRole(const Aws::String& value) { m_nodeRoleHasBeenSet = true; m_nodeRole = value; } /** *The role of the node. A node might be a leader node or a compute node.
*/ inline void SetNodeRole(Aws::String&& value) { m_nodeRoleHasBeenSet = true; m_nodeRole = std::move(value); } /** *The role of the node. A node might be a leader node or a compute node.
*/ inline void SetNodeRole(const char* value) { m_nodeRoleHasBeenSet = true; m_nodeRole.assign(value); } /** *The role of the node. A node might be a leader node or a compute node.
*/ inline AwsRedshiftClusterClusterNode& WithNodeRole(const Aws::String& value) { SetNodeRole(value); return *this;} /** *The role of the node. A node might be a leader node or a compute node.
*/ inline AwsRedshiftClusterClusterNode& WithNodeRole(Aws::String&& value) { SetNodeRole(std::move(value)); return *this;} /** *The role of the node. A node might be a leader node or a compute node.
*/ inline AwsRedshiftClusterClusterNode& WithNodeRole(const char* value) { SetNodeRole(value); return *this;} /** *The private IP address of the node.
*/ inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; } /** *The private IP address of the node.
*/ inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; } /** *The private IP address of the node.
*/ inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; } /** *The private IP address of the node.
*/ inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); } /** *The private IP address of the node.
*/ inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); } /** *The private IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;} /** *The private IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;} /** *The private IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;} /** *The public IP address of the node.
*/ inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; } /** *The public IP address of the node.
*/ inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; } /** *The public IP address of the node.
*/ inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; } /** *The public IP address of the node.
*/ inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); } /** *The public IP address of the node.
*/ inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); } /** *The public IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPublicIpAddress(const Aws::String& value) { SetPublicIpAddress(value); return *this;} /** *The public IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;} /** *The public IP address of the node.
*/ inline AwsRedshiftClusterClusterNode& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;} private: Aws::String m_nodeRole; bool m_nodeRoleHasBeenSet = false; Aws::String m_privateIpAddress; bool m_privateIpAddressHasBeenSet = false; Aws::String m_publicIpAddress; bool m_publicIpAddressHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws