/** * 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 #include namespace Aws { namespace Glue { namespace Model { /** */ class QuerySchemaVersionMetadataRequest : public GlueRequest { public: AWS_GLUE_API QuerySchemaVersionMetadataRequest(); // 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 "QuerySchemaVersionMetadata"; } 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 QuerySchemaVersionMetadataRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;} /** *

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

*/ inline QuerySchemaVersionMetadataRequest& 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 QuerySchemaVersionMetadataRequest& WithSchemaVersionNumber(const SchemaVersionNumber& value) { SetSchemaVersionNumber(value); return *this;} /** *

The version number of the schema.

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

The unique version ID of the schema version.

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

The unique version ID of the schema version.

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

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline const Aws::Vector& GetMetadataList() const{ return m_metadataList; } /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline bool MetadataListHasBeenSet() const { return m_metadataListHasBeenSet; } /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline void SetMetadataList(const Aws::Vector& value) { m_metadataListHasBeenSet = true; m_metadataList = value; } /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline void SetMetadataList(Aws::Vector&& value) { m_metadataListHasBeenSet = true; m_metadataList = std::move(value); } /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline QuerySchemaVersionMetadataRequest& WithMetadataList(const Aws::Vector& value) { SetMetadataList(value); return *this;} /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline QuerySchemaVersionMetadataRequest& WithMetadataList(Aws::Vector&& value) { SetMetadataList(std::move(value)); return *this;} /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline QuerySchemaVersionMetadataRequest& AddMetadataList(const MetadataKeyValuePair& value) { m_metadataListHasBeenSet = true; m_metadataList.push_back(value); return *this; } /** *

Search key-value pairs for metadata, if they are not provided all the * metadata information will be fetched.

*/ inline QuerySchemaVersionMetadataRequest& AddMetadataList(MetadataKeyValuePair&& value) { m_metadataListHasBeenSet = true; m_metadataList.push_back(std::move(value)); return *this; } /** *

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Maximum number of results required per page. If the value is not supplied, * this will be defaulted to 25 per page.

*/ inline QuerySchemaVersionMetadataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

*/ inline QuerySchemaVersionMetadataRequest& WithNextToken(const char* value) { SetNextToken(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; Aws::Vector m_metadataList; bool m_metadataListHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws