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

A structure containing metadata information for a schema * version.

See Also:

AWS * API Reference

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

The metadata key’s corresponding value.

*/ inline const Aws::String& GetMetadataValue() const{ return m_metadataValue; } /** *

The metadata key’s corresponding value.

*/ inline bool MetadataValueHasBeenSet() const { return m_metadataValueHasBeenSet; } /** *

The metadata key’s corresponding value.

*/ inline void SetMetadataValue(const Aws::String& value) { m_metadataValueHasBeenSet = true; m_metadataValue = value; } /** *

The metadata key’s corresponding value.

*/ inline void SetMetadataValue(Aws::String&& value) { m_metadataValueHasBeenSet = true; m_metadataValue = std::move(value); } /** *

The metadata key’s corresponding value.

*/ inline void SetMetadataValue(const char* value) { m_metadataValueHasBeenSet = true; m_metadataValue.assign(value); } /** *

The metadata key’s corresponding value.

*/ inline MetadataInfo& WithMetadataValue(const Aws::String& value) { SetMetadataValue(value); return *this;} /** *

The metadata key’s corresponding value.

*/ inline MetadataInfo& WithMetadataValue(Aws::String&& value) { SetMetadataValue(std::move(value)); return *this;} /** *

The metadata key’s corresponding value.

*/ inline MetadataInfo& WithMetadataValue(const char* value) { SetMetadataValue(value); return *this;} /** *

The time at which the entry was created.

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

The time at which the entry was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The time at which the entry was created.

*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The time at which the entry was created.

*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The time at which the entry was created.

*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *

The time at which the entry was created.

*/ inline MetadataInfo& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *

The time at which the entry was created.

*/ inline MetadataInfo& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The time at which the entry was created.

*/ inline MetadataInfo& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *

Other metadata belonging to the same metadata key.

*/ inline const Aws::Vector& GetOtherMetadataValueList() const{ return m_otherMetadataValueList; } /** *

Other metadata belonging to the same metadata key.

*/ inline bool OtherMetadataValueListHasBeenSet() const { return m_otherMetadataValueListHasBeenSet; } /** *

Other metadata belonging to the same metadata key.

*/ inline void SetOtherMetadataValueList(const Aws::Vector& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList = value; } /** *

Other metadata belonging to the same metadata key.

*/ inline void SetOtherMetadataValueList(Aws::Vector&& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList = std::move(value); } /** *

Other metadata belonging to the same metadata key.

*/ inline MetadataInfo& WithOtherMetadataValueList(const Aws::Vector& value) { SetOtherMetadataValueList(value); return *this;} /** *

Other metadata belonging to the same metadata key.

*/ inline MetadataInfo& WithOtherMetadataValueList(Aws::Vector&& value) { SetOtherMetadataValueList(std::move(value)); return *this;} /** *

Other metadata belonging to the same metadata key.

*/ inline MetadataInfo& AddOtherMetadataValueList(const OtherMetadataValueListItem& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList.push_back(value); return *this; } /** *

Other metadata belonging to the same metadata key.

*/ inline MetadataInfo& AddOtherMetadataValueList(OtherMetadataValueListItem&& value) { m_otherMetadataValueListHasBeenSet = true; m_otherMetadataValueList.push_back(std::move(value)); return *this; } private: Aws::String m_metadataValue; bool m_metadataValueHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Vector m_otherMetadataValueList; bool m_otherMetadataValueListHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws