/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Panorama { namespace Model { class DescribeNodeResult { public: AWS_PANORAMA_API DescribeNodeResult(); AWS_PANORAMA_API DescribeNodeResult(const Aws::AmazonWebServiceResult& result); AWS_PANORAMA_API DescribeNodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The node's asset name.

*/ inline const Aws::String& GetAssetName() const{ return m_assetName; } /** *

The node's asset name.

*/ inline void SetAssetName(const Aws::String& value) { m_assetName = value; } /** *

The node's asset name.

*/ inline void SetAssetName(Aws::String&& value) { m_assetName = std::move(value); } /** *

The node's asset name.

*/ inline void SetAssetName(const char* value) { m_assetName.assign(value); } /** *

The node's asset name.

*/ inline DescribeNodeResult& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;} /** *

The node's asset name.

*/ inline DescribeNodeResult& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;} /** *

The node's asset name.

*/ inline DescribeNodeResult& WithAssetName(const char* value) { SetAssetName(value); return *this;} /** *

The node's category.

*/ inline const NodeCategory& GetCategory() const{ return m_category; } /** *

The node's category.

*/ inline void SetCategory(const NodeCategory& value) { m_category = value; } /** *

The node's category.

*/ inline void SetCategory(NodeCategory&& value) { m_category = std::move(value); } /** *

The node's category.

*/ inline DescribeNodeResult& WithCategory(const NodeCategory& value) { SetCategory(value); return *this;} /** *

The node's category.

*/ inline DescribeNodeResult& WithCategory(NodeCategory&& value) { SetCategory(std::move(value)); return *this;} /** *

When the node was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

When the node was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; } /** *

When the node was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); } /** *

When the node was created.

*/ inline DescribeNodeResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

When the node was created.

*/ inline DescribeNodeResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The node's description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The node's description.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The node's description.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The node's description.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The node's description.

*/ inline DescribeNodeResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The node's description.

*/ inline DescribeNodeResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The node's description.

*/ inline DescribeNodeResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

When the node was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

When the node was updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

When the node was updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); } /** *

When the node was updated.

*/ inline DescribeNodeResult& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

When the node was updated.

*/ inline DescribeNodeResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The node's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The node's name.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The node's name.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The node's name.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The node's name.

*/ inline DescribeNodeResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The node's name.

*/ inline DescribeNodeResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The node's name.

*/ inline DescribeNodeResult& WithName(const char* value) { SetName(value); return *this;} /** *

The node's ID.

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

The node's ID.

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

The node's ID.

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

The node's ID.

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

The node's ID.

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

The node's ID.

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

The node's ID.

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

The node's interface.

*/ inline const NodeInterface& GetNodeInterface() const{ return m_nodeInterface; } /** *

The node's interface.

*/ inline void SetNodeInterface(const NodeInterface& value) { m_nodeInterface = value; } /** *

The node's interface.

*/ inline void SetNodeInterface(NodeInterface&& value) { m_nodeInterface = std::move(value); } /** *

The node's interface.

*/ inline DescribeNodeResult& WithNodeInterface(const NodeInterface& value) { SetNodeInterface(value); return *this;} /** *

The node's interface.

*/ inline DescribeNodeResult& WithNodeInterface(NodeInterface&& value) { SetNodeInterface(std::move(value)); return *this;} /** *

The account ID of the node's owner.

*/ inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; } /** *

The account ID of the node's owner.

*/ inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; } /** *

The account ID of the node's owner.

*/ inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); } /** *

The account ID of the node's owner.

*/ inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); } /** *

The account ID of the node's owner.

*/ inline DescribeNodeResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;} /** *

The account ID of the node's owner.

*/ inline DescribeNodeResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;} /** *

The account ID of the node's owner.

*/ inline DescribeNodeResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;} /** *

The node's ARN.

*/ inline const Aws::String& GetPackageArn() const{ return m_packageArn; } /** *

The node's ARN.

*/ inline void SetPackageArn(const Aws::String& value) { m_packageArn = value; } /** *

The node's ARN.

*/ inline void SetPackageArn(Aws::String&& value) { m_packageArn = std::move(value); } /** *

The node's ARN.

*/ inline void SetPackageArn(const char* value) { m_packageArn.assign(value); } /** *

The node's ARN.

*/ inline DescribeNodeResult& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;} /** *

The node's ARN.

*/ inline DescribeNodeResult& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;} /** *

The node's ARN.

*/ inline DescribeNodeResult& WithPackageArn(const char* value) { SetPackageArn(value); return *this;} /** *

The node's package ID.

*/ inline const Aws::String& GetPackageId() const{ return m_packageId; } /** *

The node's package ID.

*/ inline void SetPackageId(const Aws::String& value) { m_packageId = value; } /** *

The node's package ID.

*/ inline void SetPackageId(Aws::String&& value) { m_packageId = std::move(value); } /** *

The node's package ID.

*/ inline void SetPackageId(const char* value) { m_packageId.assign(value); } /** *

The node's package ID.

*/ inline DescribeNodeResult& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;} /** *

The node's package ID.

*/ inline DescribeNodeResult& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;} /** *

The node's package ID.

*/ inline DescribeNodeResult& WithPackageId(const char* value) { SetPackageId(value); return *this;} /** *

The node's package name.

*/ inline const Aws::String& GetPackageName() const{ return m_packageName; } /** *

The node's package name.

*/ inline void SetPackageName(const Aws::String& value) { m_packageName = value; } /** *

The node's package name.

*/ inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); } /** *

The node's package name.

*/ inline void SetPackageName(const char* value) { m_packageName.assign(value); } /** *

The node's package name.

*/ inline DescribeNodeResult& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;} /** *

The node's package name.

*/ inline DescribeNodeResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;} /** *

The node's package name.

*/ inline DescribeNodeResult& WithPackageName(const char* value) { SetPackageName(value); return *this;} /** *

The node's package version.

*/ inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; } /** *

The node's package version.

*/ inline void SetPackageVersion(const Aws::String& value) { m_packageVersion = value; } /** *

The node's package version.

*/ inline void SetPackageVersion(Aws::String&& value) { m_packageVersion = std::move(value); } /** *

The node's package version.

*/ inline void SetPackageVersion(const char* value) { m_packageVersion.assign(value); } /** *

The node's package version.

*/ inline DescribeNodeResult& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;} /** *

The node's package version.

*/ inline DescribeNodeResult& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;} /** *

The node's package version.

*/ inline DescribeNodeResult& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;} /** *

The node's patch version.

*/ inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; } /** *

The node's patch version.

*/ inline void SetPatchVersion(const Aws::String& value) { m_patchVersion = value; } /** *

The node's patch version.

*/ inline void SetPatchVersion(Aws::String&& value) { m_patchVersion = std::move(value); } /** *

The node's patch version.

*/ inline void SetPatchVersion(const char* value) { m_patchVersion.assign(value); } /** *

The node's patch version.

*/ inline DescribeNodeResult& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;} /** *

The node's patch version.

*/ inline DescribeNodeResult& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;} /** *

The node's patch version.

*/ inline DescribeNodeResult& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeNodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeNodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeNodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_assetName; NodeCategory m_category; Aws::Utils::DateTime m_createdTime; Aws::String m_description; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_name; Aws::String m_nodeId; NodeInterface m_nodeInterface; Aws::String m_ownerAccount; Aws::String m_packageArn; Aws::String m_packageId; Aws::String m_packageName; Aws::String m_packageVersion; Aws::String m_patchVersion; Aws::String m_requestId; }; } // namespace Model } // namespace Panorama } // namespace Aws