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

Update metadata in a function package.

A function package is a .zip * file in CSAR (Cloud Service Archive) format that contains a network function (an * ETSI standard telecommunication application) and function package descriptor * that uses the TOSCA standard to describe how the network functions should run on * your network.

See Also:

AWS * API Reference

*/ class PutSolFunctionPackageContentMetadata { public: AWS_TNB_API PutSolFunctionPackageContentMetadata(); AWS_TNB_API PutSolFunctionPackageContentMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API PutSolFunctionPackageContentMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const; inline const FunctionArtifactMeta& GetVnfd() const{ return m_vnfd; } inline bool VnfdHasBeenSet() const { return m_vnfdHasBeenSet; } inline void SetVnfd(const FunctionArtifactMeta& value) { m_vnfdHasBeenSet = true; m_vnfd = value; } inline void SetVnfd(FunctionArtifactMeta&& value) { m_vnfdHasBeenSet = true; m_vnfd = std::move(value); } inline PutSolFunctionPackageContentMetadata& WithVnfd(const FunctionArtifactMeta& value) { SetVnfd(value); return *this;} inline PutSolFunctionPackageContentMetadata& WithVnfd(FunctionArtifactMeta&& value) { SetVnfd(std::move(value)); return *this;} private: FunctionArtifactMeta m_vnfd; bool m_vnfdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws