/** * 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 tnb { namespace Model { /** *

Metadata related to the 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 GetSolFunctionPackageMetadata { public: AWS_TNB_API GetSolFunctionPackageMetadata(); AWS_TNB_API GetSolFunctionPackageMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API GetSolFunctionPackageMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The date that the resource was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date that the resource was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The date that the resource was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The date that the resource was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The date that the resource was created.

*/ inline GetSolFunctionPackageMetadata& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date that the resource was created.

*/ inline GetSolFunctionPackageMetadata& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The date that the resource was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *

The date that the resource was last modified.

*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *

The date that the resource was last modified.

*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *

The date that the resource was last modified.

*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *

The date that the resource was last modified.

*/ inline GetSolFunctionPackageMetadata& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *

The date that the resource was last modified.

*/ inline GetSolFunctionPackageMetadata& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *

Metadata related to the function package descriptor of the function * package.

*/ inline const FunctionArtifactMeta& GetVnfd() const{ return m_vnfd; } /** *

Metadata related to the function package descriptor of the function * package.

*/ inline bool VnfdHasBeenSet() const { return m_vnfdHasBeenSet; } /** *

Metadata related to the function package descriptor of the function * package.

*/ inline void SetVnfd(const FunctionArtifactMeta& value) { m_vnfdHasBeenSet = true; m_vnfd = value; } /** *

Metadata related to the function package descriptor of the function * package.

*/ inline void SetVnfd(FunctionArtifactMeta&& value) { m_vnfdHasBeenSet = true; m_vnfd = std::move(value); } /** *

Metadata related to the function package descriptor of the function * package.

*/ inline GetSolFunctionPackageMetadata& WithVnfd(const FunctionArtifactMeta& value) { SetVnfd(value); return *this;} /** *

Metadata related to the function package descriptor of the function * package.

*/ inline GetSolFunctionPackageMetadata& WithVnfd(FunctionArtifactMeta&& value) { SetVnfd(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastModified; bool m_lastModifiedHasBeenSet = false; FunctionArtifactMeta m_vnfd; bool m_vnfdHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws