/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A node instance.See Also:
AWS
* API Reference
The instance's current status.
*/ inline const NodeInstanceStatus& GetCurrentStatus() const{ return m_currentStatus; } /** *The instance's current status.
*/ inline bool CurrentStatusHasBeenSet() const { return m_currentStatusHasBeenSet; } /** *The instance's current status.
*/ inline void SetCurrentStatus(const NodeInstanceStatus& value) { m_currentStatusHasBeenSet = true; m_currentStatus = value; } /** *The instance's current status.
*/ inline void SetCurrentStatus(NodeInstanceStatus&& value) { m_currentStatusHasBeenSet = true; m_currentStatus = std::move(value); } /** *The instance's current status.
*/ inline NodeInstance& WithCurrentStatus(const NodeInstanceStatus& value) { SetCurrentStatus(value); return *this;} /** *The instance's current status.
*/ inline NodeInstance& WithCurrentStatus(NodeInstanceStatus&& value) { SetCurrentStatus(std::move(value)); return *this;} /** *The node's ID.
*/ inline const Aws::String& GetNodeId() const{ return m_nodeId; } /** *The node's ID.
*/ inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; } /** *The node's ID.
*/ inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; } /** *The node's ID.
*/ inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); } /** *The node's ID.
*/ inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); } /** *The node's ID.
*/ inline NodeInstance& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;} /** *The node's ID.
*/ inline NodeInstance& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;} /** *The node's ID.
*/ inline NodeInstance& WithNodeId(const char* value) { SetNodeId(value); return *this;} /** *The instance's ID.
*/ inline const Aws::String& GetNodeInstanceId() const{ return m_nodeInstanceId; } /** *The instance's ID.
*/ inline bool NodeInstanceIdHasBeenSet() const { return m_nodeInstanceIdHasBeenSet; } /** *The instance's ID.
*/ inline void SetNodeInstanceId(const Aws::String& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = value; } /** *The instance's ID.
*/ inline void SetNodeInstanceId(Aws::String&& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = std::move(value); } /** *The instance's ID.
*/ inline void SetNodeInstanceId(const char* value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId.assign(value); } /** *The instance's ID.
*/ inline NodeInstance& WithNodeInstanceId(const Aws::String& value) { SetNodeInstanceId(value); return *this;} /** *The instance's ID.
*/ inline NodeInstance& WithNodeInstanceId(Aws::String&& value) { SetNodeInstanceId(std::move(value)); return *this;} /** *The instance's ID.
*/ inline NodeInstance& WithNodeInstanceId(const char* value) { SetNodeInstanceId(value); return *this;} /** *The instance's name.
*/ inline const Aws::String& GetNodeName() const{ return m_nodeName; } /** *The instance's name.
*/ inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; } /** *The instance's name.
*/ inline void SetNodeName(const Aws::String& value) { m_nodeNameHasBeenSet = true; m_nodeName = value; } /** *The instance's name.
*/ inline void SetNodeName(Aws::String&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::move(value); } /** *The instance's name.
*/ inline void SetNodeName(const char* value) { m_nodeNameHasBeenSet = true; m_nodeName.assign(value); } /** *The instance's name.
*/ inline NodeInstance& WithNodeName(const Aws::String& value) { SetNodeName(value); return *this;} /** *The instance's name.
*/ inline NodeInstance& WithNodeName(Aws::String&& value) { SetNodeName(std::move(value)); return *this;} /** *The instance's name.
*/ inline NodeInstance& WithNodeName(const char* value) { SetNodeName(value); return *this;} /** *The instance's package name.
*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *The instance's package name.
*/ inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } /** *The instance's package name.
*/ inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; } /** *The instance's package name.
*/ inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); } /** *The instance's package name.
*/ inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); } /** *The instance's package name.
*/ inline NodeInstance& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *The instance's package name.
*/ inline NodeInstance& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *The instance's package name.
*/ inline NodeInstance& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *The instance's package patch version.
*/ inline const Aws::String& GetPackagePatchVersion() const{ return m_packagePatchVersion; } /** *The instance's package patch version.
*/ inline bool PackagePatchVersionHasBeenSet() const { return m_packagePatchVersionHasBeenSet; } /** *The instance's package patch version.
*/ inline void SetPackagePatchVersion(const Aws::String& value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion = value; } /** *The instance's package patch version.
*/ inline void SetPackagePatchVersion(Aws::String&& value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion = std::move(value); } /** *The instance's package patch version.
*/ inline void SetPackagePatchVersion(const char* value) { m_packagePatchVersionHasBeenSet = true; m_packagePatchVersion.assign(value); } /** *The instance's package patch version.
*/ inline NodeInstance& WithPackagePatchVersion(const Aws::String& value) { SetPackagePatchVersion(value); return *this;} /** *The instance's package patch version.
*/ inline NodeInstance& WithPackagePatchVersion(Aws::String&& value) { SetPackagePatchVersion(std::move(value)); return *this;} /** *The instance's package patch version.
*/ inline NodeInstance& WithPackagePatchVersion(const char* value) { SetPackagePatchVersion(value); return *this;} /** *The instance's package version.
*/ inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; } /** *The instance's package version.
*/ inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; } /** *The instance's package version.
*/ inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; } /** *The instance's package version.
*/ inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); } /** *The instance's package version.
*/ inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); } /** *The instance's package version.
*/ inline NodeInstance& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;} /** *The instance's package version.
*/ inline NodeInstance& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;} /** *The instance's package version.
*/ inline NodeInstance& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;} private: NodeInstanceStatus m_currentStatus; bool m_currentStatusHasBeenSet = false; Aws::String m_nodeId; bool m_nodeIdHasBeenSet = false; Aws::String m_nodeInstanceId; bool m_nodeInstanceIdHasBeenSet = false; Aws::String m_nodeName; bool m_nodeNameHasBeenSet = false; Aws::String m_packageName; bool m_packageNameHasBeenSet = false; Aws::String m_packagePatchVersion; bool m_packagePatchVersionHasBeenSet = false; Aws::String m_packageVersion; bool m_packageVersionHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws