/** * 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 Glue { namespace Model { /** */ class ListSchemaVersionsRequest : public GlueRequest { public: AWS_GLUE_API ListSchemaVersionsRequest(); // 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 "ListSchemaVersions"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

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

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

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

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

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

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

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

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

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

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. Either SchemaArn or SchemaName and * RegistryName has to be provided.

  • *

    SchemaId$SchemaName: The name of the schema. Either SchemaArn or * SchemaName and RegistryName has to be provided.

    *
*/ inline ListSchemaVersionsRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(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 ListSchemaVersionsRequest& 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 ListSchemaVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A continuation token, if this is a continuation call.

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

A continuation token, if this is a continuation call.

*/ inline ListSchemaVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: SchemaId m_schemaId; bool m_schemaIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws