/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class PutSchemaVersionMetadataResult { public: AWS_GLUE_API PutSchemaVersionMetadataResult(); AWS_GLUE_API PutSchemaVersionMetadataResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API PutSchemaVersionMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

The Amazon Resource Name (ARN) for the schema.

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

The Amazon Resource Name (ARN) for the schema.

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

The Amazon Resource Name (ARN) for the schema.

*/ inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

The name for the schema.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name for the schema.

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

The name for the schema.

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

The name for the schema.

*/ inline void SetSchemaName(const char* value) { m_schemaName.assign(value); } /** *

The name for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name for the schema.

*/ inline PutSchemaVersionMetadataResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

The name for the registry.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name for the registry.

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

The name for the registry.

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

The name for the registry.

*/ inline void SetRegistryName(const char* value) { m_registryName.assign(value); } /** *

The name for the registry.

*/ inline PutSchemaVersionMetadataResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name for the registry.

*/ inline PutSchemaVersionMetadataResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name for the registry.

*/ inline PutSchemaVersionMetadataResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

The latest version of the schema.

*/ inline bool GetLatestVersion() const{ return m_latestVersion; } /** *

The latest version of the schema.

*/ inline void SetLatestVersion(bool value) { m_latestVersion = value; } /** *

The latest version of the schema.

*/ inline PutSchemaVersionMetadataResult& WithLatestVersion(bool value) { SetLatestVersion(value); return *this;} /** *

The version number of the schema.

*/ inline long long GetVersionNumber() const{ return m_versionNumber; } /** *

The version number of the schema.

*/ inline void SetVersionNumber(long long value) { m_versionNumber = value; } /** *

The version number of the schema.

*/ inline PutSchemaVersionMetadataResult& WithVersionNumber(long long value) { SetVersionNumber(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 PutSchemaVersionMetadataResult& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;} /** *

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The metadata key.

*/ inline const Aws::String& GetMetadataKey() const{ return m_metadataKey; } /** *

The metadata key.

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

The metadata key.

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

The metadata key.

*/ inline void SetMetadataKey(const char* value) { m_metadataKey.assign(value); } /** *

The metadata key.

*/ inline PutSchemaVersionMetadataResult& WithMetadataKey(const Aws::String& value) { SetMetadataKey(value); return *this;} /** *

The metadata key.

*/ inline PutSchemaVersionMetadataResult& WithMetadataKey(Aws::String&& value) { SetMetadataKey(std::move(value)); return *this;} /** *

The metadata key.

*/ inline PutSchemaVersionMetadataResult& WithMetadataKey(const char* value) { SetMetadataKey(value); return *this;} /** *

The value of the metadata key.

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

The value of the metadata key.

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

The value of the metadata key.

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

The value of the metadata key.

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

The value of the metadata key.

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

The value of the metadata key.

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

The value of the metadata key.

*/ inline PutSchemaVersionMetadataResult& WithMetadataValue(const char* value) { SetMetadataValue(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 PutSchemaVersionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutSchemaVersionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutSchemaVersionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_schemaArn; Aws::String m_schemaName; Aws::String m_registryName; bool m_latestVersion; long long m_versionNumber; Aws::String m_schemaVersionId; Aws::String m_metadataKey; Aws::String m_metadataValue; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws