/** * 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 { /** *

Lists network function instance metadata.

A network function instance * is a function in a function package .

See Also:

AWS * API Reference

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

When the network function instance was created.

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

When the network function instance was created.

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

When the network function instance was created.

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

When the network function instance was created.

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

When the network function instance was created.

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

When the network function instance was created.

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

When the network function instance was last modified.

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

When the network function instance was last modified.

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

When the network function instance was last modified.

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

When the network function instance was last modified.

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

When the network function instance was last modified.

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

When the network function instance was last modified.

*/ inline ListSolFunctionInstanceMetadata& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} private: Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastModified; bool m_lastModifiedHasBeenSet = false; }; } // namespace Model } // namespace tnb } // namespace Aws