/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class QuerySchemaVersionMetadataResult { public: AWS_GLUE_API QuerySchemaVersionMetadataResult(); AWS_GLUE_API QuerySchemaVersionMetadataResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API QuerySchemaVersionMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A map of a metadata key and associated values.

*/ inline const Aws::Map& GetMetadataInfoMap() const{ return m_metadataInfoMap; } /** *

A map of a metadata key and associated values.

*/ inline void SetMetadataInfoMap(const Aws::Map& value) { m_metadataInfoMap = value; } /** *

A map of a metadata key and associated values.

*/ inline void SetMetadataInfoMap(Aws::Map&& value) { m_metadataInfoMap = std::move(value); } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& WithMetadataInfoMap(const Aws::Map& value) { SetMetadataInfoMap(value); return *this;} /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& WithMetadataInfoMap(Aws::Map&& value) { SetMetadataInfoMap(std::move(value)); return *this;} /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const Aws::String& key, const MetadataInfo& value) { m_metadataInfoMap.emplace(key, value); return *this; } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(Aws::String&& key, const MetadataInfo& value) { m_metadataInfoMap.emplace(std::move(key), value); return *this; } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const Aws::String& key, MetadataInfo&& value) { m_metadataInfoMap.emplace(key, std::move(value)); return *this; } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(Aws::String&& key, MetadataInfo&& value) { m_metadataInfoMap.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const char* key, MetadataInfo&& value) { m_metadataInfoMap.emplace(key, std::move(value)); return *this; } /** *

A map of a metadata key and associated values.

*/ inline QuerySchemaVersionMetadataResult& AddMetadataInfoMap(const char* key, const MetadataInfo& value) { m_metadataInfoMap.emplace(key, value); return *this; } /** *

The unique version ID of the schema version.

*/ inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; } /** *

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

*/ inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); } /** *

The unique version ID of the schema version.

*/ inline QuerySchemaVersionMetadataResult& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;} /** *

The unique version ID of the schema version.

*/ inline QuerySchemaVersionMetadataResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;} /** *

The unique version ID of the schema version.

*/ inline QuerySchemaVersionMetadataResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;} /** *

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

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

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

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

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

*/ inline QuerySchemaVersionMetadataResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

*/ inline QuerySchemaVersionMetadataResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A continuation token for paginating the returned list of tokens, returned if * the current segment of the list is not the last.

*/ inline QuerySchemaVersionMetadataResult& WithNextToken(const char* value) { SetNextToken(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 QuerySchemaVersionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline QuerySchemaVersionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline QuerySchemaVersionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map m_metadataInfoMap; Aws::String m_schemaVersionId; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws