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

A structure that stores metadata for a kdb node.

See Also:

* AWS * API Reference

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

A unique identifier for the node.

*/ inline const Aws::String& GetNodeId() const{ return m_nodeId; } /** *

A unique identifier for the node.

*/ inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; } /** *

A unique identifier for the node.

*/ inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; } /** *

A unique identifier for the node.

*/ inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); } /** *

A unique identifier for the node.

*/ inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); } /** *

A unique identifier for the node.

*/ inline KxNode& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;} /** *

A unique identifier for the node.

*/ inline KxNode& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;} /** *

A unique identifier for the node.

*/ inline KxNode& WithNodeId(const char* value) { SetNodeId(value); return *this;} /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; } /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; } /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; } /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); } /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); } /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline KxNode& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;} /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline KxNode& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;} /** *

The identifier of the availability zones where subnets for the environment * are created.

*/ inline KxNode& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;} /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; } /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; } /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; } /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); } /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline KxNode& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;} /** *

The time when a particular node is started. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline KxNode& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;} private: Aws::String m_nodeId; bool m_nodeIdHasBeenSet = false; Aws::String m_availabilityZoneId; bool m_availabilityZoneIdHasBeenSet = false; Aws::Utils::DateTime m_launchTime; bool m_launchTimeHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws