/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class RemoveSchemaVersionMetadataRequest : public GlueRequest { public: AWS_GLUE_API RemoveSchemaVersionMetadataRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "RemoveSchemaVersionMetadata"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline const SchemaId& GetSchemaId() const{ return m_schemaId; } /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; } /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; } /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); } /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline RemoveSchemaVersionMetadataRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;} /** *

A wrapper structure that may contain the schema name and Amazon Resource Name * (ARN).

*/ inline RemoveSchemaVersionMetadataRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;} /** *

The version number of the schema.

*/ inline const SchemaVersionNumber& GetSchemaVersionNumber() const{ return m_schemaVersionNumber; } /** *

The version number of the schema.

*/ inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; } /** *

The version number of the schema.

*/ inline void SetSchemaVersionNumber(const SchemaVersionNumber& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; } /** *

The version number of the schema.

*/ inline void SetSchemaVersionNumber(SchemaVersionNumber&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::move(value); } /** *

The version number of the schema.

*/ inline RemoveSchemaVersionMetadataRequest& WithSchemaVersionNumber(const SchemaVersionNumber& value) { SetSchemaVersionNumber(value); return *this;} /** *

The version number of the schema.

*/ inline RemoveSchemaVersionMetadataRequest& WithSchemaVersionNumber(SchemaVersionNumber&& value) { SetSchemaVersionNumber(std::move(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 bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; } /** *

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

The value of the metadata key.

*/ inline const MetadataKeyValuePair& GetMetadataKeyValue() const{ return m_metadataKeyValue; } /** *

The value of the metadata key.

*/ inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; } /** *

The value of the metadata key.

*/ inline void SetMetadataKeyValue(const MetadataKeyValuePair& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = value; } /** *

The value of the metadata key.

*/ inline void SetMetadataKeyValue(MetadataKeyValuePair&& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = std::move(value); } /** *

The value of the metadata key.

*/ inline RemoveSchemaVersionMetadataRequest& WithMetadataKeyValue(const MetadataKeyValuePair& value) { SetMetadataKeyValue(value); return *this;} /** *

The value of the metadata key.

*/ inline RemoveSchemaVersionMetadataRequest& WithMetadataKeyValue(MetadataKeyValuePair&& value) { SetMetadataKeyValue(std::move(value)); return *this;} private: SchemaId m_schemaId; bool m_schemaIdHasBeenSet = false; SchemaVersionNumber m_schemaVersionNumber; bool m_schemaVersionNumberHasBeenSet = false; Aws::String m_schemaVersionId; bool m_schemaVersionIdHasBeenSet = false; MetadataKeyValuePair m_metadataKeyValue; bool m_metadataKeyValueHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws